diff --git a/packages/core/src/internal/checks/namedExports.ts b/packages/core/src/internal/checks/namedExports.ts index 66fa5d5..2ece7ac 100644 --- a/packages/core/src/internal/checks/namedExports.ts +++ b/packages/core/src/internal/checks/namedExports.ts @@ -7,7 +7,7 @@ export default defineCheck({ name: "NamedExports", dependencies: ({ entrypoints, subpath, resolutionKind, programInfo }) => { const entrypoint = entrypoints[subpath].resolutions[resolutionKind]; - const typesFileName = entrypoint.resolution?.fileName; + const typesFileName = entrypoint.resolution?.isTypeScript && entrypoint.resolution.fileName; const resolutionOption = getResolutionOption(resolutionKind); const typesModuleKind = typesFileName ? programInfo[resolutionOption].moduleKinds?.[typesFileName] : undefined; const implementationFileName = entrypoint.implementationResolution?.fileName; diff --git a/packages/core/test/fixtures/eslint-plugin-jsdoc@48.9.1.tgz b/packages/core/test/fixtures/eslint-plugin-jsdoc@48.9.1.tgz new file mode 100644 index 0000000..259073f Binary files /dev/null and b/packages/core/test/fixtures/eslint-plugin-jsdoc@48.9.1.tgz differ diff --git a/packages/core/test/snapshots/eslint-plugin-jsdoc@48.9.1.tgz.json b/packages/core/test/snapshots/eslint-plugin-jsdoc@48.9.1.tgz.json new file mode 100644 index 0000000..14cafe6 --- /dev/null +++ b/packages/core/test/snapshots/eslint-plugin-jsdoc@48.9.1.tgz.json @@ -0,0 +1,789 @@ +{ + "packageName": "eslint-plugin-jsdoc", + "packageVersion": "48.9.1", + "types": { + "kind": "included" + }, + "buildTools": { + "typescript": "5.5.x" + }, + "entrypoints": { + ".": { + "subpath": ".", + "resolutions": { + "node10": { + "name": ".", + "resolutionKind": "node10", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts", + "isJson": false, + "isTypeScript": true, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Found 'package.json' at '/node_modules/eslint-plugin-jsdoc/package.json'.", + "File '/node_modules/eslint-plugin-jsdoc.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc.tsx' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc.d.ts' does not exist.", + "'package.json' does not have a 'typesVersions' field.", + "'package.json' does not have a 'typings' field.", + "'package.json' has 'types' field './dist/index.d.ts' that references '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' exists - use it as a name resolution result.", + "'package.json' has a 'peerDependencies' field.", + "Failed to find peerDependency 'eslint'.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' with Package ID 'eslint-plugin-jsdoc/dist/index.d.ts@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/index.cjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "Found 'package.json' at '/node_modules/eslint-plugin-jsdoc/package.json'.", + "File '/node_modules/eslint-plugin-jsdoc.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc.tsx' does not exist.", + "'package.json' does not have a 'typesVersions' field.", + "'package.json' has 'main' field './dist/index.cjs' that references '/node_modules/eslint-plugin-jsdoc/dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/dist/index.cjs', target file types: TypeScript.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cjs.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cjs.tsx' does not exist.", + "Directory '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' does not exist, skipping all lookups in it.", + "File '/node_modules/eslint-plugin-jsdoc/index.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/index.tsx' does not exist.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "File '/node_modules/eslint-plugin-jsdoc.js' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc.jsx' does not exist.", + "'package.json' has 'main' field './dist/index.cjs' that references '/node_modules/eslint-plugin-jsdoc/dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' exists - use it as a name resolution result.", + "'package.json' has a 'peerDependencies' field.", + "Failed to find peerDependency 'eslint'.", + "Resolution of non-relative name failed; trying with '--moduleResolution bundler' to see if project may need configuration update.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath '.' with target './src/index.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.tsx' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' with Package ID 'eslint-plugin-jsdoc/dist/index.cjs@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts", + "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts" + ], + "visibleProblems": [] + }, + "node16-cjs": { + "name": ".", + "resolutionKind": "node16-cjs", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts", + "isJson": false, + "isTypeScript": true, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in CJS mode with conditions 'require', 'types', 'node'.", + "File '/package.json' does not exist.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Found 'package.json' at '/node_modules/eslint-plugin-jsdoc/package.json'.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath '.' with target './dist/index.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' exists - use it as a name resolution result.", + "'package.json' has a 'peerDependencies' field.", + "Failed to find peerDependency 'eslint'.", + "Resolved under condition 'types'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' with Package ID 'eslint-plugin-jsdoc/dist/index.d.ts@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/index.cjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in CJS mode with conditions 'require', 'node'.", + "File '/package.json' does not exist.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "Found 'package.json' at '/node_modules/eslint-plugin-jsdoc/package.json'.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath '.' with target './dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "Failed to resolve under condition 'require'.", + "Exiting conditional exports.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath '.' with target './dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' exists - use it as a name resolution result.", + "'package.json' has a 'peerDependencies' field.", + "Failed to find peerDependency 'eslint'.", + "Resolved under condition 'require'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' with Package ID 'eslint-plugin-jsdoc/dist/index.cjs@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts", + "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts" + ], + "visibleProblems": [ + 0 + ] + }, + "node16-esm": { + "name": ".", + "resolutionKind": "node16-esm", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts", + "isJson": false, + "isTypeScript": true, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.mts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in ESM mode with conditions 'import', 'types', 'node'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath '.' with target './dist/index.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' exists - use it as a name resolution result.", + "Resolved under condition 'types'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' with Package ID 'eslint-plugin-jsdoc/dist/index.d.ts@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/src/index.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.mts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in ESM mode with conditions 'import', 'node'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath '.' with target './src/index.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.tsx' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath '.' with target './src/index.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.js' exists - use it as a name resolution result.", + "Resolved under condition 'import'.", + "Exiting conditional exports.", + "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "'package.json' does not have a 'typesVersions' field.", + "'package.json' has 'main' field './dist/index.cjs' that references '/node_modules/eslint-plugin-jsdoc/dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/dist/index.cjs', target file types: TypeScript.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "Directory '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' does not exist, skipping all lookups in it.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/src/index.js' with Package ID 'eslint-plugin-jsdoc/src/index.js@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts", + "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts" + ], + "visibleProblems": [] + }, + "bundler": { + "name": ".", + "resolutionKind": "bundler", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts", + "isJson": false, + "isTypeScript": true, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import', 'types'.", + "File '/package.json' does not exist.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Found 'package.json' at '/node_modules/eslint-plugin-jsdoc/package.json'.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath '.' with target './dist/index.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' exists - use it as a name resolution result.", + "'package.json' has a 'peerDependencies' field.", + "Failed to find peerDependency 'eslint'.", + "Resolved under condition 'types'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/index.d.ts' with Package ID 'eslint-plugin-jsdoc/dist/index.d.ts@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/src/index.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import'.", + "File '/package.json' does not exist.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "Found 'package.json' at '/node_modules/eslint-plugin-jsdoc/package.json'.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath '.' with target './src/index.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.tsx' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath '.' with target './src/index.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/index.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/index.js' exists - use it as a name resolution result.", + "'package.json' has a 'peerDependencies' field.", + "Failed to find peerDependency 'eslint'.", + "Resolved under condition 'import'.", + "Exiting conditional exports.", + "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "File '/node_modules/eslint-plugin-jsdoc.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc.tsx' does not exist.", + "'package.json' does not have a 'typesVersions' field.", + "'package.json' has 'main' field './dist/index.cjs' that references '/node_modules/eslint-plugin-jsdoc/dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/dist/index.cjs', target file types: TypeScript.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cjs.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/index.cjs.tsx' does not exist.", + "Directory '/node_modules/eslint-plugin-jsdoc/dist/index.cjs' does not exist, skipping all lookups in it.", + "File '/node_modules/eslint-plugin-jsdoc/index.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/index.tsx' does not exist.", + "======== Module name 'eslint-plugin-jsdoc' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/src/index.js' with Package ID 'eslint-plugin-jsdoc/src/index.js@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts", + "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts" + ], + "visibleProblems": [] + } + }, + "hasTypes": true, + "isWildcard": false + }, + "./getJsdocProcessorPlugin.js": { + "subpath": "./getJsdocProcessorPlugin.js", + "resolutions": { + "node10": { + "name": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node10", + "visibleProblems": [ + 1 + ] + }, + "node16-cjs": { + "name": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-cjs", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in CJS mode with conditions 'require', 'types', 'node'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.ts' does not exist.", + "Failed to resolve under condition 'types'.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './src/getJsdocProcessorPlugin.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.tsx' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.d.ts' does not exist.", + "Failed to resolve under condition 'require'.", + "Exiting conditional exports.", + "Export specifier './getJsdocProcessorPlugin.js' does not exist in package.json scope at path '/node_modules/eslint-plugin-jsdoc'.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "File name '/node_modules/@types/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.d.ts'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.ts' has a '.d.ts' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.js' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.jsx' does not exist.", + "Failed to resolve under condition 'types'.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './src/getJsdocProcessorPlugin.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' exists - use it as a name resolution result.", + "Resolved under condition 'require'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' with Package ID 'eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in CJS mode with conditions 'require', 'node'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './src/getJsdocProcessorPlugin.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.tsx' does not exist.", + "Failed to resolve under condition 'require'.", + "Exiting conditional exports.", + "Export specifier './getJsdocProcessorPlugin.js' does not exist in package.json scope at path '/node_modules/eslint-plugin-jsdoc'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Saw non-matching condition 'import'.", + "Matched 'exports' condition 'require'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './src/getJsdocProcessorPlugin.js'.", + "File name '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' exists - use it as a name resolution result.", + "Resolved under condition 'require'.", + "Exiting conditional exports.", + "======== Module name 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js' with Package ID 'eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 2, + 3, + 4 + ] + }, + "node16-esm": { + "name": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-esm", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from '/index.mts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in ESM mode with conditions 'import', 'types', 'node'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.ts' does not exist.", + "Failed to resolve under condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.cts' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "Export specifier './getJsdocProcessorPlugin.js' does not exist in package.json scope at path '/node_modules/eslint-plugin-jsdoc'.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "File name '/node_modules/@types/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.d.ts'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.ts' has a '.d.ts' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.js' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.jsx' does not exist.", + "Failed to resolve under condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' exists - use it as a name resolution result.", + "Resolved under condition 'import'.", + "Exiting conditional exports.", + "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "'package.json' does not have a 'typesVersions' field.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.tsx' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.d.ts' does not exist.", + "'package.json' does not have a 'typings' field.", + "'package.json' has 'types' field './dist/index.d.ts' that references '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.d.ts'.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.d.ts', target file types: TypeScript, Declaration.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.d.ts' has a '.d.ts' extension - stripping it.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "File name '/node_modules/@types/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "======== Module name 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' with Package ID 'eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from '/index.mts'. ========", + "Explicitly specified module resolution kind: 'Node16'.", + "Resolving in ESM mode with conditions 'import', 'node'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cts' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "Export specifier './getJsdocProcessorPlugin.js' does not exist in package.json scope at path '/node_modules/eslint-plugin-jsdoc'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' exists - use it as a name resolution result.", + "Resolved under condition 'import'.", + "Exiting conditional exports.", + "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.tsx' does not exist.", + "'package.json' has 'main' field './dist/index.cjs' that references '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs' has a '.cjs' extension - stripping it.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs', target file types: TypeScript.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs' has a '.cjs' extension - stripping it.", + "======== Module name 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' with Package ID 'eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 5, + 6 + ] + }, + "bundler": { + "name": "./getJsdocProcessorPlugin.js", + "resolutionKind": "bundler", + "resolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import', 'types'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.d.ts'.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.ts' does not exist.", + "Failed to resolve under condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.cts' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "Export specifier './getJsdocProcessorPlugin.js' does not exist in package.json scope at path '/node_modules/eslint-plugin-jsdoc'.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "File name '/node_modules/@types/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Matched 'exports' condition 'types'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.d.ts'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.d.ts' has a '.d.ts' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.js' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.jsx' does not exist.", + "Failed to resolve under condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' exists - use it as a name resolution result.", + "Resolved under condition 'import'.", + "Exiting conditional exports.", + "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "'package.json' does not have a 'typesVersions' field.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.tsx' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.d.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js.tsx' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js.d.ts' does not exist.", + "'package.json' does not have a 'typings' field.", + "'package.json' has 'types' field './dist/index.d.ts' that references '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.d.ts'.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.d.ts', target file types: TypeScript, Declaration.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.d.ts' has a '.d.ts' extension - stripping it.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "File name '/node_modules/@types/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "======== Module name 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' with Package ID 'eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs@48.9.1'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import'.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cts' does not exist.", + "Failed to resolve under condition 'import'.", + "Saw non-matching condition 'require'.", + "Exiting conditional exports.", + "Export specifier './getJsdocProcessorPlugin.js' does not exist in package.json scope at path '/node_modules/eslint-plugin-jsdoc'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "Entering conditional exports.", + "Saw non-matching condition 'types'.", + "Matched 'exports' condition 'import'.", + "Using 'exports' subpath './getJsdocProcessorPlugin.js' with target './dist/getJsdocProcessorPlugin.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' has a '.cjs' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' exists - use it as a name resolution result.", + "Resolved under condition 'import'.", + "Exiting conditional exports.", + "Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update.", + "File '/package.json' does not exist according to earlier cached lookups.", + "Loading module 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/eslint-plugin-jsdoc/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' has a '.js' extension - stripping it.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.tsx' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js.ts' does not exist.", + "File '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js.tsx' does not exist.", + "'package.json' has 'main' field './dist/index.cjs' that references '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs'.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs' has a '.cjs' extension - stripping it.", + "Loading module as file / folder, candidate module location '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs', target file types: TypeScript.", + "File name '/node_modules/eslint-plugin-jsdoc/getJsdocProcessorPlugin.js/dist/index.cjs' has a '.cjs' extension - stripping it.", + "======== Module name 'eslint-plugin-jsdoc/getJsdocProcessorPlugin.js' was successfully resolved to '/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs' with Package ID 'eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs@48.9.1'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 7, + 8 + ] + } + }, + "hasTypes": false, + "isWildcard": false + } + }, + "programInfo": { + "node10": {}, + "node16": { + "moduleKinds": { + "/node_modules/typescript/lib/lib.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/typescript/lib/lib.d.ts" + }, + "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/package.json" + }, + "/node_modules/eslint-plugin-jsdoc/dist/index.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/dist/index.cjs" + }, + "/node_modules/eslint-plugin-jsdoc/src/getJsdocProcessorPlugin.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/package.json" + }, + "/node_modules/eslint-plugin-jsdoc/src/index.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/package.json" + }, + "/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/dist/getJsdocProcessorPlugin.cjs" + } + } + }, + "bundler": {} + }, + "problems": [ + { + "kind": "FalseESM", + "typesFileName": "/node_modules/eslint-plugin-jsdoc/dist/index.d.ts", + "implementationFileName": "/node_modules/eslint-plugin-jsdoc/dist/index.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/eslint-plugin-jsdoc/dist/index.cjs" + } + }, + { + "kind": "NoResolution", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node10" + }, + { + "kind": "UntypedResolution", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-cjs" + }, + { + "kind": "CJSResolvesToESM", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-cjs" + }, + { + "kind": "FallbackCondition", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-cjs" + }, + { + "kind": "UntypedResolution", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-esm" + }, + { + "kind": "FallbackCondition", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "node16-esm" + }, + { + "kind": "UntypedResolution", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "bundler" + }, + { + "kind": "FallbackCondition", + "entrypoint": "./getJsdocProcessorPlugin.js", + "resolutionKind": "bundler" + } + ] +}