chore: bump dev dependencies (#346)

This commit is contained in:
Antoine du Hamel 2023-12-29 23:45:32 +01:00 committed by GitHub
parent 518bed8b7d
commit addf455f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 478 additions and 820 deletions

View File

@ -16,7 +16,7 @@
"./package.json": "./package.json" "./package.json": "./package.json"
}, },
"license": "MIT", "license": "MIT",
"packageManager": "yarn@4.0.0-rc.53+sha256.00e0111b9741a6b886c659a49b06d4ccb16e5d568bd1006c2d1f80bc48393c9b", "packageManager": "yarn@4.0.2+sha256.825003a0f561ad09a3b1ac4a3b3ea6207af2796d54f62a9420520915721f5186",
"devDependencies": { "devDependencies": {
"@babel/core": "^7.14.3", "@babel/core": "^7.14.3",
"@babel/plugin-transform-modules-commonjs": "^7.14.0", "@babel/plugin-transform-modules-commonjs": "^7.14.0",
@ -30,7 +30,7 @@
"@types/which": "^3.0.0", "@types/which": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^6.8.0", "@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0", "@typescript-eslint/parser": "^6.8.0",
"@yarnpkg/eslint-config": "^0.6.0-rc.7", "@yarnpkg/eslint-config": "^1.0.0",
"@yarnpkg/fslib": "^3.0.0-rc.48", "@yarnpkg/fslib": "^3.0.0-rc.48",
"@zkochan/cmd-shim": "^6.0.0", "@zkochan/cmd-shim": "^6.0.0",
"babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-dynamic-import-node": "^2.3.3",

View File

@ -85,7 +85,7 @@ export class Engine {
} }
if (typeof lastKnownGood === `object` && lastKnownGood !== null && if (typeof lastKnownGood === `object` && lastKnownGood !== null &&
Object.prototype.hasOwnProperty.call(lastKnownGood, packageManager)) { Object.hasOwn(lastKnownGood, packageManager)) {
const override = (lastKnownGood as any)[packageManager]; const override = (lastKnownGood as any)[packageManager];
if (typeof override === `string`) { if (typeof override === `string`) {
return override; return override;
@ -160,7 +160,7 @@ export class Engine {
const registry = corepackUtils.getRegistryFromPackageManagerSpec(packageManagerSpec); const registry = corepackUtils.getRegistryFromPackageManagerSpec(packageManagerSpec);
const tags = await corepackUtils.fetchAvailableTags(registry); const tags = await corepackUtils.fetchAvailableTags(registry);
if (!Object.prototype.hasOwnProperty.call(tags, descriptor.range)) if (!Object.hasOwn(tags, descriptor.range))
throw new UsageError(`Tag not found (${descriptor.range})`); throw new UsageError(`Tag not found (${descriptor.range})`);
finalDescriptor = { finalDescriptor = {

1290
yarn.lock

File diff suppressed because it is too large Load Diff