Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 36 additions & 35 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@
}
},
"dependencies": {
"@typescript-eslint/types": "^8.35.0",
"@typescript-eslint/types": "^8.40.0",
"comment-parser": "^1.4.1",
"debug": "^4.4.1",
"eslint-import-context": "^0.1.9",
"eslint-import-context": "^0.2.0",
"is-glob": "^4.0.3",
"minimatch": "^9.0.3 || ^10.0.1",
"minimatch": "^9.0.3 || ^10.0.3",
"oxc-resolver": "^11.6.1",
"semver": "^7.7.2",
"stable-hash-x": "^0.2.0",
"unrs-resolver": "^1.9.2"
"stable-hash-x": "^0.2.0"
},
"devDependencies": {
"@1stg/commitlint-config": "^5.1.0",
Expand All @@ -93,22 +93,22 @@
"@1stg/simple-git-hooks": "^2.1.0",
"@1stg/tsconfig": "^3.0.3",
"@angular-eslint/template-parser": "^20.1.1",
"@babel/core": "^7.27.4",
"@babel/eslint-parser": "^7.27.5",
"@babel/plugin-proposal-decorators": "^7.27.1",
"@babel/core": "^7.28.3",
"@babel/eslint-parser": "^7.28.0",
"@babel/plugin-proposal-decorators": "^7.28.0",
"@babel/plugin-proposal-export-default-from": "^7.27.1",
"@babel/preset-env": "^7.27.2",
"@babel/preset-env": "^7.28.3",
"@babel/preset-flow": "^7.27.1",
"@babel/preset-react": "^7.27.1",
"@babel/preset-typescript": "^7.27.1",
"@babel/register": "^7.27.1",
"@babel/register": "^7.28.3",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.5",
"@changesets/cli": "^2.29.6",
"@commitlint/cli": "^19.8.1",
"@eslint/import-test-order-redirect-scoped": "link:./test/fixtures/order-redirect-scoped",
"@eslint/js": "^9.29.0",
"@swc-node/jest": "^1.8.13",
"@swc/core": "^1.12.7",
"@eslint/js": "^9.33.0",
"@swc-node/jest": "^1.9.1",
"@swc/core": "^1.13.3",
"@swc/helpers": "^0.5.17",
"@test-scope/some-module": "link:./test/fixtures/symlinked-module",
"@total-typescript/ts-reset": "^0.6.1",
Expand All @@ -119,17 +119,18 @@
"@types/jest": "^30.0.0",
"@types/json-schema": "^7.0.15",
"@types/klaw-sync": "^6.0.5",
"@types/node": "^22.15.33",
"@types/node": "^22.17.2",
"@types/pnpapi": "^0.0.5",
"@types/tmp": "^0.2.6",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"@typescript-eslint/rule-tester": "^8.35.0",
"@typescript-eslint/utils": "^8.35.0",
"@typescript-eslint/eslint-plugin": "^8.40.0",
"@typescript-eslint/parser": "^8.40.0",
"@typescript-eslint/rule-tester": "^8.40.0",
"@typescript-eslint/scope-manager": "^8.40.0",
"@typescript-eslint/utils": "^8.40.0",
"@unts/patch-package": "^8.1.1",
"clean-pkg-json": "^1.3.0",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-doc-generator": "^2.2.2",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-import-resolver-webpack": "^0.13.10",
Expand All @@ -138,31 +139,31 @@
"eslint-plugin-import-x": "link:.",
"eslint-plugin-jest": "^29.0.1",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-mdx": "^3.5.0",
"eslint-plugin-n": "^17.20.0",
"eslint-plugin-prettier": "^5.5.1",
"eslint-plugin-mdx": "^3.6.2",
"eslint-plugin-n": "^17.21.3",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-unicorn": "^59.0.1",
"eslint-plugin-yml": "^1.18.0",
"eslint8.56": "npm:eslint@~8.56.0",
"eslint9": "npm:eslint@^9.28.0",
"globals": "^16.2.0",
"hermes-eslint": "^0.29.0",
"jest": "^30.0.3",
"eslint9": "npm:eslint@^9.33.0",
"globals": "^16.3.0",
"hermes-eslint": "^0.31.2",
"jest": "^30.0.5",
"klaw-sync": "^7.0.0",
"nano-staged": "^0.8.0",
"npm-run-all2": "^8.0.4",
"path-serializer": "^0.5.0",
"path-serializer": "^0.5.1",
"premove": "^4.0.0",
"prettier": "^3.6.1",
"prettier": "^3.6.2",
"redux": "^5.0.1",
"simple-git-hooks": "^2.13.0",
"simple-git-hooks": "^2.13.1",
"tinyexec": "^1.0.1",
"tmp": "^0.2.3",
"tmp": "^0.2.5",
"ts-node": "^10.9.2",
"tsdown": "^0.12.9",
"tsdown": "^0.14.1",
"type-fest": "^4.41.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.35.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.40.0",
"yarn-berry-deduplicate": "^6.1.3"
},
"resolutions": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/node_modules/@swc-node/jest/lib/index.js b/node_modules/@swc-node/jest/lib/index.js
index 9a2fc9d..92f19fc 100644
index 9a2fc9d..4060446 100644
--- a/node_modules/@swc-node/jest/lib/index.js
+++ b/node_modules/@swc-node/jest/lib/index.js
@@ -17,13 +17,13 @@ function getJestTransformConfig(jestConfig) {
Expand Down
4 changes: 2 additions & 2 deletions src/node-resolver.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { isBuiltin } from 'node:module'
import path from 'node:path'

import { ResolverFactory } from 'unrs-resolver'
import type { NapiResolveOptions } from 'unrs-resolver'
import { ResolverFactory } from 'oxc-resolver'
import type { NapiResolveOptions } from 'oxc-resolver'

import type { NewResolver } from './types.js'

Expand Down
3 changes: 2 additions & 1 deletion src/utils/declared-scope.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { ScopeType } from '@typescript-eslint/scope-manager'
import type { TSESTree } from '@typescript-eslint/utils'

import type { RuleContext } from '../types.js'
Expand All @@ -6,7 +7,7 @@ export function declaredScope(
context: RuleContext,
node: TSESTree.Node,
name: string,
) {
): ScopeType | undefined {
const references = context.sourceCode.getScope(node).references
const reference = references.find(x => x.identifier.name === name)
return reference?.resolved?.scope.type
Expand Down
Loading
Loading