Skip to content

Commit

Permalink
chore: fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 31, 2022
1 parent 5c08f4f commit 071f59a
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 48 deletions.
4 changes: 2 additions & 2 deletions packages/jest-environment-node/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ export default class NodeEnvironment implements JestEnvironment<Timer> {
Object.defineProperty(global, nodeGlobalsKey, {
configurable: false,
enumerable: descriptor.enumerable,
value: descriptor.value,
writable: descriptor.writable,
value: descriptor.value
});
} else {
Object.defineProperty(global, nodeGlobalsKey, {
configurable: false,
enumerable: descriptor.enumerable,
get: descriptor.get,
set: descriptor.set
set: descriptor.set,
});
}
}
Expand Down
100 changes: 54 additions & 46 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5085,14 +5085,15 @@ __metadata:
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^5.14.0":
version: 5.40.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.40.1"
version: 5.47.1
resolution: "@typescript-eslint/eslint-plugin@npm:5.47.1"
dependencies:
"@typescript-eslint/scope-manager": 5.40.1
"@typescript-eslint/type-utils": 5.40.1
"@typescript-eslint/utils": 5.40.1
"@typescript-eslint/scope-manager": 5.47.1
"@typescript-eslint/type-utils": 5.47.1
"@typescript-eslint/utils": 5.47.1
debug: ^4.3.4
ignore: ^5.2.0
natural-compare-lite: ^1.4.0
regexpp: ^3.2.0
semver: ^7.3.7
tsutils: ^3.21.0
Expand All @@ -5102,67 +5103,67 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: 61f19bde0f1206beb20aeb28d18c1ef26a98cf4d2ead9f1d2f204cb91af31582eb5ee9422fe5f92d6aa10cebf85cd50f1b41e8cf8ce65808e2208664c3b1d66a
checksum: 59fe719a8fbad14c37b8ce0dd292f6b8066bba370090f5e40eeab03033b97a12df1f1d0963c7070ac8cf4f7f319974fa6747e70932660055d222fa993c239b6a
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^5.14.0":
version: 5.40.1
resolution: "@typescript-eslint/parser@npm:5.40.1"
version: 5.47.1
resolution: "@typescript-eslint/parser@npm:5.47.1"
dependencies:
"@typescript-eslint/scope-manager": 5.40.1
"@typescript-eslint/types": 5.40.1
"@typescript-eslint/typescript-estree": 5.40.1
"@typescript-eslint/scope-manager": 5.47.1
"@typescript-eslint/types": 5.47.1
"@typescript-eslint/typescript-estree": 5.47.1
debug: ^4.3.4
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 9fe410c1b14934803bb7c26de9b8de5d46ef9b6fe5dcbee1d7e111f0259659c214549b60dacdc729a3e23da835e6a44f08a9aa6bcb73ffff3c4fd5b9142358ed
checksum: 36806686a2c5cc60558c09b13e885861aa21ec6250539d8d3d3c8abb90b321662e57dacec44915c87726a5a0d74187b58a65880a0613024eaeeb7ad0197a345d
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:5.40.1":
version: 5.40.1
resolution: "@typescript-eslint/scope-manager@npm:5.40.1"
"@typescript-eslint/scope-manager@npm:5.47.1":
version: 5.47.1
resolution: "@typescript-eslint/scope-manager@npm:5.47.1"
dependencies:
"@typescript-eslint/types": 5.40.1
"@typescript-eslint/visitor-keys": 5.40.1
checksum: 5f25b86bfd09fbf8cdfdf932eaf0b41a7594c9b4539d3c8321f882bf7b4bf486454256fdb9a5a8c4eae305419d377fa93d382f80004711d759ff77b3d565c1dc
"@typescript-eslint/types": 5.47.1
"@typescript-eslint/visitor-keys": 5.47.1
checksum: 73e2e2949b6e0122d89cfd44e1d24eda38d774899b834746700a4f1eb096effd1432c953f8be743a3ea3c7fc8fbf6e0882b11ee0f39b7ced6d8abf6a8665f1c8
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:5.40.1":
version: 5.40.1
resolution: "@typescript-eslint/type-utils@npm:5.40.1"
"@typescript-eslint/type-utils@npm:5.47.1":
version: 5.47.1
resolution: "@typescript-eslint/type-utils@npm:5.47.1"
dependencies:
"@typescript-eslint/typescript-estree": 5.40.1
"@typescript-eslint/utils": 5.40.1
"@typescript-eslint/typescript-estree": 5.47.1
"@typescript-eslint/utils": 5.47.1
debug: ^4.3.4
tsutils: ^3.21.0
peerDependencies:
eslint: "*"
peerDependenciesMeta:
typescript:
optional: true
checksum: 6771196b8f16f4893bae70aa1371ff004b0058e8edef9b935143e2f1272e471049e9c34beb1d625fb6423db95dd377e01e938b70dd4506fbf071566e2bfb574d
checksum: 84a1e6c8fd47d419dc66430e31b818774d4c0329a5f355a5a9e8af94378be4c0c24a89916d5cc1380fdbb640693527b906c2e6adee486a2e6786cb5e08bd9eb3
languageName: node
linkType: hard

