From 7be23bdf005e15b85527a3b2e6247ad0cc042544 Mon Sep 17 00:00:00 2001 From: Liran Tal Date: Fri, 14 Jun 2024 11:30:55 +0200 Subject: [PATCH] fix: update cosmiconfig dep version Signed-off-by: Liran Tal --- package-lock.json | 64 ++++++++++++++++++++++++++--- packages/lockfile-lint/package.json | 2 +- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5728165..8a1f93c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5686,6 +5686,7 @@ "version": "8.2.0", "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.2.0.tgz", "integrity": "sha512-3rTMnFJA1tCOPwRxtgF4wd7Ab2qvDbL8jX+3smjIbS4HlZBagTlpERbdN7iAbWlrfxE3M8c27kTwTawQ7st+OQ==", + "dev": true, "dependencies": { "import-fresh": "^3.2.1", "js-yaml": "^4.1.0", @@ -5717,12 +5718,14 @@ "node_modules/cosmiconfig/node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "node_modules/cosmiconfig/node_modules/js-yaml": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, "dependencies": { "argparse": "^2.0.1" }, @@ -7242,6 +7245,14 @@ "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", "dev": true }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "engines": { + "node": ">=6" + } + }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -18857,7 +18868,7 @@ "version": "5.1.6", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", - "dev": true, + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -19747,13 +19758,13 @@ } }, "packages/lockfile-lint": { - "version": "4.12.0", + "version": "4.13.2", "license": "Apache-2.0", "dependencies": { - "cosmiconfig": "^8.2.0", + "cosmiconfig": "^9.0.0", "debug": "^4.3.4", "fast-glob": "^3.3.1", - "lockfile-lint-api": "^5.8.0", + "lockfile-lint-api": "^5.9.1", "yargs": "^17.7.2" }, "bin": { @@ -19785,7 +19796,7 @@ } }, "packages/lockfile-lint-api": { - "version": "5.8.0", + "version": "5.9.1", "license": "Apache-2.0", "dependencies": { "@yarnpkg/parsers": "^3.0.0-rc.48.1", @@ -19815,6 +19826,47 @@ "engines": { "node": ">=16.0.0" } + }, + "packages/lockfile-lint/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "packages/lockfile-lint/node_modules/cosmiconfig": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.0.tgz", + "integrity": "sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==", + "dependencies": { + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "packages/lockfile-lint/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } } } } diff --git a/packages/lockfile-lint/package.json b/packages/lockfile-lint/package.json index fb783bf..6ddd679 100644 --- a/packages/lockfile-lint/package.json +++ b/packages/lockfile-lint/package.json @@ -52,7 +52,7 @@ "directory": "packages/lockfile-lint" }, "dependencies": { - "cosmiconfig": "^8.2.0", + "cosmiconfig": "^9.0.0", "debug": "^4.3.4", "fast-glob": "^3.3.1", "lockfile-lint-api": "^5.9.1",