lintroll 1.24.3 → 1.25.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.
- package/dist/cli/index.mjs +2 -2
- package/dist/index-Di562ssT.cjs +1 -0
- package/dist/index.cjs +11 -13
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +11 -13
- package/dist/package-CmP-ynSK.cjs +1 -0
- package/dist/package-D2TQq43O.mjs +1 -0
- package/dist/resolvers/pkg-maps-resolver.cjs +1 -1
- package/package.json +10 -10
- package/dist/index-lfElTNCp.cjs +0 -1
- package/dist/package-CAbyYpVo.mjs +0 -1
- package/dist/package-GjlyU4bn.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var r="lintroll",e="1.25.0";exports.name=r,exports.version=e;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a="lintroll",r="1.25.0";export{a as n,r as v};
|
|
@@ -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-
|
|
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.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "privatenumber's linting CLI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
59
|
-
"@eslint/js": "^9.
|
|
60
|
-
"@eslint/markdown": "^7.5.
|
|
61
|
-
"@stylistic/eslint-plugin": "^5.
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
63
|
-
"@typescript-eslint/parser": "^8.
|
|
64
|
-
"cleye": "^
|
|
59
|
+
"@eslint/js": "^9.39.1",
|
|
60
|
+
"@eslint/markdown": "^7.5.1",
|
|
61
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
|
63
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
64
|
+
"cleye": "^2.0.0",
|
|
65
65
|
"confusing-browser-globals": "^1.0.11",
|
|
66
|
-
"eslint": "^9.
|
|
66
|
+
"eslint": "^9.39.1",
|
|
67
67
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
68
68
|
"eslint-plugin-import-x": "^4.16.1",
|
|
69
69
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
@@ -74,11 +74,11 @@
|
|
|
74
74
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
75
75
|
"eslint-plugin-regexp": "^2.10.0",
|
|
76
76
|
"eslint-plugin-unicorn": "^62.0.0",
|
|
77
|
-
"eslint-plugin-vue": "^10.
|
|
77
|
+
"eslint-plugin-vue": "^10.6.0",
|
|
78
78
|
"eslint-plugin-yml": "^1.19.0",
|
|
79
79
|
"get-conditions": "^1.0.0",
|
|
80
80
|
"get-tsconfig": "^4.13.0",
|
|
81
|
-
"globals": "^16.
|
|
81
|
+
"globals": "^16.5.0",
|
|
82
82
|
"nano-spawn": "^2.0.0",
|
|
83
83
|
"resolve-pkg-maps": "^1.0.0",
|
|
84
84
|
"tsx": "^4.20.6",
|
package/dist/index-lfElTNCp.cjs
DELETED
|
@@ -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.3";export{a as n,r as v};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var r="lintroll",e="1.24.3";exports.name=r,exports.version=e;
|