diff --git a/package.json b/package.json index f04db08..74c2c5b 100644 --- a/package.json +++ b/package.json @@ -47,11 +47,11 @@ }, "devDependencies": { "@types/escodegen": "^0.0.7", - "@types/node": "^18.0.0", + "@types/node": "^20.0.0", "acorn": "^8.0.0", "acorn-jsx": "^5.0.0", "astring": "^1.0.0", - "c8": "^7.0.0", + "c8": "^8.0.0", "escodegen": "^2.0.0", "nyc": "^15.0.0", "prettier": "^2.0.0", @@ -59,8 +59,8 @@ "remark-cli": "^11.0.0", "remark-preset-wooorm": "^9.0.0", "type-coverage": "^2.0.0", - "typescript": "^4.0.0", - "xo": "^0.53.0" + "typescript": "^5.0.0", + "xo": "^0.54.0" }, "scripts": { "prepack": "npm run build && npm run format", diff --git a/test.js b/test.js index b1614a6..7428110 100644 --- a/test.js +++ b/test.js @@ -3,7 +3,6 @@ import test from 'node:test' import {Parser} from 'acorn' import jsx from 'acorn-jsx' import {walk} from 'estree-walker' -// @ts-expect-error: typed incorrectly. import {generate} from 'astring' import recast from 'recast' import escodegen from 'escodegen' diff --git a/tsconfig.json b/tsconfig.json index 27f9769..a42bead 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,10 +6,8 @@ "declaration": true, "emitDeclarationOnly": true, "exactOptionalPropertyTypes": true, - "forceConsistentCasingInFileNames": true, "lib": ["es2020"], "module": "node16", - "newLine": "lf", "strict": true, "target": "es2020" }