lintroll 1.24.4 → 1.26.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.
@@ -0,0 +1 @@
1
+ var a="lintroll",r="1.26.0";export{a as n,r as v};
@@ -0,0 +1 @@
1
+ "use strict";var r="lintroll",e="1.26.0";exports.name=r,exports.version=e;
@@ -1 +1 @@
1
- "use strict";var p=Object.defineProperty;var a=(e,t)=>p(e,"name",{value:t,configurable:!0});var g=require("node:path"),f=require("node:fs"),v=require("../index-lfElTNCp.cjs"),h=require("resolve-pkg-maps"),q=require("get-conditions");require("node:process"),require("node:fs/promises"),require("node:url");const s=Object.freeze({found:!1}),c=a(e=>e?typeof e=="string"?[e]:Object.values(e).flatMap(c):[],"getResolvedPaths"),l=a((e,t,n)=>{const i=c(e[t]).filter(r=>r!==n&&!r.endsWith(".d.ts")&&f.existsSync(r));return i.length===0?s:{found:!0,path:i[0]}},"tryFallback"),y=a((e,t)=>{if(e[0]!=="#")return s;const n=v.findUpSync("package.json",{cwd:t});if(!n)return s;const i=f.readFileSync(n,"utf8"),{imports:r}=JSON.parse(i);if(!r||!(e in r))return s;const o=h.resolveImports(r,e,q.getConditions());if(!o||o.length===0)return l(r,e);const u=o[0],d=g.resolve(n,"..",u);return f.existsSync(d)?{found:!0,path:u}:l(r,e,u)},"resolve"),S=2;exports.interfaceVersion=S,exports.resolve=y;
1
+ "use strict";var p=Object.defineProperty;var a=(e,t)=>p(e,"name",{value:t,configurable:!0});var g=require("node:path"),f=require("node:fs"),v=require("../index-Di562ssT.cjs"),h=require("resolve-pkg-maps"),q=require("get-conditions");require("node:process"),require("node:fs/promises"),require("node:url");const s=Object.freeze({found:!1}),c=a(e=>e?typeof e=="string"?[e]:Object.values(e).flatMap(c):[],"getResolvedPaths"),l=a((e,t,n)=>{const i=c(e[t]).filter(r=>r!==n&&!r.endsWith(".d.ts")&&f.existsSync(r));return i.length===0?s:{found:!0,path:i[0]}},"tryFallback"),y=a((e,t)=>{if(e[0]!=="#")return s;const n=v.findUpSync("package.json",{cwd:t});if(!n)return s;const i=f.readFileSync(n,"utf8"),{imports:r}=JSON.parse(i);if(!r||!(e in r))return s;const o=h.resolveImports(r,e,q.getConditions());if(!o||o.length===0)return l(r,e);const u=o[0],d=g.resolve(n,"..",u);return f.existsSync(d)?{found:!0,path:u}:l(r,e,u)},"resolve"),S=2;exports.interfaceVersion=S,exports.resolve=y;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lintroll",
3
- "version": "1.24.4",
3
+ "version": "1.26.0",
4
4
  "description": "privatenumber's linting CLI",
5
5
  "keywords": [
6
6
  "lint",
@@ -15,9 +15,6 @@
15
15
  "name": "Hiroki Osame",
16
16
  "email": "hiroki.osame@gmail.com"
17
17
  },
18
- "publishConfig": {
19
- "access": "public"
20
- },
21
18
  "files": [
22
19
  "dist"
23
20
  ],
@@ -27,15 +24,13 @@
27
24
  "module": "./dist/index.mjs",
28
25
  "types": "./dist/index.d.cts",