"@typescript-eslint/types@npm:5.40.1":
version: 5.40.1
resolution: "@typescript-eslint/types@npm:5.40.1"
checksum: 2430c799667c820903df7ef39bc4c2762cb7654dbb8525d56f37e73f8cefb82186b80654dbbe0294c5b55affe929c641cdb90232e2749dcd7838f9e500a41549
"@typescript-eslint/types@npm:5.47.1":
version: 5.47.1
resolution: "@typescript-eslint/types@npm:5.47.1"
checksum: 9b3df8661862a8927ec29d21d6b5826cae7dd8b4797b5b54d66289d8abcf46081453a5cbaf9cc0a5b6c8249ca381dda61c2623da2a704e47f9d86175639a8cea
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:5.40.1":
version: 5.40.1
resolution: "@typescript-eslint/typescript-estree@npm:5.40.1"
"@typescript-eslint/typescript-estree@npm:5.47.1":
version: 5.47.1
resolution: "@typescript-eslint/typescript-estree@npm:5.47.1"
dependencies:
"@typescript-eslint/types": 5.40.1
"@typescript-eslint/visitor-keys": 5.40.1
"@typescript-eslint/types": 5.47.1
"@typescript-eslint/visitor-keys": 5.47.1
debug: ^4.3.4
globby: ^11.1.0
is-glob: ^4.0.3
Expand All @@ -5171,35 +5172,35 @@ __metadata:
peerDependenciesMeta:
typescript:
optional: true
checksum: d0426a55d24b76a3f042816dd8baaaa7a8da0158870bb08fff5a5524821c13ca196117dc269f098b8887ef75e01da1a498637153ab3c29c370ca356bfe4a1716
checksum: 803214a53fd4faf19b6b325dd4e8ddaa5bb1ebb9b52358d26ebeaeb86b431cea5bc09f3b43ca8abfdd3a72fdea667467a1abfda50cbad866696ec5739afae2ac
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:5.40.1, @typescript-eslint/utils@npm:^5.10.0":
version: 5.40.1
resolution: "@typescript-eslint/utils@npm:5.40.1"
"@typescript-eslint/utils@npm:5.47.1, @typescript-eslint/utils@npm:^5.10.0":
version: 5.47.1
resolution: "@typescript-eslint/utils@npm:5.47.1"
dependencies:
"@types/json-schema": ^7.0.9
"@types/semver": ^7.3.12
"@typescript-eslint/scope-manager": 5.40.1
"@typescript-eslint/types": 5.40.1
"@typescript-eslint/typescript-estree": 5.40.1
"@typescript-eslint/scope-manager": 5.47.1
"@typescript-eslint/types": 5.47.1
"@typescript-eslint/typescript-estree": 5.47.1
eslint-scope: ^5.1.1
eslint-utils: ^3.0.0
semver: ^7.3.7
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: a971101bb2f4c742a1734a87e17997addb7ffa6639d472097fe098f6c5f09567b858949b97f05892aabb20f38479abecdfdd69cf740046aa601dd3fc39a44090
checksum: 5167d26b8d5579de4d9aae36e18f980b33e01006ecc87cff59b761e15f69234092ac555bcf64a9f18d7c3e68a971df2a37b3912fc523c2586c2ba3f4544cc3d3
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:5.40.1":
version: 5.40.1
resolution: "@typescript-eslint/visitor-keys@npm:5.40.1"
"@typescript-eslint/visitor-keys@npm:5.47.1":
version: 5.47.1
resolution: "@typescript-eslint/visitor-keys@npm:5.47.1"
dependencies:
"@typescript-eslint/types": 5.40.1
"@typescript-eslint/types": 5.47.1
eslint-visitor-keys: ^3.3.0
checksum: b5dbf1e484ba2832ca1883ee9cf7da5967f70aa5624f3fb67f13c3be90a3770b0bb96e64ccfb0c31b5d8f80794b5727e14b6c0d8c5184634a686f0ea6e798772
checksum: b4d1f4daa67e962d22c41325d9dcb6b2efde1caf354a2edb5bf682b92ab8c6205435d0b12f39ce9771955250e26f2a6f03adabb37e62e5aac8225691a59ef153
languageName: node
linkType: hard

Expand Down Expand Up @@ -15034,6 +15035,13 @@ __metadata:
languageName: node
linkType: hard

"natural-compare-lite@npm:^1.4.0":
version: 1.4.0
resolution: "natural-compare-lite@npm:1.4.0"
checksum: 5222ac3986a2b78dd6069ac62cbb52a7bf8ffc90d972ab76dfe7b01892485d229530ed20d0c62e79a6b363a663b273db3bde195a1358ce9e5f779d4453887225
languageName: node
linkType: hard

"natural-compare@npm:^1.4.0":
version: 1.4.0
resolution: "natural-compare@npm:1.4.0"
Expand Down

0 comments on commit 071f59a

Please sign in to comment.