{"_id":"@calmdownval/eslint-import-resolver","_rev":"3-0fcf4934dd7eb7ba76702bd434dafdb6","name":"@calmdownval/eslint-import-resolver","dist-tags":{"latest":"1.1.2"},"versions":{"1.0.0":{"name":"@calmdownval/eslint-import-resolver","version":"1.0.0","license":"ISC","packageManager":"yarn@3.6.1","exports":{".":{"require":"./build/index.min.cjs","import":"./build/index.min.mjs","types":"./build/index.d.ts"}},"scripts":{"build":"rollup --config"},"peerDependencies":{"eslint":"8.46.0"},"peerDependenciesMeta":{"eslint":{"optional":true}},"dependencies":{"debug":"4.3.4","enhanced-resolve":"5.15.0","fast-glob":"3.3.1","is-core-module":"2.12.1","jsonc-parser":"3.2.0"},"devDependencies":{"@calmdownval/eslint-config":"2.0.4","@calmdownval/eslint-import-resolver":"1.0.0","@rollup/plugin-terser":"0.4.3","@rollup/plugin-typescript":"11.1.2","@types/debug":"4.1.8","@types/is-core-module":"2.2.0","@types/node":"20.4.5","@typescript-eslint/eslint-plugin":"6.2.1","@typescript-eslint/parser":"6.2.1","eslint":"8.46.0","eslint-plugin-import":"2.28.0","rollup":"3.26.3","rollup-plugin-delete":"2.0.0","rollup-plugin-dts":"5.3.0","rollup-plugin-node-externals":"6.1.1","tslib":"2.6.1","typescript":"5.1.6"},"gitHead":"10a032e5b022f12104b016488df3bfede9cf1fed","description":"This is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) (ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).","_id":"@calmdownval/eslint-import-resolver@1.0.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-UOHSCf7GbFMtzEPWMbv2QZmmg+53rgCfUmH/U31K7MsqZMJLlrZnghFlOZ0vgI1hcf4sE+hF39hgpn6YRtLHeg==","shasum":"96e5a39a5b8ecc13b0f12a2cdab99c1ebaf82dc7","tarball":"https://registry.npmjs.org/@calmdownval/eslint-import-resolver/-/eslint-import-resolver-1.0.0.tgz","fileCount":7,"unpackedSize":67299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsmZfLcYTtK34bt5pkZLZosQNW2ZhaC4ZXRI+xEKnsKAIgUEdkn81os8/OabX6omjYs0q0nm5JlYEk6L2/uw8yV+M="}]},"_npmUser":{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"},"directories":{},"maintainers":[{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver_1.0.0_1691251268043_0.5919421508484102"},"_hasShrinkwrap":false},"1.1.0":{"name":"@calmdownval/eslint-import-resolver","version":"1.1.0","license":"ISC","packageManager":"yarn@3.6.1","exports":{".":{"require":"./build/index.min.cjs","import":"./build/index.min.mjs","types":"./build/index.d.ts"}},"scripts":{"build":"rollup --config"},"peerDependencies":{"eslint":"8.46.0"},"peerDependenciesMeta":{"eslint":{"optional":true}},"dependencies":{"debug":"4.3.4","enhanced-resolve":"5.15.0","fast-glob":"3.3.1","is-core-module":"2.12.1","jsonc-parser":"3.2.0"},"devDependencies":{"@calmdownval/eslint-config":"2.0.4","@calmdownval/eslint-import-resolver":"workspace:*","@rollup/plugin-terser":"0.4.3","@rollup/plugin-typescript":"11.1.2","@types/debug":"4.1.8","@types/is-core-module":"2.2.0","@types/node":"20.4.5","@typescript-eslint/eslint-plugin":"6.2.1","@typescript-eslint/parser":"6.2.1","eslint":"8.46.0","eslint-plugin-import":"2.28.0","rollup":"3.26.3","rollup-plugin-delete":"2.0.0","rollup-plugin-dts":"5.3.0","rollup-plugin-node-externals":"6.1.1","tslib":"2.6.1","typescript":"5.1.6"},"gitHead":"73660d9c03a0d6b1f1113c48bc9068fbf1d62181","description":"This is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) (ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).","_id":"@calmdownval/eslint-import-resolver@1.1.0","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-ogSlxaXMh3deWnNDAo+qNt2B67I4VudowzAmvYHEq0R8ukm0vdWEOm4J7yZw/TrGI6XfoOOjl56Tj1VktwhHfg==","shasum":"f93f3f9adbdd276310bd7d3ea8cf31603ebe8334","tarball":"https://registry.npmjs.org/@calmdownval/eslint-import-resolver/-/eslint-import-resolver-1.1.0.tgz","fileCount":7,"unpackedSize":73376,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/u0QJknEpW4+aS9Qi8teK3pYSXfYa6qV3B3mdy1oxmAiEAvgpUHbOaRTLeDc224pF3O4rwI3cM9mDfyuRnFkWZgMI="}]},"_npmUser":{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"},"directories":{},"maintainers":[{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver_1.1.0_1697141573541_0.9761855395646291"},"_hasShrinkwrap":false},"1.1.1":{"name":"@calmdownval/eslint-import-resolver","version":"1.1.1","license":"ISC","packageManager":"yarn@3.6.1","exports":{".":{"require":"./build/index.min.cjs","import":"./build/index.min.mjs","types":"./build/index.d.ts"}},"scripts":{"build":"rollup --config"},"peerDependencies":{"eslint":"8.46.0"},"peerDependenciesMeta":{"eslint":{"optional":true}},"dependencies":{"debug":"4.3.4","enhanced-resolve":"5.15.0","fast-glob":"3.3.1","is-core-module":"2.12.1","jsonc-parser":"3.2.0"},"devDependencies":{"@calmdownval/eslint-config":"2.0.4","@calmdownval/eslint-import-resolver":"workspace:*","@rollup/plugin-terser":"0.4.3","@rollup/plugin-typescript":"11.1.2","@types/debug":"4.1.8","@types/is-core-module":"2.2.0","@types/node":"20.4.5","@typescript-eslint/eslint-plugin":"6.2.1","@typescript-eslint/parser":"6.2.1","eslint":"8.46.0","eslint-plugin-import":"2.28.0","rollup":"3.26.3","rollup-plugin-delete":"2.0.0","rollup-plugin-dts":"5.3.0","rollup-plugin-node-externals":"6.1.1","tslib":"2.6.1","typescript":"5.1.6"},"gitHead":"9f778f565f11b8b333e1a2c551c7f20a894925bf","description":"This is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) (ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).","_id":"@calmdownval/eslint-import-resolver@1.1.1","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-DKXXP7b1vMGvpvzCdEmcdo5w8NKm5flz9Cnc9h8FTEUs6hRJL6AiImtf8siiLO859WVcmaazGEOIrg0hEzmndA==","shasum":"d66816604c4618f4865c1cd3016a5ae2735b339e","tarball":"https://registry.npmjs.org/@calmdownval/eslint-import-resolver/-/eslint-import-resolver-1.1.1.tgz","fileCount":7,"unpackedSize":73054,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLEPYaHlZXs33eBepKvO40IgJKk/D5lydWQiMtuztUXAiApEIrgS+V6w2TInbfBB+3aFS+dod/fMwrc3xK0iKyh3g=="}]},"_npmUser":{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"},"directories":{},"maintainers":[{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver_1.1.1_1697157208598_0.19265960834293328"},"_hasShrinkwrap":false},"1.1.2":{"name":"@calmdownval/eslint-import-resolver","version":"1.1.2","license":"ISC","packageManager":"yarn@3.6.4","exports":{".":{"require":"./build/index.min.cjs","import":"./build/index.min.mjs","types":"./build/index.d.ts"}},"scripts":{"build":"rollup --config"},"peerDependencies":{"eslint":"8.51.0"},"peerDependenciesMeta":{"eslint":{"optional":true}},"dependencies":{"debug":"4.3.4","enhanced-resolve":"5.15.0","fast-glob":"3.3.1","is-core-module":"2.12.1","jsonc-parser":"3.2.0"},"devDependencies":{"@calmdownval/eslint-config":"2.1.4","@calmdownval/eslint-import-resolver":"workspace:*","@rollup/plugin-terser":"0.4.3","@rollup/plugin-typescript":"11.1.2","@types/debug":"4.1.8","@types/is-core-module":"2.2.0","@types/node":"20.4.5","@typescript-eslint/eslint-plugin":"6.7.5","@typescript-eslint/parser":"6.7.5","eslint":"8.51.0","eslint-plugin-import":"2.28.1","rollup":"3.26.3","rollup-plugin-delete":"2.0.0","rollup-plugin-dts":"5.3.0","rollup-plugin-node-externals":"6.1.1","tslib":"2.6.1","typescript":"5.1.6"},"gitHead":"a1861e8d745092bd81b5632b05650c92336d62da","description":"This is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) (ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).","_id":"@calmdownval/eslint-import-resolver@1.1.2","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Uk7hG5kAqZvpXHkylVGBT/3Npnj8Q7Uea/IF9PiWz862FLYjESzvqX3Ho6Y6pk+gPAQAtMYB6zGHx3ILMzAspQ==","shasum":"25f12ae18e800433ca96eceb0719c6cdaf085926","tarball":"https://registry.npmjs.org/@calmdownval/eslint-import-resolver/-/eslint-import-resolver-1.1.2.tgz","fileCount":7,"unpackedSize":73054,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjjkcG0cIRUNhqhtGC5yG0H3d0670WhuV4EquNf7xHXAiAcTQyGyjdwS3HVzOn36/5LYyD1rsBmchGAhywOF3ijjQ=="}]},"_npmUser":{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"},"directories":{},"maintainers":[{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver_1.1.2_1697157607037_0.5364763136816506"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-05T16:01:07.970Z","1.0.0":"2023-08-05T16:01:08.209Z","modified":"2023-10-13T00:40:07.438Z","1.1.0":"2023-10-12T20:12:53.810Z","1.1.1":"2023-10-13T00:33:28.829Z","1.1.2":"2023-10-13T00:40:07.241Z"},"maintainers":[{"name":"calmdownval","email":"vaclav.lahuta@gmail.com"}],"description":"This is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript) (ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).","license":"ISC","readme":"# eslint-import-resolver-typescript\n\nThis is a re-implementation of [eslint-import-resolver-typescript](https://github.com/alexgorbatchev/eslint-import-resolver-typescript)\n(ISC license) by [Alex Gorbatchev](https://github.com/alexgorbatchev).\n\nThis version adds logic to take the location of tsconfig into account and won't\napply path mapping outside of its package.\n\n## Example\n\n```txt\n├─ packages\n│  ├─ client\n│  │  ├─ src\n│  │  │  └─ utils\n│  │  │     └─ constants.ts\n│  │  ├─ package.json\n│  │  └─ tsconfig.json\n│  └─ server\n│     ├─ src\n│     │  └─ utils\n│     │     └─ constants.ts\n│     ├─ package.json\n│     └─ tsconfig.json\n├─ .eslintrc\n└─ package.json\n```\n\nAssume `~/*` maps to the `src` directory in both packages. Since the original\nimplementation uses all tsconfigs at once, resolving `~/utils/constants` yields\ntwo paths:\n\n- `packages/client/src/utils/constants.ts`\n- `packages/server/src/utils/constants.ts`\n\nThe original version then blindly returns the first one found, which means the\nresolution works correctly only for the first package. For the second package,\nthe resolution algorithm will point to the wrong file.\n\nThis version considers the location of tsconfig and won't apply path patterns\ndefined in configs that don't relate to the file being linted.\n\n## Debugging\n\nTo show debug logs from this resolver, run ESLint with the DEBUG environment\nvariable set:\n\n```sh\n# Bash\nDEBUG=\"eslint-import-resolver-typescript\" yarn eslint .\n\n# PowerShell\n& { $env:DEBUG='eslint-import-resolver-typescript'; yarn eslint . }\n```\n\n## Changelog\n\n- 1.2.0\n  - Updated to work with Yarn's PnP loader.\n- 1.1.0\n  - Fixed resolution for projects with nested TS config files.\n- 1.0.0\n  - Initial implementation.\n","readmeFilename":"readme.md"}