29
26
  "exports": {
30
- ".": {
31
- "require": {
32
- "types": "./dist/index.d.cts",
33
- "default": "./dist/index.cjs"
34
- },
35
- "import": {
36
- "types": "./dist/index.d.mts",
37
- "default": "./dist/index.mjs"
38
- }
27
+ "require": {
28
+ "types": "./dist/index.d.cts",
29
+ "default": "./dist/index.cjs"
30
+ },
31
+ "import": {
32
+ "types": "./dist/index.d.mts",
33
+ "default": "./dist/index.mjs"
39
34
  }
40
35
  },
41
36
  "imports": {
@@ -56,33 +51,34 @@
56
51
  },
57
52
  "dependencies": {
58
53
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
59
- "@eslint/js": "^9.38.0",
60
- "@eslint/markdown": "^7.5.0",
61
- "@stylistic/eslint-plugin": "^5.5.0",
62
- "@typescript-eslint/eslint-plugin": "^8.46.2",
63
- "@typescript-eslint/parser": "^8.46.2",
64
- "cleye": "^2.0.0",
54
+ "@eslint/js": "^9.39.1",
55
+ "@eslint/markdown": "^7.5.1",
56
+ "@stylistic/eslint-plugin": "^5.6.1",
57
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
58
+ "@typescript-eslint/parser": "^8.48.1",
59
+ "cleye": "^2.0.1",
65
60
  "confusing-browser-globals": "^1.0.11",
66
- "eslint": "^9.37.0",
61
+ "eslint": "^9.39.1",
67
62
  "eslint-import-resolver-typescript": "^4.4.4",
68
63
  "eslint-plugin-import-x": "^4.16.1",
69
64
  "eslint-plugin-jsonc": "^2.21.0",
70
65
  "eslint-plugin-n": "^17.23.1",
71
66
  "eslint-plugin-no-use-extend-native": "0.7.2",
67
+ "eslint-plugin-package-json": "^0.85.0",
72
68
  "eslint-plugin-promise": "^7.2.1",
73
69
  "eslint-plugin-react": "^7.37.5",
74
70
  "eslint-plugin-react-hooks": "^7.0.1",
75
71
  "eslint-plugin-regexp": "^2.10.0",
76
72
  "eslint-plugin-unicorn": "^62.0.0",
77
- "eslint-plugin-vue": "^10.5.1",
73
+ "eslint-plugin-vue": "^10.6.2",
78
74
  "eslint-plugin-yml": "^1.19.0",
79
75
  "get-conditions": "^1.0.0",
80
76
  "get-tsconfig": "^4.13.0",
81
- "globals": "^16.4.0",
77
+ "globals": "^16.5.0",
82
78
  "nano-spawn": "^2.0.0",
83
79
  "resolve-pkg-maps": "^1.0.0",
84
- "tsx": "^4.20.6",
80
+ "tsx": "^4.21.0",
85
81
  "vue-eslint-parser": "^10.2.0",
86
- "yaml-eslint-parser": "^1.3.0"
82
+ "yaml-eslint-parser": "^1.3.2"
87
83
  }
88
84
  }
@@ -1 +0,0 @@
1
- "use strict";var d=Object.defineProperty;var o=(e,t)=>d(e,"name",{value:t,configurable:!0});var y=require("node:process");require("node:fs/promises");var v=require("node:url"),h=require("node:fs"),i=require("node:path");const l=o(e=>e instanceof URL?v.fileURLToPath(e):e,"toPath");function q(e,{cwd:t=y.cwd(),type:c="file",stopAt:s}={}){let r=i.resolve(l(t)??"");const{root:n}=i.parse(r);s=i.resolve(r,l(s)??n);const u=i.isAbsolute(e);for(;r;){const a=u?e:i.join(r,e);try{const f=h.statSync(a,{throwIfNoEntry:!1});if(c==="file"&&f?.isFile()||c==="directory"&&f?.isDirectory())return a}catch{}if(r===s||r===n)break;r=i.dirname(r)}}o(q,"findUpSync"),exports.findUpSync=q;
@@ -1 +0,0 @@
1
- var a="lintroll",r="1.24.4";export{a as n,r as v};
@@ -1 +0,0 @@
1
- "use strict";var r="lintroll",e="1.24.4";exports.name=r,exports.version=e;