Skip to content

Commit

Permalink
chore: bump dev dependencies (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 authored Dec 29, 2023
1 parent 518bed8 commit addf455
Show file tree
Hide file tree
Showing 3 changed files with 476 additions and 818 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"./package.json": "./package.json"
},
"license": "MIT",
"packageManager": "[email protected].0-rc.53+sha256.00e0111b9741a6b886c659a49b06d4ccb16e5d568bd1006c2d1f80bc48393c9b",
"packageManager": "[email protected].2+sha256.825003a0f561ad09a3b1ac4a3b3ea6207af2796d54f62a9420520915721f5186",
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
Expand All @@ -30,7 +30,7 @@
"@types/which": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^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",
"@zkochan/cmd-shim": "^6.0.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
Expand Down
4 changes: 2 additions & 2 deletions sources/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class Engine {
}

if (typeof lastKnownGood === `object` && lastKnownGood !== null &&
Object.prototype.hasOwnProperty.call(lastKnownGood, packageManager)) {
Object.hasOwn(lastKnownGood, packageManager)) {
const override = (lastKnownGood as any)[packageManager];
if (typeof override === `string`) {
return override;
Expand Down Expand Up @@ -160,7 +160,7 @@ export class Engine {
const registry = corepackUtils.getRegistryFromPackageManagerSpec(packageManagerSpec);

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})`);

finalDescriptor = {
Expand Down
Loading

0 comments on commit addf455

Please sign in to comment.