File tree 4 files changed +13
-10
lines changed
4 files changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,9 @@ const decode = (str, opt = {}) => {
140
140
duplicates [ keyRaw ] = ( duplicates ?. [ keyRaw ] || 0 ) + 1
141
141
isArray = duplicates [ keyRaw ] > 1
142
142
}
143
- const key = isArray ? keyRaw . slice ( 0 , - 2 ) : keyRaw
143
+ const key = isArray && keyRaw . endsWith ( '[]' )
144
+ ? keyRaw . slice ( 0 , - 2 ) : keyRaw
145
+
144
146
if ( key === '__proto__' ) {
145
147
continue
146
148
}
Original file line number Diff line number Diff line change 2
2
"author" : " GitHub Inc." ,
3
3
"name" : " ini" ,
4
4
"description" : " An ini encoder/decoder for node" ,
5
- "version" : " 4.1.2 " ,
5
+ "version" : " 4.1.3 " ,
6
6
"repository" : {
7
7
"type" : " git" ,
8
- "url" : " https://github.com/npm/ini.git"
8
+ "url" : " git+ https://github.com/npm/ini.git"
9
9
},
10
10
"main" : " lib/ini.js" ,
11
11
"scripts" : {
20
20
},
21
21
"devDependencies" : {
22
22
"@npmcli/eslint-config" : " ^4.0.0" ,
23
- "@npmcli/template-oss" : " 4.21.3 " ,
23
+ "@npmcli/template-oss" : " 4.22.0 " ,
24
24
"tap" : " ^16.0.1"
25
25
},
26
26
"license" : " ISC" ,
33
33
},
34
34
"templateOSS" : {
35
35
"//@npmcli/template-oss" : " This file is partially managed by @npmcli/template-oss. Edits may be overwritten." ,
36
- "version" : " 4.21.3 " ,
36
+ "version" : " 4.22.0 " ,
37
37
"publish" : " true"
38
38
},
39
39
"tap" : {
Original file line number Diff line number Diff line change 107
107
"glob": "^10.3.15",
108
108
"graceful-fs": "^4.2.11",
109
109
"hosted-git-info": "^7.0.2",
110
- "ini": "^4.1.2 ",
110
+ "ini": "^4.1.3 ",
111
111
"init-package-json": "^6.0.3",
112
112
"is-cidr": "^5.0.5",
113
113
"json-parse-even-better-errors": "^3.0.2",
6090
6090
"dev": true
6091
6091
},
6092
6092
"node_modules/ini": {
6093
- "version": "4.1.2 ",
6094
- "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.2 .tgz",
6095
- "integrity": "sha512-AMB1mvwR1pyBFY/nSevUX6y8nJWS63/SzUKD3JyQn97s4xgIdgQPT75IRouIiBAN4yLQBUShNYVW0+UG25daCw ==",
6093
+ "version": "4.1.3 ",
6094
+ "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3 .tgz",
6095
+ "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg ==",
6096
6096
"inBundle": true,
6097
+ "license": "ISC",
6097
6098
"engines": {
6098
6099
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
6099
6100
}
Original file line number Diff line number Diff line change 72
72
"glob" : " ^10.3.15" ,
73
73
"graceful-fs" : " ^4.2.11" ,
74
74
"hosted-git-info" : " ^7.0.2" ,
75
- "ini" : " ^4.1.2 " ,
75
+ "ini" : " ^4.1.3 " ,
76
76
"init-package-json" : " ^6.0.3" ,
77
77
"is-cidr" : " ^5.0.5" ,
78
78
"json-parse-even-better-errors" : " ^3.0.2" ,
You can’t perform that action at this time.
0 commit comments