Install ini package for parsing INI files

pull/1149/head
Peter McEvoy 2024-10-20 12:39:07 -04:00
parent b3a9c64ba8
commit 477ffd47fc
3 changed files with 13 additions and 0 deletions

9
package-lock.json generated
View File

@ -17,6 +17,7 @@
"@actions/http-client": "^2.2.1", "@actions/http-client": "^2.2.1",
"@actions/io": "^1.0.2", "@actions/io": "^1.0.2",
"@actions/tool-cache": "^2.0.1", "@actions/tool-cache": "^2.0.1",
"ini": "^5.0.0",
"semver": "^7.6.0", "semver": "^7.6.0",
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },
@ -3513,6 +3514,14 @@
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true "dev": true
}, },
"node_modules/ini": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/ini/-/ini-5.0.0.tgz",
"integrity": "sha512-+N0ngpO3e7cRUWOJAS7qw0IZIVc6XPrW4MlFBdD066F2L4k1L6ker3hLqSq7iXxU5tgS4WGkIUElWn5vogAEnw==",
"engines": {
"node": "^18.17.0 || >=20.5.0"
}
},
"node_modules/is-arrayish": { "node_modules/is-arrayish": {
"version": "0.2.1", "version": "0.2.1",
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",

View File

@ -33,6 +33,7 @@
"@actions/http-client": "^2.2.1", "@actions/http-client": "^2.2.1",
"@actions/io": "^1.0.2", "@actions/io": "^1.0.2",
"@actions/tool-cache": "^2.0.1", "@actions/tool-cache": "^2.0.1",
"ini": "^5.0.0",
"semver": "^7.6.0", "semver": "^7.6.0",
"uuid": "^9.0.1" "uuid": "^9.0.1"
}, },

3
src/ini.d.ts vendored Normal file
View File

@ -0,0 +1,3 @@
declare module 'ini' {
function parse(ini: string): Record<string, string | object>;
}