chore: use oxlint (#2032)

This commit is contained in:
LongYinan 2024-04-10 14:26:34 +08:00 committed by GitHub
parent 4c7d06fc72
commit 5570d8b4f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 119 additions and 426 deletions

View file

@ -1,22 +0,0 @@
node_modules
dist
lib
esm
next
coverage
output
static
temp
.nyc_output
*.d.ts
__mock__
target
scripts
triples/index.js
rollup.config.js
crates/cli/index.js
examples/napi/index.d.*
examples/napi/index.wasi.mjs
examples/napi/index.wasi-browser.js
examples/napi/wasi-worker.mjs
examples/napi/wasi-worker-browser.js

View file

@ -1,242 +0,0 @@
parser: '@typescript-eslint/parser'
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: latest
sourceType: module
project:
- ./tsconfig.root-lint.json
env:
browser: true
es6: true
node: true
plugins:
- import
- '@typescript-eslint'
extends:
- eslint:recommended
- prettier
globals:
BigInt: 'readonly'
NodeJS: 'readonly'
globalThis: true
rules:
# 0 = off, 1 = warn, 2 = error
'space-before-function-paren': 0
'no-useless-constructor': 0
'no-undef': 2
'no-console': [2, { allow: ['error', 'warn', 'info', 'assert'] }]
'comma-dangle': ['error', 'only-multiline']
'no-unused-vars': 0
'no-var': 2
'one-var-declaration-per-line': 2
'prefer-const': 2
'no-const-assign': 2
'no-duplicate-imports': 2
'no-use-before-define': [2, { 'functions': false, 'classes': false }]
'eqeqeq': [2, 'always', { 'null': 'ignore' }]
'no-case-declarations': 0
'no-dupe-class-members': 0
'import/first': 2
'import/newline-after-import': 2
'import/order':
[
2,
{
'newlines-between': 'always',
'alphabetize': { 'order': 'asc', 'caseInsensitive': true },
},
]
'import/no-extraneous-dependencies': 2
'@typescript-eslint/adjacent-overload-signatures': 2
'@typescript-eslint/consistent-type-assertions': 2
'@typescript-eslint/ban-types':
[
'error',
{
'types':
{
'String': { 'message': 'Use string instead', 'fixWith': 'string' },
'Number': { 'message': 'Use number instead', 'fixWith': 'number' },
'Boolean':
{ 'message': 'Use boolean instead', 'fixWith': 'boolean' },
'Function': { 'message': 'Use explicit type instead' },
},
},
]
'@typescript-eslint/explicit-member-accessibility':
[
'error',
{
accessibility: 'explicit',
overrides:
{
accessors: 'no-public',
constructors: 'no-public',
methods: 'no-public',
properties: 'no-public',
parameterProperties: 'explicit',
},
},
]
'@typescript-eslint/method-signature-style': 2
'@typescript-eslint/ban-ts-comment':
[
2,
{
'ts-expect-error': false,
'ts-ignore': true,
'ts-nocheck': true,
'ts-check': false,
},
]
'@typescript-eslint/naming-convention':
[
2,
{
selector: 'memberLike',
format: ['camelCase', 'PascalCase'],
modifiers: ['private'],
leadingUnderscore: 'forbid',
},
]
'@typescript-eslint/no-unused-vars':
[
2,
{
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
]
'@typescript-eslint/member-ordering':
[
2,
{
default:
[
'public-static-field',
'protected-static-field',
'private-static-field',
'public-static-method',
'protected-static-method',
'private-static-method',
'public-instance-field',
'protected-instance-field',
'private-instance-field',
'public-constructor',
'protected-constructor',
'private-constructor',
'public-instance-method',
'protected-instance-method',
'private-instance-method',
],
},
]
overrides:
- files:
- ./**/*.ts
plugins:
- '@typescript-eslint'
parserOptions:
project: ./tsconfig.json
rules:
'@typescript-eslint/await-thenable': 2
'@typescript-eslint/no-floating-promises': 2
'@typescript-eslint/no-implied-eval': 2
'@typescript-eslint/no-for-in-array': 2
'@typescript-eslint/no-inferrable-types': 2
'@typescript-eslint/no-invalid-void-type': 2
'@typescript-eslint/no-misused-new': 2
'@typescript-eslint/no-misused-promises': 2
'@typescript-eslint/no-namespace': 2
'@typescript-eslint/no-non-null-asserted-optional-chain': 2
'@typescript-eslint/no-throw-literal': 2
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 2
'@typescript-eslint/prefer-for-of': 2
'@typescript-eslint/prefer-nullish-coalescing': 2
'@typescript-eslint/switch-exhaustiveness-check': 2
'@typescript-eslint/prefer-optional-chain': 2
'@typescript-eslint/prefer-readonly': 2
'@typescript-eslint/prefer-string-starts-ends-with': 0
'@typescript-eslint/no-array-constructor': 2
'@typescript-eslint/require-await': 2
'@typescript-eslint/return-await': 2
- files:
- ./examples/**/*.{ts,js}
plugins:
- '@typescript-eslint'
parserOptions:
project:
- ./tsconfig.json
rules:
'import/order':
[
2,
{
'newlines-between': 'always',
'alphabetize': { 'order': 'asc', 'caseInsensitive': true },
},
]
'import/no-extraneous-dependencies': 0
- files:
- ./bench/**/*.{ts,js}
plugins:
- '@typescript-eslint'
parserOptions:
project: ./bench/tsconfig.json
- files:
- ./memory-testing/*.{js,mjs}
plugins:
- '@typescript-eslint'
parserOptions:
project: ./tsconfig.root-lint.json
- files:
- ./*.js
- ./*.cjs
- ./*.mjs
plugins:
- '@typescript-eslint'
parserOptions:
project: ./tsconfig.root-lint.json

3
.oxlintignore Normal file
View file

@ -0,0 +1,3 @@
.yarn
dist
target

View file

@ -89,13 +89,14 @@
"@types/js-yaml": "^4.0.9",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.13",
"@types/semver": "^7.5.8",
"ava": "^6.1.1",
"env-paths": "^3.0.0",
"esbuild": "^0.20.0",
"prettier": "^3.2.4",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
"typescript": "^5.4.4"
},
"peerDependencies": {
"@emnapi/runtime": "^1.1.0",

View file

@ -64,14 +64,14 @@ export class NewCommand extends BaseNewCommand {
private async fetchName(defaultName: string): Promise<string> {
return (
this.$$name ??
(await inquirer
inquirer
.prompt({
type: 'input',
name: 'name',
message: 'Package name (the name field in your package.json file)',
default: defaultName,
})
.then(({ name }) => name))
.then(({ name }) => name)
)
}
@ -93,7 +93,7 @@ export class NewCommand extends BaseNewCommand {
name: 'minNodeApiVersion',
message: 'Minimum node-api version (with node version requirement)',
loop: false,
choices: new Array(8).fill(0).map((_, i) => ({
choices: Array.from({ length: 8 }, (_, i) => ({
name: `napi${i + 1} (${napiEngineRequirement(i + 1)})`,
value: i + 1,
})),

View file

@ -27,7 +27,7 @@
"format:prettier": "prettier . -w",
"format:rs": "cargo fmt",
"format:toml": "taplo format",
"lint": "eslint -c .eslintrc.yml .",
"lint": "oxlint --import-plugin --ignore-path=./.oxlintignore --deny-warnings -D correctness",
"test": "lerna run test --concurrency=1 --ignore @napi-rs/cli",
"test:without-lerna": "yarn workspaces foreach -A --exclude \"{cli,napi-rs}\" run test",
"test:bun": "bun test examples/napi/__tests__/values.spec.ts",
@ -52,7 +52,7 @@
},
"lint-staged": {
"*.@(js|ts)": [
"eslint --fix"
"oxlint --import-plugin --ignore-path=./.oxlintignore --deny-warnings -D correctness --fix"
],
"*.@(js||ts|json|md|yml|yaml)": [
"prettier --write"
@ -71,8 +71,6 @@
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.11.13",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"ava": "^6.1.1",
"bun-types": "^1.0.25",
"c8": "^9.1.0",
@ -86,6 +84,7 @@
"lerna": "^8.0.2",
"lint-staged": "^15.2.1",
"npm-run-all2": "^6.1.1",
"oxlint": "^0.2.16",
"prettier": "^3.2.4",
"rollup": "^4.9.6",
"shx": "^0.3.4",
@ -93,7 +92,7 @@
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
"typescript": "^5.4.4"
},
"packageManager": "yarn@4.1.1",
"resolutions": {

View file

@ -4,7 +4,7 @@ import { fileURLToPath } from 'url'
import { groupBy, mapValues } from 'lodash-es'
import { parseTriple } from '../cli/src/utils/target.js'
import { parseTriple } from '@napi-rs/cli'
const __dirname = resolve(fileURLToPath(import.meta.url), '..')
@ -21,7 +21,7 @@ const SUPPORTED_PLATFORM = new Set([
const tripleLists: { [key: string]: { platform?: string } } = RAW_LIST.trim()
.split('\n')
.filter((line) => !line.startsWith('wasm') && line.trim().length)
.filter((line) => !line.startsWith('wasm') && line.trim().length > 0)
.map(parseTriple)
.reduce((acc: Record<string, { platform?: string }>, cur) => {
acc[cur.triple] = cur

View file

@ -47,6 +47,7 @@
"build": "node --loader ts-node/esm/transpile-only ./generate-triple-list.ts && ../node_modules/.bin/prettier --write ./index.cjs"
},
"devDependencies": {
"@napi-rs/cli": "workspace:*",
"@types/node": "^20.11.13",
"lodash-es": "^4.17.21",
"ts-node": "^10.9.2",

255
yarn.lock
View file

@ -315,7 +315,7 @@ __metadata:
languageName: node
linkType: hard
"@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.4.0":
"@eslint-community/eslint-utils@npm:^4.2.0":
version: 4.4.0
resolution: "@eslint-community/eslint-utils@npm:4.4.0"
dependencies:
@ -326,7 +326,7 @@ __metadata:
languageName: node
linkType: hard
"@eslint-community/regexpp@npm:^4.10.0, @eslint-community/regexpp@npm:^4.6.1":
"@eslint-community/regexpp@npm:^4.6.1":
version: 4.10.0
resolution: "@eslint-community/regexpp@npm:4.10.0"
checksum: 10c0/c5f60ef1f1ea7649fa7af0e80a5a79f64b55a8a8fa5086de4727eb4c86c652aedee407a9c143b8995d2c0b2d75c1222bec9ba5d73dbfc1f314550554f0979ef4
@ -600,6 +600,7 @@ __metadata:
"@types/js-yaml": "npm:^4.0.9"
"@types/lodash-es": "npm:^4.17.12"
"@types/node": "npm:^20.11.13"
"@types/semver": "npm:^7.5.8"
ava: "npm:^6.1.1"
clipanion: "npm:^3.2.1"
colorette: "npm:^2.0.20"
@ -616,7 +617,7 @@ __metadata:
ts-node: "npm:^10.9.2"
tslib: "npm:^2.6.2"
typanion: "npm:^3.14.0"
typescript: "npm:^5.3.3"
typescript: "npm:^5.4.4"
wasm-sjlj: "npm:^1.0.5"
peerDependencies:
"@emnapi/runtime": ^1.1.0
@ -945,6 +946,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@napi-rs/triples@workspace:triples"
dependencies:
"@napi-rs/cli": "workspace:*"
"@types/node": "npm:^20.11.13"
lodash-es: "npm:^4.17.21"
ts-node: "npm:^10.9.2"
@ -1520,6 +1522,62 @@ __metadata:
languageName: node
linkType: hard
"@oxlint/darwin-arm64@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/darwin-arm64@npm:0.2.16"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@oxlint/darwin-x64@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/darwin-x64@npm:0.2.16"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@oxlint/linux-arm64-gnu@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/linux-arm64-gnu@npm:0.2.16"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard
"@oxlint/linux-arm64-musl@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/linux-arm64-musl@npm:0.2.16"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard
"@oxlint/linux-x64-gnu@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/linux-x64-gnu@npm:0.2.16"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard
"@oxlint/linux-x64-musl@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/linux-x64-musl@npm:0.2.16"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard
"@oxlint/win32-arm64@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/win32-arm64@npm:0.2.16"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@oxlint/win32-x64@npm:0.2.16":
version: 0.2.16
resolution: "@oxlint/win32-x64@npm:0.2.16"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"@pkgjs/parseargs@npm:^0.11.0":
version: 0.11.0
resolution: "@pkgjs/parseargs@npm:0.11.0"
@ -2159,13 +2217,6 @@ __metadata:
languageName: node
linkType: hard
"@types/json-schema@npm:^7.0.15":
version: 7.0.15
resolution: "@types/json-schema@npm:7.0.15"
checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db
languageName: node
linkType: hard
"@types/json5@npm:^0.0.29":
version: 0.0.29
resolution: "@types/json5@npm:0.0.29"
@ -2335,129 +2386,6 @@ __metadata:
languageName: node
linkType: hard
"@typescript-eslint/eslint-plugin@npm:^7.0.0":
version: 7.6.0
resolution: "@typescript-eslint/eslint-plugin@npm:7.6.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.10.0"
"@typescript-eslint/scope-manager": "npm:7.6.0"
"@typescript-eslint/type-utils": "npm:7.6.0"
"@typescript-eslint/utils": "npm:7.6.0"
"@typescript-eslint/visitor-keys": "npm:7.6.0"
debug: "npm:^4.3.4"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.3.1"
natural-compare: "npm:^1.4.0"
semver: "npm:^7.6.0"
ts-api-utils: "npm:^1.3.0"
peerDependencies:
"@typescript-eslint/parser": ^7.0.0
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/c3ca611c6658dfc05e6457e87c66cdc6f038cf9bbb345f3168d171491bc1439f815a49529a1511940141a387873e10dfc7ab68fd172cf54c34f8a3aa8c558e13
languageName: node
linkType: hard
"@typescript-eslint/parser@npm:^7.0.0":
version: 7.6.0
resolution: "@typescript-eslint/parser@npm:7.6.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:7.6.0"
"@typescript-eslint/types": "npm:7.6.0"
"@typescript-eslint/typescript-estree": "npm:7.6.0"
"@typescript-eslint/visitor-keys": "npm:7.6.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/69450c15180f7ee5a9d9c2e8ed7aa781a3b63635c099de1f102167c247d71c55b152934187e854baa5c9ea3dcbc0c9f5983379139e6cfa1ccbb900b9f23dab37
languageName: node
linkType: hard
"@typescript-eslint/scope-manager@npm:7.6.0":
version: 7.6.0
resolution: "@typescript-eslint/scope-manager@npm:7.6.0"
dependencies:
"@typescript-eslint/types": "npm:7.6.0"
"@typescript-eslint/visitor-keys": "npm:7.6.0"
checksum: 10c0/1c1e75fd4fa2dabcab0457ca2ec872752c112fec27bf11edb5bf13c547ad5f3ca5a3b424e19c6916dfc8bd348cde258db8abfd12c9ed93b4bc4df9ef9e3db9f5
languageName: node
linkType: hard
"@typescript-eslint/type-utils@npm:7.6.0":
version: 7.6.0
resolution: "@typescript-eslint/type-utils@npm:7.6.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:7.6.0"
"@typescript-eslint/utils": "npm:7.6.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^1.3.0"
peerDependencies:
eslint: ^8.56.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/d5fa5856e24b593e8ae93f27049e7ea49c0725f9fe44e6252a8fc8228859e2db254a3c399bedaf1fdac76fae94aa9bae10a9d466032c7bdb5bdeb1da2e4e3a53
languageName: node
linkType: hard
"@typescript-eslint/types@npm:7.6.0":
version: 7.6.0
resolution: "@typescript-eslint/types@npm:7.6.0"
checksum: 10c0/7ca2a307557d4d8fc9c7d43e4dc8c4841e6c5380b59dcc8b644b3d7b6a702968ff5a70b74cb7e3d3af3f3cef87e9775573b8272b1b2963d80441992ac4e7e951
languageName: node
linkType: hard
"@typescript-eslint/typescript-estree@npm:7.6.0":
version: 7.6.0
resolution: "@typescript-eslint/typescript-estree@npm:7.6.0"
dependencies:
"@typescript-eslint/types": "npm:7.6.0"
"@typescript-eslint/visitor-keys": "npm:7.6.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3"
minimatch: "npm:^9.0.4"
semver: "npm:^7.6.0"
ts-api-utils: "npm:^1.3.0"
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/ab54ce7a61928640bf036cc1d80394de92581d90666786603b566b9a44833603e017d7e739a37aee82a007c6d1dbdc6328d7e42d1732925cc53c111e7e38961e
languageName: node
linkType: hard
"@typescript-eslint/utils@npm:7.6.0":
version: 7.6.0
resolution: "@typescript-eslint/utils@npm:7.6.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@types/json-schema": "npm:^7.0.15"
"@types/semver": "npm:^7.5.8"
"@typescript-eslint/scope-manager": "npm:7.6.0"
"@typescript-eslint/types": "npm:7.6.0"
"@typescript-eslint/typescript-estree": "npm:7.6.0"
semver: "npm:^7.6.0"
peerDependencies:
eslint: ^8.56.0
checksum: 10c0/1552004d9c451347f11398648ec7b22381d5b335f10e8d2dfdfbcb024ef93c9a23ec5731ee271495b4b546ab5db0a817bd13c4c4db8be825ed90b80a89dfd0f7
languageName: node
linkType: hard
"@typescript-eslint/visitor-keys@npm:7.6.0":
version: 7.6.0
resolution: "@typescript-eslint/visitor-keys@npm:7.6.0"
dependencies:
"@typescript-eslint/types": "npm:7.6.0"
eslint-visitor-keys: "npm:^3.4.3"
checksum: 10c0/b5ca6a9258889ef103165884e99b51124b2a3dad250cf7cee2fb13525f76922256a6146a8dcef74cad6548a52409ff89259809c7fa7c8be07059bb7454e7fa8f
languageName: node
linkType: hard
"@ungap/structured-clone@npm:^1.2.0":
version: 1.2.0
resolution: "@ungap/structured-clone@npm:1.2.0"
@ -6480,7 +6408,7 @@ __metadata:
languageName: node
linkType: hard
"globby@npm:11.1.0, globby@npm:^11.1.0":
"globby@npm:11.1.0":
version: 11.1.0
resolution: "globby@npm:11.1.0"
dependencies:
@ -6919,7 +6847,7 @@ __metadata:
languageName: node
linkType: hard
"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4, ignore@npm:^5.3.1":
"ignore@npm:^5.0.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4":
version: 5.3.1
resolution: "ignore@npm:5.3.1"
checksum: 10c0/703f7f45ffb2a27fb2c5a8db0c32e7dee66b33a225d28e8db4e1be6474795f606686a6e3bcc50e1aa12f2042db4c9d4a7d60af3250511de74620fbed052ea4cd
@ -8600,7 +8528,7 @@ __metadata:
languageName: node
linkType: hard
"minimatch@npm:^9.0.0, minimatch@npm:^9.0.1, minimatch@npm:^9.0.3, minimatch@npm:^9.0.4":
"minimatch@npm:^9.0.0, minimatch@npm:^9.0.1, minimatch@npm:^9.0.3":
version: 9.0.4
resolution: "minimatch@npm:9.0.4"
dependencies:
@ -8873,8 +8801,6 @@ __metadata:
"@types/lodash-es": "npm:^4.17.12"
"@types/node": "npm:^20.11.13"
"@types/sinon": "npm:^17.0.3"
"@typescript-eslint/eslint-plugin": "npm:^7.0.0"
"@typescript-eslint/parser": "npm:^7.0.0"
ava: "npm:^6.1.1"
bun-types: "npm:^1.0.25"
c8: "npm:^9.1.0"
@ -8888,6 +8814,7 @@ __metadata:
lerna: "npm:^8.0.2"
lint-staged: "npm:^15.2.1"
npm-run-all2: "npm:^6.1.1"
oxlint: "npm:^0.2.16"
prettier: "npm:^3.2.4"
rollup: "npm:^4.9.6"
shx: "npm:^0.3.4"
@ -8895,7 +8822,7 @@ __metadata:
source-map-support: "npm:^0.5.21"
ts-node: "npm:^10.9.2"
tslib: "npm:^2.6.2"
typescript: "npm:^5.3.3"
typescript: "npm:^5.4.4"
languageName: unknown
linkType: soft
@ -9635,6 +9562,41 @@ __metadata:
languageName: node
linkType: hard
"oxlint@npm:^0.2.16":
version: 0.2.16
resolution: "oxlint@npm:0.2.16"
dependencies:
"@oxlint/darwin-arm64": "npm:0.2.16"
"@oxlint/darwin-x64": "npm:0.2.16"
"@oxlint/linux-arm64-gnu": "npm:0.2.16"
"@oxlint/linux-arm64-musl": "npm:0.2.16"
"@oxlint/linux-x64-gnu": "npm:0.2.16"
"@oxlint/linux-x64-musl": "npm:0.2.16"
"@oxlint/win32-arm64": "npm:0.2.16"
"@oxlint/win32-x64": "npm:0.2.16"
dependenciesMeta:
"@oxlint/darwin-arm64":
optional: true
"@oxlint/darwin-x64":
optional: true
"@oxlint/linux-arm64-gnu":
optional: true
"@oxlint/linux-arm64-musl":
optional: true
"@oxlint/linux-x64-gnu":
optional: true
"@oxlint/linux-x64-musl":
optional: true
"@oxlint/win32-arm64":
optional: true
"@oxlint/win32-x64":
optional: true
bin:
oxlint: bin/oxlint
checksum: 10c0/65bcc3e561bc9b407fa7a3d42d8f8a45bdfb4514ea1842632c86106da88dce38da60fa4779aa22245025ad0edfde77d05547a2cac436d0bdc558fc51ac82dd56
languageName: node
linkType: hard
"p-cancelable@npm:^2.0.0":
version: 2.1.1
resolution: "p-cancelable@npm:2.1.1"
@ -11023,7 +10985,7 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0":
"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4":
version: 7.6.0
resolution: "semver@npm:7.6.0"
dependencies:
@ -12026,15 +11988,6 @@ __metadata:
languageName: node
linkType: hard
"ts-api-utils@npm:^1.3.0":
version: 1.3.0
resolution: "ts-api-utils@npm:1.3.0"
peerDependencies:
typescript: ">=4.2.0"
checksum: 10c0/f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c
languageName: node
linkType: hard
"ts-node@npm:^10.9.2":
version: 10.9.2
resolution: "ts-node@npm:10.9.2"
@ -12284,7 +12237,7 @@ __metadata:
languageName: node
linkType: hard
"typescript@npm:>=3 < 6, typescript@npm:^5.3.3":
"typescript@npm:>=3 < 6, typescript@npm:^5.3.3, typescript@npm:^5.4.4":
version: 5.4.4
resolution: "typescript@npm:5.4.4"
bin:
@ -12294,7 +12247,7 @@ __metadata:
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>":
"typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.4.4#optional!builtin<compat/typescript>":
version: 5.4.4
resolution: "typescript@patch:typescript@npm%3A5.4.4#optional!builtin<compat/typescript>::version=5.4.4&hash=5adc0c"
bin: