From d2055ada72b688aa86489766bb21c4fa1cedfb8d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 5 Nov 2023 21:07:04 +0530 Subject: [PATCH] chore(deps): update all non-major dependencies (#190) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Parbez --- .github/workflows/continuous-integration.yml | 2 +- package.json | 4 +- src/lib/plugin.ts | 6 +- yarn.lock | 104 +++++++++---------- 4 files changed, 57 insertions(+), 59 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 9755311..1051623 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [14, 16, 18, 20] + node: [18, 20, 21] steps: - name: Checkout Project uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 diff --git a/package.json b/package.json index c63b255..9140cd9 100644 --- a/package.json +++ b/package.json @@ -38,11 +38,11 @@ "devDependencies": { "@commitlint/cli": "^18.2.0", "@commitlint/config-conventional": "^18.1.0", - "@favware/cliff-jumper": "^2.2.0", + "@favware/cliff-jumper": "^2.2.1", "@favware/npm-deprecate": "^1.0.7", "cz-conventional-changelog": "^3.3.0", "esbuild": "^0.19.5", - "eslint": "^8.52.0", + "eslint": "^8.53.0", "eslint-config-mahir": "^0.0.35", "husky": "^8.0.3", "lint-staged": "^15.0.2", diff --git a/src/lib/plugin.ts b/src/lib/plugin.ts index fbb9e05..6c55d6c 100644 --- a/src/lib/plugin.ts +++ b/src/lib/plugin.ts @@ -26,7 +26,7 @@ export interface NodePolyfillsOptions { Buffer?: boolean; process?: boolean; }; - modules?: string[] | Record; + modules?: Record | string[]; name?: string; namespace?: string; } @@ -175,9 +175,7 @@ export const nodeModulesPolyfillPlugin = (options: NodePolyfillsOptions = {}): P if (initialOptions.platform === 'browser') { const packageJson = await loadPackageJSON(args.resolveDir); const browserFieldValue = packageJson?.browser as unknown as - | string - | Record - | undefined; + Record | string | undefined; if (typeof browserFieldValue === 'string') return; const browserFieldValueForModule = browserFieldValue?.[args.path]; diff --git a/yarn.lock b/yarn.lock index 4d56bcc..3479ed7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -571,9 +571,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.2": - version: 2.1.2 - resolution: "@eslint/eslintrc@npm:2.1.2" +"@eslint/eslintrc@npm:^2.1.3": + version: 2.1.3 + resolution: "@eslint/eslintrc@npm:2.1.3" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" @@ -584,34 +584,34 @@ __metadata: js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: fa25638f2666cac6810f98ee7d0f4b912f191806467c1b40d72bac759fffef0b3357f12a1869817286837b258e4de3517e0c7408520e156ca860fc53a1fbaed9 + checksum: 77b70a89232fe702c2f765b5b92970f5e4224b55363b923238b996c66fcd991504f40d3663c0543ae17d6c5049ab9b07ab90b65d7601e6f25e8bcd4caf69ac75 languageName: node linkType: hard -"@eslint/js@npm:8.52.0": - version: 8.52.0 - resolution: "@eslint/js@npm:8.52.0" - checksum: 86beff213d0ae4ced203a922b74e2cc4d767d109e7815f985bf648946ba072198977102e32afc9fa04f7825a6de83a831874f6b6675ba0c1d0743ade2dc2d53d +"@eslint/js@npm:8.53.0": + version: 8.53.0 + resolution: "@eslint/js@npm:8.53.0" + checksum: a372d55aa2bbe0d9399acc8de3c892dcfe507fd914d29fde6826ae54a13452619be626aa7eb70b1ec4d4da5302b6ed8e8ac9bf1f830003f15c0ad56c30b4f520 languageName: node linkType: hard -"@favware/cliff-jumper@npm:^2.2.0": - version: 2.2.0 - resolution: "@favware/cliff-jumper@npm:2.2.0" +"@favware/cliff-jumper@npm:^2.2.1": + version: 2.2.1 + resolution: "@favware/cliff-jumper@npm:2.2.1" dependencies: "@sapphire/result": "npm:^2.6.4" "@sapphire/utilities": "npm:3.13.0" colorette: "npm:^2.0.20" - commander: "npm:^11.0.0" + commander: "npm:^11.1.0" compare-func: "npm:^2.0.0" conventional-recommended-bump: "npm:^9.0.0" - git-cliff: "npm:~1.3.0" + git-cliff: "npm:^1.4.0" js-yaml: "npm:^4.1.0" semver: "npm:^7.5.4" bin: cj: ./dist/cli.js cliff-jumper: ./dist/cli.js - checksum: 6ff9681bd0e10fd712b0a972881f188553315396f6fb1128dc0debcf2d52b3b8f440793774af3803c7443d6a45e59fef682d76c996bb0268187467cbef0e3a87 + checksum: 70d361236ec3cffa6afa0f49a73f49383a5107f091505ec29e835e885e8e73ef8b1b4905a191931cc9624573aaf613efea25169356f61b8efa5ac325fac291af languageName: node linkType: hard @@ -1828,7 +1828,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:11.1.0, commander@npm:^11.0.0": +"commander@npm:11.1.0, commander@npm:^11.1.0": version: 11.1.0 resolution: "commander@npm:11.1.0" checksum: 66bd2d8a0547f6cb1d34022efb25f348e433b0e04ad76a65279b1b09da108f59a4d3001ca539c60a7a46ea38bcf399fc17d91adad76a8cf43845d8dcbaf5cda1 @@ -2387,12 +2387,12 @@ __metadata: dependencies: "@commitlint/cli": "npm:^18.2.0" "@commitlint/config-conventional": "npm:^18.1.0" - "@favware/cliff-jumper": "npm:^2.2.0" + "@favware/cliff-jumper": "npm:^2.2.1" "@favware/npm-deprecate": "npm:^1.0.7" "@jspm/core": "npm:^2.0.1" cz-conventional-changelog: "npm:^3.3.0" esbuild: "npm:^0.19.5" - eslint: "npm:^8.52.0" + eslint: "npm:^8.53.0" eslint-config-mahir: "npm:^0.0.35" husky: "npm:^8.0.3" lint-staged: "npm:^15.0.2" @@ -2865,14 +2865,14 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.52.0": - version: 8.52.0 - resolution: "eslint@npm:8.52.0" +"eslint@npm:^8.52.0, eslint@npm:^8.53.0": + version: 8.53.0 + resolution: "eslint@npm:8.53.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" - "@eslint/eslintrc": "npm:^2.1.2" - "@eslint/js": "npm:8.52.0" + "@eslint/eslintrc": "npm:^2.1.3" + "@eslint/js": "npm:8.53.0" "@humanwhocodes/config-array": "npm:^0.11.13" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" @@ -2909,7 +2909,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 01784ab15351d749bc95446039ed7acd5124f7cc84acdbf98c7199272eae06212a8f3ea4a9b47e7cc54ab17ca094c3a664bbfc3002c7de27936220e278b5028a + checksum: e305a71ce2b9a8631b293266fe53e346c76f28bc8d004af33f10e537cf133db1fb87af3599376e70ed6e0f89a78be10c4f08ddd0c1c9c0c497cd143b4a270420 languageName: node linkType: hard @@ -3334,58 +3334,58 @@ __metadata: languageName: node linkType: hard -"git-cliff-darwin-arm64@npm:1.3.0": - version: 1.3.0 - resolution: "git-cliff-darwin-arm64@npm:1.3.0" +"git-cliff-darwin-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "git-cliff-darwin-arm64@npm:1.4.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"git-cliff-darwin-x64@npm:1.3.0": - version: 1.3.0 - resolution: "git-cliff-darwin-x64@npm:1.3.0" +"git-cliff-darwin-x64@npm:1.4.0": + version: 1.4.0 + resolution: "git-cliff-darwin-x64@npm:1.4.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"git-cliff-linux-arm64@npm:1.3.0": - version: 1.3.0 - resolution: "git-cliff-linux-arm64@npm:1.3.0" +"git-cliff-linux-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "git-cliff-linux-arm64@npm:1.4.0" conditions: os=linux & cpu=arm64 languageName: node linkType: hard -"git-cliff-linux-x64@npm:1.3.0": - version: 1.3.0 - resolution: "git-cliff-linux-x64@npm:1.3.0" +"git-cliff-linux-x64@npm:1.4.0": + version: 1.4.0 + resolution: "git-cliff-linux-x64@npm:1.4.0" conditions: os=linux & cpu=x64 languageName: node linkType: hard -"git-cliff-windows-arm64@npm:1.3.0": - version: 1.3.0 - resolution: "git-cliff-windows-arm64@npm:1.3.0" +"git-cliff-windows-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "git-cliff-windows-arm64@npm:1.4.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"git-cliff-windows-x64@npm:1.3.0": - version: 1.3.0 - resolution: "git-cliff-windows-x64@npm:1.3.0" +"git-cliff-windows-x64@npm:1.4.0": + version: 1.4.0 + resolution: "git-cliff-windows-x64@npm:1.4.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"git-cliff@npm:~1.3.0": - version: 1.3.0 - resolution: "git-cliff@npm:1.3.0" - dependencies: - git-cliff-darwin-arm64: "npm:1.3.0" - git-cliff-darwin-x64: "npm:1.3.0" - git-cliff-linux-arm64: "npm:1.3.0" - git-cliff-linux-x64: "npm:1.3.0" - git-cliff-windows-arm64: "npm:1.3.0" - git-cliff-windows-x64: "npm:1.3.0" +"git-cliff@npm:^1.4.0": + version: 1.4.0 + resolution: "git-cliff@npm:1.4.0" + dependencies: + git-cliff-darwin-arm64: "npm:1.4.0" + git-cliff-darwin-x64: "npm:1.4.0" + git-cliff-linux-arm64: "npm:1.4.0" + git-cliff-linux-x64: "npm:1.4.0" + git-cliff-windows-arm64: "npm:1.4.0" + git-cliff-windows-x64: "npm:1.4.0" dependenciesMeta: git-cliff-darwin-arm64: optional: true @@ -3401,7 +3401,7 @@ __metadata: optional: true bin: git-cliff: lib/index.js - checksum: 35f93d7b8082705f964f44045eda2390216c07bea642ff88da7c296a3ff5a7b028dc078035b6089278725e21d5772660bc9ef4fcbdbbe25938412feb78ed8bee + checksum: 54d1666f73e3b91ddac539482c4052537314492f637d373209e250e60de55e6c4c22a3a432cce5ab8611e5731c2c3f9e3f9715ef6a7235dd9ded90069f47fed8 languageName: node linkType: hard