diff --git a/package-lock.json b/package-lock.json index 56eb064a..d133fbb0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "@actions/http-client": "^2.2.1", "@actions/io": "^1.0.2", "@actions/tool-cache": "^2.0.1", + "ini": "^5.0.0", "semver": "^7.6.0", "uuid": "^9.0.1" }, @@ -3513,6 +3514,14 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "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": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", diff --git a/package.json b/package.json index cbfb2ef9..e6b04b36 100644 --- a/package.json +++ b/package.json @@ -33,6 +33,7 @@ "@actions/http-client": "^2.2.1", "@actions/io": "^1.0.2", "@actions/tool-cache": "^2.0.1", + "ini": "^5.0.0", "semver": "^7.6.0", "uuid": "^9.0.1" }, diff --git a/src/ini.d.ts b/src/ini.d.ts new file mode 100644 index 00000000..896e846d --- /dev/null +++ b/src/ini.d.ts @@ -0,0 +1,3 @@ +declare module 'ini' { + function parse(ini: string): Record; +}