Skip to content

Commit b3a03ed

Browse files
renovate[bot]renovate-botota-meshi
authored
Update dependency @types/node to v16 (#61)
* Update dependency @types/node to v16 * fix Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Yosuke Ota <[email protected]>
1 parent 14a3c4d commit b3a03ed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@types/eslint-scope": "^3.7.0",
6767
"@types/eslint-visitor-keys": "^1.0.0",
6868
"@types/mocha": "^9.0.0",
69-
"@types/node": "^15.0.1",
69+
"@types/node": "^16.0.0",
7070
"@typescript-eslint/eslint-plugin": "^5.0.0-0",
7171
"@typescript-eslint/parser": "^5.0.0-0",
7272
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@5",

src/rules/valid-compile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export default createRule("valid-compile", {
134134
// Added in v12.2.0
135135
Module.createRequire ||
136136
// Added in v10.12.0, but deprecated in v12.2.0.
137+
// @ts-expect-error -- old type
137138
Module.createRequireFromPath
138139

139140
const cwd = context.getCwd?.() ?? process.cwd()

0 commit comments

Comments
 (0)