astro-eslint-parser 2.1.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/lib/index.d.mts +113 -18
  2. package/lib/index.mjs +871 -1172
  3. package/package.json +7 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-eslint-parser",
3
- "version": "2.1.0",
3
+ "version": "3.0.0",
4
4
  "description": "Astro component parser for ESLint",
5
5
  "type": "module",
6
6
  "main": "./lib/index.mjs",
@@ -22,7 +22,9 @@
22
22
  "prebuild": "npm run -s clean",
23
23
  "build": "tsdown",
24
24
  "clean": "rimraf .nyc_output lib coverage",
25
- "lint": "eslint .",
25
+ "lint": "npm run lint:js && npm run lint:ts",
26
+ "lint:js": "eslint .",
27
+ "lint:ts": "tsc --noEmit",
26
28
  "eslint-fix": "npm run lint -- --fix",
27
29
  "test": "npm run mocha -- \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
28
30
  "cover": "nyc --reporter=lcov npm run test",
@@ -55,16 +57,14 @@
55
57
  },
56
58
  "homepage": "https://github.com/ota-meshi/astro-eslint-parser#readme",
57
59
  "dependencies": {
58
- "@astrojs/compiler": "^4.0.0",
60
+ "@astrojs/compiler-rs": "^0.3.1",
59
61
  "@typescript-eslint/scope-manager": "^8.61.0",
60
62
  "@typescript-eslint/types": "^8.61.0",
61
- "astrojs-compiler-sync": "^1.0.0",
62
- "debug": "^4.3.4",
63
- "entities": "^8.0.0",
63
+ "debug": "^4.4.3",
64
64
  "eslint-scope": "^9.1.2",
65
65
  "eslint-visitor-keys": "^5.0.1",
66
66
  "espree": "^11.2.0",
67
- "semver": "^7.3.8",
67
+ "semver": "^7.8.4",
68
68
  "tinyglobby": "^0.2.17"
69
69
  },
70
70
  "devDependencies": {
@@ -103,8 +103,6 @@
103
103
  "eslint-plugin-svelte": "^3.19.0",
104
104
  "estree-walker": "^3.0.0",
105
105
  "globals": "^17.0.0",
106
- "locate-character": "^3.0.0",
107
- "magic-string": "^0.30.0",
108
106
  "mocha": "^11.0.0",
109
107
  "mocha-chai-jest-snapshot": "^1.1.3",
110
108
  "nyc": "^18.0.0",