Skip to content

Commit 39ad586

Browse files
committed
1 parent 5e0070c commit 39ad586

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

node_modules/ini/lib/ini.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ const encode = (obj, opt = {}) => {
88
opt.newline = opt.newline === true
99
opt.sort = opt.sort === true
1010
opt.whitespace = opt.whitespace === true || opt.align === true
11+
// The `typeof` check is required because accessing the `process` directly fails on browsers.
1112
/* istanbul ignore next */
12-
opt.platform = opt.platform || process?.platform
13+
opt.platform = opt.platform || (typeof process !== 'undefined' && process.platform)
1314
opt.bracketedArray = opt.bracketedArray !== false
1415

1516
/* istanbul ignore next */
@@ -172,8 +173,8 @@ const decode = (str, opt = {}) => {
172173
const remove = []
173174
for (const k of Object.keys(out)) {
174175
if (!hasOwnProperty.call(out, k) ||
175-
typeof out[k] !== 'object' ||
176-
Array.isArray(out[k])) {
176+
typeof out[k] !== 'object' ||
177+
Array.isArray(out[k])) {
177178
continue
178179
}
179180

node_modules/ini/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "GitHub Inc.",
33
"name": "ini",
44
"description": "An ini encoder/decoder for node",
5-
"version": "4.1.0",
5+
"version": "4.1.1",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/npm/ini.git"
@@ -20,7 +20,7 @@
2020
},
2121
"devDependencies": {
2222
"@npmcli/eslint-config": "^4.0.0",
23-
"@npmcli/template-oss": "4.13.0",
23+
"@npmcli/template-oss": "4.15.1",
2424
"tap": "^16.0.1"
2525
},
2626
"license": "ISC",
@@ -33,7 +33,7 @@
3333
},
3434
"templateOSS": {
3535
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
36-
"version": "4.13.0",
36+
"version": "4.15.1",
3737
"publish": "true"
3838
},
3939
"tap": {

package-lock.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"glob": "^10.2.7",
104104
"graceful-fs": "^4.2.11",
105105
"hosted-git-info": "^6.1.1",
106-
"ini": "^4.1.0",
106+
"ini": "^4.1.1",
107107
"init-package-json": "^5.0.0",
108108
"is-cidr": "^4.0.2",
109109
"json-parse-even-better-errors": "^3.0.0",
@@ -6569,9 +6569,9 @@
65696569
"inBundle": true
65706570
},
65716571
"node_modules/ini": {
6572-
"version": "4.1.0",
6573-
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.0.tgz",
6574-
"integrity": "sha512-HLR38RSF2iulAzc3I/sma4CoYxQP844rPYCNfzGDOHqa/YqVlwuuZgBx6M50/X8dKgzk0cm1qRg3+47mK2N+cQ==",
6572+
"version": "4.1.1",
6573+
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.1.tgz",
6574+
"integrity": "sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==",
65756575
"inBundle": true,
65766576
"engines": {
65776577
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"glob": "^10.2.7",
7171
"graceful-fs": "^4.2.11",
7272
"hosted-git-info": "^6.1.1",
73-
"ini": "^4.1.0",
73+
"ini": "^4.1.1",
7474
"init-package-json": "^5.0.0",
7575
"is-cidr": "^4.0.2",
7676
"json-parse-even-better-errors": "^3.0.0",

0 commit comments

Comments
 (0)