Skip to content

Commit 0e71342

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@types/eslint-scope": "^3.7.0",
5151
"@types/eslint-visitor-keys": "^1.0.0",
5252
"@types/mocha": "^9.0.0",
53-
"@types/node": "^14.0.13",
53+
"@types/node": "^16.0.0",
5454
"@typescript-eslint/eslint-plugin": "^5.0.0",
5555
"@typescript-eslint/parser": "^5.0.0",
5656
"code-red": "^0.2.0",

src/parser/espree.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const createRequire: (filename: string) => (modName: string) => any =
66
// Added in v12.2.0
77
Module.createRequire ||
88
// Added in v10.12.0, but deprecated in v12.2.0.
9+
// @ts-expect-error -- old type
910
Module.createRequireFromPath ||
1011
// Polyfill - This is not executed on the tests on node@>=10.
1112
/* istanbul ignore next */

0 commit comments

Comments
 (0)