Skip to content

Commit

Permalink
deps: ini@4.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed May 29, 2024
1 parent e4c7a41 commit 6278fe4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
4 changes: 3 additions & 1 deletion node_modules/ini/lib/ini.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ const decode = (str, opt = {}) => {
duplicates[keyRaw] = (duplicates?.[keyRaw] || 0) + 1
isArray = duplicates[keyRaw] > 1
}
const key = isArray ? keyRaw.slice(0, -2) : keyRaw
const key = isArray && keyRaw.endsWith('[]')
? keyRaw.slice(0, -2) : keyRaw

if (key === '__proto__') {
continue
}
Expand Down
8 changes: 4 additions & 4 deletions node_modules/ini/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"author": "GitHub Inc.",
"name": "ini",
"description": "An ini encoder/decoder for node",
"version": "4.1.2",
"version": "4.1.3",
"repository": {
"type": "git",
"url": "https://github.com/npm/ini.git"
"url": "git+https://github.com/npm/ini.git"
},
"main": "lib/ini.js",
"scripts": {
Expand All @@ -20,7 +20,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.21.3",
"@npmcli/template-oss": "4.22.0",
"tap": "^16.0.1"
},
"license": "ISC",
Expand All @@ -33,7 +33,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.21.3",
"version": "4.22.0",
"publish": "true"
},
"tap": {
Expand Down
9 changes: 5 additions & 4 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"glob": "^10.3.15",
"graceful-fs": "^4.2.11",
"hosted-git-info": "^7.0.2",
"ini": "^4.1.2",
"ini": "^4.1.3",
"init-package-json": "^6.0.3",
"is-cidr": "^5.0.5",
"json-parse-even-better-errors": "^3.0.2",
Expand Down Expand Up @@ -6090,10 +6090,11 @@
"dev": true
},
"node_modules/ini": {
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.2.tgz",
"integrity": "sha512-AMB1mvwR1pyBFY/nSevUX6y8nJWS63/SzUKD3JyQn97s4xgIdgQPT75IRouIiBAN4yLQBUShNYVW0+UG25daCw==",
"version": "4.1.3",
"resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz",
"integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==",
"inBundle": true,
"license": "ISC",
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"glob": "^10.3.15",
"graceful-fs": "^4.2.11",
"hosted-git-info": "^7.0.2",
"ini": "^4.1.2",
"ini": "^4.1.3",
"init-package-json": "^6.0.3",
"is-cidr": "^5.0.5",
"json-parse-even-better-errors": "^3.0.2",
Expand Down

0 comments on commit 6278fe4

Please sign in to comment.