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.
@@ -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-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.3",
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.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": "^1.3.4",
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.37.0",
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.5.1",
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.4.0",
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",
@@ -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;