@vue-vine/eslint-parser 0.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -4285,7 +4285,7 @@ function parseFilter(code, locationCalculator, parserOptions) {
4285
4285
  function loadParser(parser) {
4286
4286
  if (parser !== "espree") {
4287
4287
  const __require = createRequire(
4288
- _url.fileURLToPath.call(void 0, import.meta.url)
4288
+ typeof __filename ? __filename : fileURLToPath2(import.meta.url)
4289
4289
  );
4290
4290
  return __require(parser);
4291
4291
  }
package/dist/index.mjs CHANGED
@@ -3879,7 +3879,6 @@ function replaceTokens(templateMeta, node, newTokens) {
3879
3879
  var import_first = __toESM(require_first());
3880
3880
  var import_last2 = __toESM(require_last());
3881
3881
  var import_sortedIndexBy = __toESM(require_sortedIndexBy());
3882
- import { fileURLToPath as fileURLToPath2 } from "node:url";
3883
3882
 
3884
3883
  // src/common/fix-locations.ts
3885
3884
  function fixLocations(result, locationCalculator) {
@@ -4285,7 +4284,7 @@ function parseFilter(code, locationCalculator, parserOptions) {
4285
4284
  function loadParser(parser) {
4286
4285
  if (parser !== "espree") {
4287
4286
  const __require = createRequire(
4288
- fileURLToPath2(import.meta.url)
4287
+ typeof __filename ? __filename : fileURLToPath(import.meta.url)
4289
4288
  );
4290
4289
  return __require(parser);
4291
4290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-vine/eslint-parser",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "ESLint parser for Vue Vine",
5
5
  "author": "ShenQingchuan",
6
6
  "license": "MIT",
@@ -12,8 +12,7 @@
12
12
  ".": {
13
13
  "dev": "./src/index.ts",
14
14
  "import": "./dist/index.mjs",
15
- "require": "./dist/index.js",
16
- "node": "./dist/index.js"
15
+ "require": "./dist/index.js"
17
16
  },
18
17
  "./package.json": "./package.json"
19
18
  },
@@ -23,9 +22,9 @@
23
22
  "dist"
24
23
  ],
25
24
  "dependencies": {
26
- "@typescript-eslint/parser": "^8.11.0",
27
- "@typescript-eslint/scope-manager": "^8.11.0",
28
- "@typescript-eslint/typescript-estree": "^8.11.0",
25
+ "@typescript-eslint/parser": "^8.15.0",
26
+ "@typescript-eslint/scope-manager": "^8.15.0",
27
+ "@typescript-eslint/typescript-estree": "^8.15.0",
29
28
  "debug": "^4.3.4",
30
29
  "eslint-scope": "^8.2.0",
31
30
  "espree": "^9.6.1",
@@ -45,7 +44,7 @@
45
44
  "scripts": {
46
45
  "dev": "tsup --watch",
47
46
  "build": "tsup",
48
- "test": "vitest --run",
47
+ "test": "vitest",
49
48
  "test:dev": "vitest"
50
49
  }
51
50
  }