From 58dbbc9668393e29a243003f262a77c6390e5760 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Sat, 7 Oct 2023 18:41:52 -0700 Subject: [PATCH 1/6] Define checks in terms of their dependencies --- .vscode/settings.json | 3 +- package-lock.json | 717 ++++++------------ package.json | 4 +- packages/cli/src/problemUtils.ts | 1 - packages/cli/src/render/typed.ts | 17 +- packages/core/src/checkPackage.ts | 113 ++- .../checks/entrypointResolutionProblems.ts | 120 --- packages/core/src/checks/fileProblems.ts | 43 -- .../src/checks/resolutionBasedFileProblems.ts | 104 --- .../internal/checks/cjsOnlyExportsDefault.ts | 33 + .../internal/checks/entrypointResolutions.ts | 48 ++ .../checks/exportDefaultDisagreement.ts | 60 ++ packages/core/src/internal/checks/index.ts | 15 + .../checks/internalResolutionError.ts | 46 ++ .../internal/checks/moduleKindDisagreement.ts | 44 ++ .../internal/checks/unexpectedModuleSyntax.ts | 34 + packages/core/src/internal/defineCheck.ts | 55 ++ packages/core/src/multiCompilerHost.ts | 57 +- packages/core/src/problems.ts | 83 +- packages/core/src/types.ts | 110 ++- packages/core/src/utils.ts | 58 +- packages/web/package.json | 4 +- packages/web/src/views/ChecksTable.ts | 19 +- 23 files changed, 822 insertions(+), 966 deletions(-) delete mode 100644 packages/core/src/checks/entrypointResolutionProblems.ts delete mode 100644 packages/core/src/checks/fileProblems.ts delete mode 100644 packages/core/src/checks/resolutionBasedFileProblems.ts create mode 100644 packages/core/src/internal/checks/cjsOnlyExportsDefault.ts create mode 100644 packages/core/src/internal/checks/entrypointResolutions.ts create mode 100644 packages/core/src/internal/checks/exportDefaultDisagreement.ts create mode 100644 packages/core/src/internal/checks/index.ts create mode 100644 packages/core/src/internal/checks/internalResolutionError.ts create mode 100644 packages/core/src/internal/checks/moduleKindDisagreement.ts create mode 100644 packages/core/src/internal/checks/unexpectedModuleSyntax.ts create mode 100644 packages/core/src/internal/defineCheck.ts diff --git a/.vscode/settings.json b/.vscode/settings.json index 212ed44..593b90e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,5 +14,6 @@ }, "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" - } + }, + "typescript.tsdk": "node_modules/typescript/lib" } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 184d526..98df12f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,8 +13,8 @@ "@changesets/cli": "^2.26.1", "@types/node": "^18.11.18", "esbuild": "^0.18.12", - "prettier": "^2.8.3", - "typescript": "^5.1.3" + "prettier": "^3.0.3", + "typescript": "^5.3.0-dev.20231007" } }, "node_modules/@andrewbranch/json-view": { @@ -307,6 +307,21 @@ "semver": "^5.4.1" } }, + "node_modules/@changesets/apply-release-plan/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/@changesets/apply-release-plan/node_modules/semver": { "version": "5.7.1", "dev": true, @@ -755,6 +770,21 @@ "prettier": "^2.7.1" } }, + "node_modules/@changesets/write/node_modules/prettier": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz", + "integrity": "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/@colors/colors": { "version": "1.5.0", "license": "MIT", @@ -4481,9 +4511,16 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.4", + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz", + "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==", "dev": true, - "license": "MIT", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -5024,8 +5061,9 @@ }, "node_modules/picocolors": { "version": "1.0.0", - "dev": true, - "license": "ISC" + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -5058,7 +5096,9 @@ } }, "node_modules/postcss": { - "version": "8.4.21", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "dev": true, "funding": [ { @@ -5068,11 +5108,14 @@ { "type": "tidelift", "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } ], - "license": "MIT", "dependencies": { - "nanoid": "^3.3.4", + "nanoid": "^3.3.6", "picocolors": "^1.0.0", "source-map-js": "^1.0.2" }, @@ -5152,14 +5195,15 @@ } }, "node_modules/prettier": { - "version": "2.8.3", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.0.3.tgz", + "integrity": "sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==", "dev": true, - "license": "MIT", "bin": { - "prettier": "bin-prettier.js" + "prettier": "bin/prettier.cjs" }, "engines": { - "node": ">=10.13.0" + "node": ">=14" }, "funding": { "url": "https://github.com/prettier/prettier?sponsor=1" @@ -5552,9 +5596,10 @@ } }, "node_modules/rollup": { - "version": "3.10.1", + "version": "3.29.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz", + "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==", "dev": true, - "license": "MIT", "bin": { "rollup": "dist/bin/rollup" }, @@ -5830,8 +5875,9 @@ }, "node_modules/source-map-js": { "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", "dev": true, - "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } @@ -6249,9 +6295,10 @@ "dev": true }, "node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "version": "5.3.0-dev.20231007", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.0-dev.20231007.tgz", + "integrity": "sha512-yNeHmU15JtC5TgUuiCaywQqtVJ6Q1T6mNwDg5N1ObnctoaqBrZ0FGy37NP0Y/UnJUhZxgcYrIb1gcial4fUiyA==", + "dev": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6341,14 +6388,14 @@ } }, "node_modules/vite": { - "version": "4.0.4", + "version": "4.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-4.4.11.tgz", + "integrity": "sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==", "dev": true, - "license": "MIT", "dependencies": { - "esbuild": "^0.16.3", - "postcss": "^8.4.20", - "resolve": "^1.22.1", - "rollup": "^3.7.0" + "esbuild": "^0.18.10", + "postcss": "^8.4.27", + "rollup": "^3.27.1" }, "bin": { "vite": "bin/vite.js" @@ -6356,12 +6403,16 @@ "engines": { "node": "^14.18.0 || >=16.0.0" }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, "optionalDependencies": { "fsevents": "~2.3.2" }, "peerDependencies": { "@types/node": ">= 14", "less": "*", + "lightningcss": "^1.21.0", "sass": "*", "stylus": "*", "sugarss": "*", @@ -6374,6 +6425,9 @@ "less": { "optional": true }, + "lightningcss": { + "optional": true + }, "sass": { "optional": true }, @@ -6388,393 +6442,6 @@ } } }, - "node_modules/vite/node_modules/@esbuild/android-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", - "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", - "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/android-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", - "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/darwin-arm64": { - "version": "0.16.17", - "cpu": [ - "arm64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/darwin-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", - "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/freebsd-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", - "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/freebsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", - "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", - "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", - "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", - "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-loong64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", - "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-mips64el": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", - "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-ppc64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", - "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-riscv64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", - "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-s390x": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", - "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/linux-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", - "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/netbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", - "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/openbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", - "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/sunos-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", - "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", - "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", - "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/@esbuild/win32-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", - "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/vite/node_modules/esbuild": { - "version": "0.16.17", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/android-arm": "0.16.17", - "@esbuild/android-arm64": "0.16.17", - "@esbuild/android-x64": "0.16.17", - "@esbuild/darwin-arm64": "0.16.17", - "@esbuild/darwin-x64": "0.16.17", - "@esbuild/freebsd-arm64": "0.16.17", - "@esbuild/freebsd-x64": "0.16.17", - "@esbuild/linux-arm": "0.16.17", - "@esbuild/linux-arm64": "0.16.17", - "@esbuild/linux-ia32": "0.16.17", - "@esbuild/linux-loong64": "0.16.17", - "@esbuild/linux-mips64el": "0.16.17", - "@esbuild/linux-ppc64": "0.16.17", - "@esbuild/linux-riscv64": "0.16.17", - "@esbuild/linux-s390x": "0.16.17", - "@esbuild/linux-x64": "0.16.17", - "@esbuild/netbsd-x64": "0.16.17", - "@esbuild/openbsd-x64": "0.16.17", - "@esbuild/sunos-x64": "0.16.17", - "@esbuild/win32-arm64": "0.16.17", - "@esbuild/win32-ia32": "0.16.17", - "@esbuild/win32-x64": "0.16.17" - } - }, "node_modules/wcwidth": { "version": "1.0.1", "dev": true, @@ -6999,7 +6666,7 @@ }, "packages/cli": { "name": "@arethetypeswrong/cli", - "version": "0.10.2", + "version": "0.11.0", "license": "MIT", "dependencies": { "@arethetypeswrong/core": "0.10.2", @@ -7034,6 +6701,19 @@ "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==", "dev": true }, + "packages/cli/node_modules/typescript": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/core": { "name": "@arethetypeswrong/core", "version": "0.10.2", @@ -7058,6 +6738,18 @@ "dev": true, "license": "MIT" }, + "packages/core/node_modules/typescript": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/history": { "name": "@arethetypeswrong/history", "version": "0.3.1", @@ -7109,6 +6801,19 @@ "url": "https://opencollective.com/node-fetch" } }, + "packages/history/node_modules/typescript": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, "packages/web": { "name": "@arethetypeswrong/web", "version": "0.0.1", @@ -7123,14 +6828,14 @@ "devDependencies": { "@types/marked": "^5.0.0", "@types/nprogress": "^0.2.0", - "esbuild": "^0.17.4", - "vite": "^4.0.4" + "esbuild": "^0.19.4", + "vite": "^4.4.11" } }, "packages/web/node_modules/@esbuild/android-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.17.19.tgz", - "integrity": "sha512-rIKddzqhmav7MSmoFCmDIb6e2W57geRsM94gV2l38fzhXMwq7hZoClug9USI2pFRGL06f4IOPHHpFNOkWieR8A==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.4.tgz", + "integrity": "sha512-uBIbiYMeSsy2U0XQoOGVVcpIktjLMEKa7ryz2RLr7L/vTnANNEsPVAh4xOv7ondGz6ac1zVb0F8Jx20rQikffQ==", "cpu": [ "arm" ], @@ -7144,9 +6849,9 @@ } }, "packages/web/node_modules/@esbuild/android-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.17.19.tgz", - "integrity": "sha512-KBMWvEZooR7+kzY0BtbTQn0OAYY7CsiydT63pVEaPtVYF0hXbUaOyZog37DKxK7NF3XacBJOpYT4adIJh+avxA==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.4.tgz", + "integrity": "sha512-mRsi2vJsk4Bx/AFsNBqOH2fqedxn5L/moT58xgg51DjX1la64Z3Npicut2VbhvDFO26qjWtPMsVxCd80YTFVeg==", "cpu": [ "arm64" ], @@ -7160,9 +6865,9 @@ } }, "packages/web/node_modules/@esbuild/android-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.17.19.tgz", - "integrity": "sha512-uUTTc4xGNDT7YSArp/zbtmbhO0uEEK9/ETW29Wk1thYUJBz3IVnvgEiEwEa9IeLyvnpKrWK64Utw2bgUmDveww==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.4.tgz", + "integrity": "sha512-4iPufZ1TMOD3oBlGFqHXBpa3KFT46aLl6Vy7gwed0ZSYgHaZ/mihbYb4t7Z9etjkC9Al3ZYIoOaHrU60gcMy7g==", "cpu": [ "x64" ], @@ -7176,9 +6881,9 @@ } }, "packages/web/node_modules/@esbuild/darwin-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.17.19.tgz", - "integrity": "sha512-80wEoCfF/hFKM6WE1FyBHc9SfUblloAWx6FJkFWTWiCoht9Mc0ARGEM47e67W9rI09YoUxJL68WHfDRYEAvOhg==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.4.tgz", + "integrity": "sha512-Lviw8EzxsVQKpbS+rSt6/6zjn9ashUZ7Tbuvc2YENgRl0yZTktGlachZ9KMJUsVjZEGFVu336kl5lBgDN6PmpA==", "cpu": [ "arm64" ], @@ -7192,9 +6897,9 @@ } }, "packages/web/node_modules/@esbuild/darwin-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.17.19.tgz", - "integrity": "sha512-IJM4JJsLhRYr9xdtLytPLSH9k/oxR3boaUIYiHkAawtwNOXKE8KoU8tMvryogdcT8AU+Bflmh81Xn6Q0vTZbQw==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.4.tgz", + "integrity": "sha512-YHbSFlLgDwglFn0lAO3Zsdrife9jcQXQhgRp77YiTDja23FrC2uwnhXMNkAucthsf+Psr7sTwYEryxz6FPAVqw==", "cpu": [ "x64" ], @@ -7208,9 +6913,9 @@ } }, "packages/web/node_modules/@esbuild/freebsd-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.19.tgz", - "integrity": "sha512-pBwbc7DufluUeGdjSU5Si+P3SoMF5DQ/F/UmTSb8HXO80ZEAJmrykPyzo1IfNbAoaqw48YRpv8shwd1NoI0jcQ==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.4.tgz", + "integrity": "sha512-vz59ijyrTG22Hshaj620e5yhs2dU1WJy723ofc+KUgxVCM6zxQESmWdMuVmUzxtGqtj5heHyB44PjV/HKsEmuQ==", "cpu": [ "arm64" ], @@ -7224,9 +6929,9 @@ } }, "packages/web/node_modules/@esbuild/freebsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.17.19.tgz", - "integrity": "sha512-4lu+n8Wk0XlajEhbEffdy2xy53dpR06SlzvhGByyg36qJw6Kpfk7cp45DR/62aPH9mtJRmIyrXAS5UWBrJT6TQ==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.4.tgz", + "integrity": "sha512-3sRbQ6W5kAiVQRBWREGJNd1YE7OgzS0AmOGjDmX/qZZecq8NFlQsQH0IfXjjmD0XtUYqr64e0EKNFjMUlPL3Cw==", "cpu": [ "x64" ], @@ -7240,9 +6945,9 @@ } }, "packages/web/node_modules/@esbuild/linux-arm": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.17.19.tgz", - "integrity": "sha512-cdmT3KxjlOQ/gZ2cjfrQOtmhG4HJs6hhvm3mWSRDPtZ/lP5oe8FWceS10JaSJC13GBd4eH/haHnqf7hhGNLerA==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.4.tgz", + "integrity": "sha512-z/4ArqOo9EImzTi4b6Vq+pthLnepFzJ92BnofU1jgNlcVb+UqynVFdoXMCFreTK7FdhqAzH0vmdwW5373Hm9pg==", "cpu": [ "arm" ], @@ -7256,9 +6961,9 @@ } }, "packages/web/node_modules/@esbuild/linux-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.17.19.tgz", - "integrity": "sha512-ct1Tg3WGwd3P+oZYqic+YZF4snNl2bsnMKRkb3ozHmnM0dGWuxcPTTntAF6bOP0Sp4x0PjSF+4uHQ1xvxfRKqg==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.4.tgz", + "integrity": "sha512-ZWmWORaPbsPwmyu7eIEATFlaqm0QGt+joRE9sKcnVUG3oBbr/KYdNE2TnkzdQwX6EDRdg/x8Q4EZQTXoClUqqA==", "cpu": [ "arm64" ], @@ -7272,9 +6977,9 @@ } }, "packages/web/node_modules/@esbuild/linux-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.17.19.tgz", - "integrity": "sha512-w4IRhSy1VbsNxHRQpeGCHEmibqdTUx61Vc38APcsRbuVgK0OPEnQ0YD39Brymn96mOx48Y2laBQGqgZ0j9w6SQ==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.4.tgz", + "integrity": "sha512-EGc4vYM7i1GRUIMqRZNCTzJh25MHePYsnQfKDexD8uPTCm9mK56NIL04LUfX2aaJ+C9vyEp2fJ7jbqFEYgO9lQ==", "cpu": [ "ia32" ], @@ -7288,9 +6993,9 @@ } }, "packages/web/node_modules/@esbuild/linux-loong64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.17.19.tgz", - "integrity": "sha512-2iAngUbBPMq439a+z//gE+9WBldoMp1s5GWsUSgqHLzLJ9WoZLZhpwWuym0u0u/4XmZ3gpHmzV84PonE+9IIdQ==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.4.tgz", + "integrity": "sha512-WVhIKO26kmm8lPmNrUikxSpXcgd6HDog0cx12BUfA2PkmURHSgx9G6vA19lrlQOMw+UjMZ+l3PpbtzffCxFDRg==", "cpu": [ "loong64" ], @@ -7304,9 +7009,9 @@ } }, "packages/web/node_modules/@esbuild/linux-mips64el": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.17.19.tgz", - "integrity": "sha512-LKJltc4LVdMKHsrFe4MGNPp0hqDFA1Wpt3jE1gEyM3nKUvOiO//9PheZZHfYRfYl6AwdTH4aTcXSqBerX0ml4A==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.4.tgz", + "integrity": "sha512-keYY+Hlj5w86hNp5JJPuZNbvW4jql7c1eXdBUHIJGTeN/+0QFutU3GrS+c27L+NTmzi73yhtojHk+lr2+502Mw==", "cpu": [ "mips64el" ], @@ -7320,9 +7025,9 @@ } }, "packages/web/node_modules/@esbuild/linux-ppc64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.17.19.tgz", - "integrity": "sha512-/c/DGybs95WXNS8y3Ti/ytqETiW7EU44MEKuCAcpPto3YjQbyK3IQVKfF6nbghD7EcLUGl0NbiL5Rt5DMhn5tg==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.4.tgz", + "integrity": "sha512-tQ92n0WMXyEsCH4m32S21fND8VxNiVazUbU4IUGVXQpWiaAxOBvtOtbEt3cXIV3GEBydYsY8pyeRMJx9kn3rvw==", "cpu": [ "ppc64" ], @@ -7336,9 +7041,9 @@ } }, "packages/web/node_modules/@esbuild/linux-riscv64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.17.19.tgz", - "integrity": "sha512-FC3nUAWhvFoutlhAkgHf8f5HwFWUL6bYdvLc/TTuxKlvLi3+pPzdZiFKSWz/PF30TB1K19SuCxDTI5KcqASJqA==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.4.tgz", + "integrity": "sha512-tRRBey6fG9tqGH6V75xH3lFPpj9E8BH+N+zjSUCnFOX93kEzqS0WdyJHkta/mmJHn7MBaa++9P4ARiU4ykjhig==", "cpu": [ "riscv64" ], @@ -7352,9 +7057,9 @@ } }, "packages/web/node_modules/@esbuild/linux-s390x": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.17.19.tgz", - "integrity": "sha512-IbFsFbxMWLuKEbH+7sTkKzL6NJmG2vRyy6K7JJo55w+8xDk7RElYn6xvXtDW8HCfoKBFK69f3pgBJSUSQPr+4Q==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.4.tgz", + "integrity": "sha512-152aLpQqKZYhThiJ+uAM4PcuLCAOxDsCekIbnGzPKVBRUDlgaaAfaUl5NYkB1hgY6WN4sPkejxKlANgVcGl9Qg==", "cpu": [ "s390x" ], @@ -7368,9 +7073,9 @@ } }, "packages/web/node_modules/@esbuild/linux-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.17.19.tgz", - "integrity": "sha512-68ngA9lg2H6zkZcyp22tsVt38mlhWde8l3eJLWkyLrp4HwMUr3c1s/M2t7+kHIhvMjglIBrFpncX1SzMckomGw==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.4.tgz", + "integrity": "sha512-Mi4aNA3rz1BNFtB7aGadMD0MavmzuuXNTaYL6/uiYIs08U7YMPETpgNn5oue3ICr+inKwItOwSsJDYkrE9ekVg==", "cpu": [ "x64" ], @@ -7384,9 +7089,9 @@ } }, "packages/web/node_modules/@esbuild/netbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.17.19.tgz", - "integrity": "sha512-CwFq42rXCR8TYIjIfpXCbRX0rp1jo6cPIUPSaWwzbVI4aOfX96OXY8M6KNmtPcg7QjYeDmN+DD0Wp3LaBOLf4Q==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.4.tgz", + "integrity": "sha512-9+Wxx1i5N/CYo505CTT7T+ix4lVzEdz0uCoYGxM5JDVlP2YdDC1Bdz+Khv6IbqmisT0Si928eAxbmGkcbiuM/A==", "cpu": [ "x64" ], @@ -7400,9 +7105,9 @@ } }, "packages/web/node_modules/@esbuild/openbsd-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.17.19.tgz", - "integrity": "sha512-cnq5brJYrSZ2CF6c35eCmviIN3k3RczmHz8eYaVlNasVqsNY+JKohZU5MKmaOI+KkllCdzOKKdPs762VCPC20g==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.4.tgz", + "integrity": "sha512-MFsHleM5/rWRW9EivFssop+OulYVUoVcqkyOkjiynKBCGBj9Lihl7kh9IzrreDyXa4sNkquei5/DTP4uCk25xw==", "cpu": [ "x64" ], @@ -7416,9 +7121,9 @@ } }, "packages/web/node_modules/@esbuild/sunos-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.17.19.tgz", - "integrity": "sha512-vCRT7yP3zX+bKWFeP/zdS6SqdWB8OIpaRq/mbXQxTGHnIxspRtigpkUcDMlSCOejlHowLqII7K2JKevwyRP2rg==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.4.tgz", + "integrity": "sha512-6Xq8SpK46yLvrGxjp6HftkDwPP49puU4OF0hEL4dTxqCbfx09LyrbUj/D7tmIRMj5D5FCUPksBbxyQhp8tmHzw==", "cpu": [ "x64" ], @@ -7432,9 +7137,9 @@ } }, "packages/web/node_modules/@esbuild/win32-arm64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.17.19.tgz", - "integrity": "sha512-yYx+8jwowUstVdorcMdNlzklLYhPxjniHWFKgRqH7IFlUEa0Umu3KuYplf1HUZZ422e3NU9F4LGb+4O0Kdcaag==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.4.tgz", + "integrity": "sha512-PkIl7Jq4mP6ke7QKwyg4fD4Xvn8PXisagV/+HntWoDEdmerB2LTukRZg728Yd1Fj+LuEX75t/hKXE2Ppk8Hh1w==", "cpu": [ "arm64" ], @@ -7448,9 +7153,9 @@ } }, "packages/web/node_modules/@esbuild/win32-ia32": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.17.19.tgz", - "integrity": "sha512-eggDKanJszUtCdlVs0RB+h35wNlb5v4TWEkq4vZcmVt5u/HiDZrTXe2bWFQUez3RgNHwx/x4sk5++4NSSicKkw==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.4.tgz", + "integrity": "sha512-ga676Hnvw7/ycdKB53qPusvsKdwrWzEyJ+AtItHGoARszIqvjffTwaaW3b2L6l90i7MO9i+dlAW415INuRhSGg==", "cpu": [ "ia32" ], @@ -7464,9 +7169,9 @@ } }, "packages/web/node_modules/@esbuild/win32-x64": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.17.19.tgz", - "integrity": "sha512-lAhycmKnVOuRYNtRtatQR1LPQf2oYCkRGkSFnseDAKPl8lu5SOsK/e1sXe5a0Pc5kHIHe6P2I/ilntNv2xf3cA==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.4.tgz", + "integrity": "sha512-HP0GDNla1T3ZL8Ko/SHAS2GgtjOg+VmWnnYLhuTksr++EnduYB0f3Y2LzHsUwb2iQ13JGoY6G3R8h6Du/WG6uA==", "cpu": [ "x64" ], @@ -7480,9 +7185,9 @@ } }, "packages/web/node_modules/esbuild": { - "version": "0.17.19", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.17.19.tgz", - "integrity": "sha512-XQ0jAPFkK/u3LcVRcvVHQcTIqD6E2H1fvZMA5dQPSOWb3suUbWbfbRf94pjc0bNzRYLfIrDRQXr7X+LHIm5oHw==", + "version": "0.19.4", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.4.tgz", + "integrity": "sha512-x7jL0tbRRpv4QUyuDMjONtWFciygUxWaUM1kMX2zWxI0X2YWOt7MSA0g4UdeSiHM8fcYVzpQhKYOycZwxTdZkA==", "dev": true, "hasInstallScript": true, "bin": { @@ -7492,28 +7197,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.17.19", - "@esbuild/android-arm64": "0.17.19", - "@esbuild/android-x64": "0.17.19", - "@esbuild/darwin-arm64": "0.17.19", - "@esbuild/darwin-x64": "0.17.19", - "@esbuild/freebsd-arm64": "0.17.19", - "@esbuild/freebsd-x64": "0.17.19", - "@esbuild/linux-arm": "0.17.19", - "@esbuild/linux-arm64": "0.17.19", - "@esbuild/linux-ia32": "0.17.19", - "@esbuild/linux-loong64": "0.17.19", - "@esbuild/linux-mips64el": "0.17.19", - "@esbuild/linux-ppc64": "0.17.19", - "@esbuild/linux-riscv64": "0.17.19", - "@esbuild/linux-s390x": "0.17.19", - "@esbuild/linux-x64": "0.17.19", - "@esbuild/netbsd-x64": "0.17.19", - "@esbuild/openbsd-x64": "0.17.19", - "@esbuild/sunos-x64": "0.17.19", - "@esbuild/win32-arm64": "0.17.19", - "@esbuild/win32-ia32": "0.17.19", - "@esbuild/win32-x64": "0.17.19" + "@esbuild/android-arm": "0.19.4", + "@esbuild/android-arm64": "0.19.4", + "@esbuild/android-x64": "0.19.4", + "@esbuild/darwin-arm64": "0.19.4", + "@esbuild/darwin-x64": "0.19.4", + "@esbuild/freebsd-arm64": "0.19.4", + "@esbuild/freebsd-x64": "0.19.4", + "@esbuild/linux-arm": "0.19.4", + "@esbuild/linux-arm64": "0.19.4", + "@esbuild/linux-ia32": "0.19.4", + "@esbuild/linux-loong64": "0.19.4", + "@esbuild/linux-mips64el": "0.19.4", + "@esbuild/linux-ppc64": "0.19.4", + "@esbuild/linux-riscv64": "0.19.4", + "@esbuild/linux-s390x": "0.19.4", + "@esbuild/linux-x64": "0.19.4", + "@esbuild/netbsd-x64": "0.19.4", + "@esbuild/openbsd-x64": "0.19.4", + "@esbuild/sunos-x64": "0.19.4", + "@esbuild/win32-arm64": "0.19.4", + "@esbuild/win32-ia32": "0.19.4", + "@esbuild/win32-x64": "0.19.4" } } } diff --git a/package.json b/package.json index 91ef6e9..d7e745d 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "@changesets/cli": "^2.26.1", "@types/node": "^18.11.18", "esbuild": "^0.18.12", - "prettier": "^2.8.3", - "typescript": "^5.1.3" + "prettier": "^3.0.3", + "typescript": "^5.3.0-dev.20231007" }, "volta": { "node": "19.8.1" diff --git a/packages/cli/src/problemUtils.ts b/packages/cli/src/problemUtils.ts index 69277b5..1c76153 100644 --- a/packages/cli/src/problemUtils.ts +++ b/packages/cli/src/problemUtils.ts @@ -2,7 +2,6 @@ import * as core from "@arethetypeswrong/core"; import type { ProblemKind } from "@arethetypeswrong/core"; export const problemFlags: Record = { - Wildcard: "wildcard", NoResolution: "no-resolution", UntypedResolution: "untyped-resolution", FalseCJS: "false-cjs", diff --git a/packages/cli/src/render/typed.ts b/packages/cli/src/render/typed.ts index 26fc810..5bda72d 100644 --- a/packages/cli/src/render/typed.ts +++ b/packages/cli/src/render/typed.ts @@ -1,5 +1,5 @@ import * as core from "@arethetypeswrong/core"; -import { allResolutionKinds, groupProblemsByKind } from "@arethetypeswrong/core/utils"; +import { allResolutionKinds, getResolutionOption, groupProblemsByKind } from "@arethetypeswrong/core/utils"; import chalk from "chalk"; import Table, { type GenericTable, type HorizontalTableRow } from "cli-table3"; import { marked } from "marked"; @@ -33,7 +33,7 @@ export async function typed(analysis: core.Analysis, opts: Opts) { .map(([tool, version]) => { return `- ${tool}@${version}`; }) - .join("\n") + .join("\n"), ); console.log(); } @@ -43,8 +43,8 @@ export async function typed(analysis: core.Analysis, opts: Opts) { chalk.gray( ` (ignoring rules: ${opts.ignoreRules .map((rule) => `'${problemFlags[rule as core.ProblemKind]}'`) - .join(", ")})\n` - ) + .join(", ")})\n`, + ), ); } @@ -61,7 +61,7 @@ export async function typed(analysis: core.Analysis, opts: Opts) { } const entrypointNames = entrypoints.map( - (s) => `"${s === "." ? analysis.packageName : `${analysis.packageName}/${s.substring(2)}`}"` + (s) => `"${s === "." ? analysis.packageName : `${analysis.packageName}/${s.substring(2)}`}"`, ); const entrypointHeaders = entrypoints.map((s, i) => { const hasProblems = problems.some((p) => problemAffectsEntrypoint(p, s, analysis)); @@ -80,7 +80,12 @@ export async function typed(analysis: core.Analysis, opts: Opts) { } const jsonResult = !opts.emoji ? "OK (JSON)" : "🟢 (JSON)"; - const moduleResult = (!opts.emoji ? "OK " : "🟢 ") + moduleKinds[resolution?.moduleKind?.detectedKind || ""]; + const moduleResult = + (!opts.emoji ? "OK " : "🟢 ") + + moduleKinds[ + analysis.programInfo[getResolutionOption(resolutionKind)].moduleKinds?.[resolution?.fileName ?? ""] + ?.detectedKind || "" + ]; return resolution?.isJson ? jsonResult : moduleResult; }); diff --git a/packages/core/src/checkPackage.ts b/packages/core/src/checkPackage.ts index d769ad7..6cd2d8f 100644 --- a/packages/core/src/checkPackage.ts +++ b/packages/core/src/checkPackage.ts @@ -1,19 +1,22 @@ import ts from "typescript"; -import { getEntrypointResolutionProblems } from "./checks/entrypointResolutionProblems.js"; -import { getFileProblems } from "./checks/fileProblems.js"; -import { getResolutionBasedFileProblems } from "./checks/resolutionBasedFileProblems.js"; import type { Package } from "./createPackage.js"; -import { createCompilerHosts, type CompilerHosts, CompilerHostWrapper } from "./multiCompilerHost.js"; +import checks from "./internal/checks/index.js"; +import type { AnyCheck, CheckDependenciesContext } from "./internal/defineCheck.js"; +import { CompilerHostWrapper, createCompilerHosts, type CompilerHosts } from "./multiCompilerHost.js"; import type { AnalysisTypes, BuildTool, CheckResult, EntrypointInfo, EntrypointResolutionAnalysis, + ModuleKind, + Problem, + ProgramInfo, Resolution, ResolutionKind, + ResolutionOption, } from "./types.js"; -import { allBuildTools } from "./utils.js"; +import { allBuildTools, getResolutionKinds, getResolutionOption, visitResolutions } from "./utils.js"; export interface CheckPackageOptions { /** @@ -50,9 +53,38 @@ export async function checkPackage(pkg: Package, options?: CheckPackageOptions): const hosts = createCompilerHosts(pkg); const entrypointResolutions = getEntrypointInfo(packageName, pkg, hosts, options); - const entrypointResolutionProblems = getEntrypointResolutionProblems(entrypointResolutions, hosts); - const resolutionBasedFileProblems = getResolutionBasedFileProblems(packageName, entrypointResolutions, hosts); - const fileProblems = getFileProblems(entrypointResolutions, hosts); + const programInfo: Record = { + node10: {}, + node16: { moduleKinds: getModuleKinds(entrypointResolutions, "node16", hosts) }, + bundler: {}, + }; + + const problems: Problem[] = []; + const problemIdsToIndices = new Map(); + visitResolutions(entrypointResolutions, (analysis, info) => { + for (const check of checks) { + const context = { + pkg, + hosts, + entrypoints: entrypointResolutions, + programInfo, + subpath: info.subpath, + resolutionKind: analysis.resolutionKind, + resolutionOption: getResolutionOption(analysis.resolutionKind), + fileName: undefined, + }; + if (check.enumerateFiles) { + for (const fileName of analysis.files ?? []) { + runCheck(check, { ...context, fileName }, analysis); + } + if (analysis.implementationResolution) { + runCheck(check, { ...context, fileName: analysis.implementationResolution.fileName }, analysis); + } + } else { + runCheck(check, context, analysis); + } + } + }); return { packageName, @@ -60,8 +92,38 @@ export async function checkPackage(pkg: Package, options?: CheckPackageOptions): types, buildTools: getBuildTools(JSON.parse(pkg.readFile(`/node_modules/${packageName}/package.json`))), entrypoints: entrypointResolutions, - problems: [...entrypointResolutionProblems, ...resolutionBasedFileProblems, ...fileProblems], + programInfo, + problems, }; + + function runCheck( + check: AnyCheck, + context: CheckDependenciesContext, + analysis: EntrypointResolutionAnalysis, + ) { + const dependencies = check.dependencies(context); + const id = + check.name + + JSON.stringify(dependencies, (_, value) => { + if (typeof value === "function") { + throw new Error("Encountered unexpected function in check dependencies"); + } + return value; + }); + let indices = problemIdsToIndices.get(id); + if (indices) { + (analysis.visibleProblems ??= []).push(...indices); + } else { + indices = []; + const checkProblems = check.execute(dependencies, context); + for (const problem of Array.isArray(checkProblems) ? checkProblems : checkProblems ? [checkProblems] : []) { + indices.push(problems.length); + problems.push(problem); + } + problemIdsToIndices.set(id, indices); + (analysis.visibleProblems ??= []).push(...indices); + } + } } function getEntrypoints(fs: Package, exportsObject: any, options: CheckPackageOptions | undefined): string[] { @@ -140,7 +202,7 @@ function getEntrypointInfo( packageName: string, fs: Package, hosts: CompilerHosts, - options: CheckPackageOptions | undefined + options: CheckPackageOptions | undefined, ): Record { const packageJson = JSON.parse(fs.readFile(`/node_modules/${packageName}/package.json`)); let entrypoints = getEntrypoints(fs, packageJson.exports, options); @@ -171,7 +233,7 @@ function getEntrypointResolution( packageName: string, host: CompilerHostWrapper, resolutionKind: ResolutionKind, - entrypoint: string + entrypoint: string, ): EntrypointResolutionAnalysis { if (entrypoint.includes("*")) { return { name: entrypoint, resolutionKind, isWildcard: true }; @@ -204,7 +266,7 @@ function getEntrypointResolution( moduleSpecifier, importingFileName, resolutionMode, - noDtsResolution + noDtsResolution, ); const fileName = resolution.resolvedModule?.resolvedFileName; if (!fileName) { @@ -213,7 +275,6 @@ function getEntrypointResolution( return { fileName, - moduleKind: host.getModuleKindForFile(fileName), isJson: resolution.resolvedModule.extension === ts.Extension.Json, isTypeScript: ts.hasTSFileExtension(resolution.resolvedModule.resolvedFileName), trace, @@ -237,3 +298,29 @@ function getBuildTools(packageJson: any): Partial> { } return result; } + +function getModuleKinds( + entrypoints: Record, + resolutionOption: ResolutionOption, + hosts: CompilerHosts, +): Record { + const host = hosts[resolutionOption]; + const result: Record = {}; + for (const resolutionKind of getResolutionKinds(resolutionOption)) { + for (const entrypoint of Object.values(entrypoints)) { + const resolution = entrypoint.resolutions[resolutionKind]; + for (const fileName of resolution.files ?? []) { + if (!result[fileName]) { + result[fileName] = host.getModuleKindForFile(fileName)!; + } + } + if (resolution.implementationResolution) { + const fileName = resolution.implementationResolution.fileName; + if (!result[fileName]) { + result[fileName] = host.getModuleKindForFile(fileName)!; + } + } + } + } + return result; +} diff --git a/packages/core/src/checks/entrypointResolutionProblems.ts b/packages/core/src/checks/entrypointResolutionProblems.ts deleted file mode 100644 index 2a09348..0000000 --- a/packages/core/src/checks/entrypointResolutionProblems.ts +++ /dev/null @@ -1,120 +0,0 @@ -import ts from "typescript"; -import type { EntrypointInfo, EntrypointResolutionProblem } from "../types.js"; -import type { CompilerHosts } from "../multiCompilerHost.js"; -import { getResolutionOption, resolvedThroughFallback, visitResolutions } from "../utils.js"; - -export function getEntrypointResolutionProblems( - entrypointResolutions: Record, - hosts: CompilerHosts -): EntrypointResolutionProblem[] { - const problems: EntrypointResolutionProblem[] = []; - visitResolutions(entrypointResolutions, (result, entrypoint) => { - const { subpath } = entrypoint; - const { resolutionKind } = result; - const resolutionOption = getResolutionOption(resolutionKind); - if (result.isWildcard) { - problems.push({ - kind: "Wildcard", - entrypoint: subpath, - resolutionKind, - }); - return; - } - if (!result.resolution) { - problems.push({ - kind: "NoResolution", - entrypoint: subpath, - resolutionKind, - }); - } else if (!result.resolution.isTypeScript && !result.resolution.isJson) { - problems.push({ - kind: "UntypedResolution", - entrypoint: subpath, - resolutionKind, - }); - } - - const { resolution, implementationResolution } = result; - if ( - resolution?.moduleKind?.detectedKind === ts.ModuleKind.ESNext && - implementationResolution?.moduleKind?.detectedKind === ts.ModuleKind.CommonJS - ) { - problems.push({ - kind: "FalseESM", - entrypoint: subpath, - resolutionKind, - }); - } else if ( - resolution?.moduleKind?.detectedKind === ts.ModuleKind.CommonJS && - implementationResolution?.moduleKind?.detectedKind === ts.ModuleKind.ESNext - ) { - problems.push({ - kind: "FalseCJS", - entrypoint: subpath, - resolutionKind, - }); - } - - if (resolutionKind === "node16-cjs" && resolution?.moduleKind?.detectedKind === ts.ModuleKind.ESNext) { - problems.push({ - kind: "CJSResolvesToESM", - entrypoint: subpath, - resolutionKind, - }); - } - - if (resolution && resolvedThroughFallback(resolution.trace)) { - problems.push({ - kind: "FallbackCondition", - entrypoint: subpath, - resolutionKind, - }); - } - - if (resolution && implementationResolution) { - const host = hosts[resolutionOption]; - const typesSourceFile = host.getSourceFile(resolution.fileName); - if (typesSourceFile) { - ts.bindSourceFile(typesSourceFile, { target: ts.ScriptTarget.Latest, allowJs: true, checkJs: true }); - } - const typesExports = typesSourceFile?.symbol?.exports; - const jsSourceFile = typesExports && host.getSourceFile(implementationResolution.fileName); - if (jsSourceFile) { - ts.bindSourceFile(jsSourceFile, { target: ts.ScriptTarget.Latest, allowJs: true, checkJs: true }); - } - const jsExports = jsSourceFile?.symbol?.exports; - if (typesExports && jsExports) { - if ( - typesExports.has(ts.InternalSymbolName.Default) && - !typesExports.has(ts.InternalSymbolName.ExportEquals) && - jsExports.has(ts.InternalSymbolName.ExportEquals) - ) { - if (!jsExports.has(ts.InternalSymbolName.Default)) { - const jsChecker = host - .createProgram([implementationResolution.fileName], { - allowJs: true, - checkJs: true, - }) - .getTypeChecker(); - // Check for `default` property on `jsModule["export="]` - if (!jsChecker.getExportsAndPropertiesOfModule(jsSourceFile.symbol).some((s) => s.name === "default")) { - problems.push({ - kind: "FalseExportDefault", - entrypoint: subpath, - resolutionKind, - }); - return; - } - } - // types have a default, JS has a default and a module.exports = - problems.push({ - kind: "MissingExportEquals", - entrypoint: subpath, - resolutionKind, - }); - } - } - } - }); - return problems; -} diff --git a/packages/core/src/checks/fileProblems.ts b/packages/core/src/checks/fileProblems.ts deleted file mode 100644 index 193bd1a..0000000 --- a/packages/core/src/checks/fileProblems.ts +++ /dev/null @@ -1,43 +0,0 @@ -import ts from "typescript"; -import type { CompilerHosts } from "../multiCompilerHost.js"; -import type { EntrypointInfo, FileProblem } from "../types.js"; -import { isDefined } from "../utils.js"; - -export function getFileProblems( - entrypointResolutions: Record, - hosts: CompilerHosts -): FileProblem[] { - const problems: FileProblem[] = []; - const visibleFiles = new Set( - Object.values(entrypointResolutions).flatMap((entrypointResolution) => { - return Object.values(entrypointResolution.resolutions).flatMap((resolution) => { - return [resolution.resolution?.fileName, resolution.implementationResolution?.fileName].filter(isDefined); - }); - }) - ); - - for (const fileName of visibleFiles) { - if (ts.hasJSFileExtension(fileName)) { - const sourceFile = hosts.node16.getSourceFile(fileName)!; - if ( - !sourceFile.externalModuleIndicator && - sourceFile.commonJsModuleIndicator && - sourceFile.symbol?.exports?.has(ts.InternalSymbolName.Default) && - sourceFile.symbol.exports.has(ts.escapeLeadingUnderscores("__esModule")) && - !sourceFile.symbol.exports.has(ts.InternalSymbolName.ExportEquals) - ) { - const decl = sourceFile.symbol.exports.get(ts.InternalSymbolName.Default)!.declarations![0]; - problems.push({ - kind: "CJSOnlyExportsDefault", - fileName, - range: { - pos: decl.getStart(sourceFile), - end: decl.end, - }, - }); - } - } - } - - return problems; -} diff --git a/packages/core/src/checks/resolutionBasedFileProblems.ts b/packages/core/src/checks/resolutionBasedFileProblems.ts deleted file mode 100644 index cdc08ed..0000000 --- a/packages/core/src/checks/resolutionBasedFileProblems.ts +++ /dev/null @@ -1,104 +0,0 @@ -import ts from "typescript"; -import type { CompilerHosts } from "../multiCompilerHost.js"; -import type { EntrypointInfo, ResolutionBasedFileProblem } from "../types.js"; -import { allResolutionOptions, getResolutionKinds } from "../utils.js"; - -export function getResolutionBasedFileProblems( - packageName: string, - entrypointResolutions: Record, - hosts: CompilerHosts -): ResolutionBasedFileProblem[] { - const result: ResolutionBasedFileProblem[] = []; - for (const resolutionOption of allResolutionOptions) { - const visibleFiles = new Set( - Object.values(entrypointResolutions).flatMap((entrypoint) => { - const files = new Set(); - getResolutionKinds(resolutionOption).forEach((resolutionKind) => { - entrypoint.resolutions[resolutionKind].files?.forEach((file) => files.add(file)); - if (entrypoint.resolutions[resolutionKind].implementationResolution) { - files.add(entrypoint.resolutions[resolutionKind].implementationResolution!.fileName); - } - }); - return Array.from(files); - }) - ); - - for (const fileName of visibleFiles) { - const host = hosts[resolutionOption]; - const sourceFile = host.getSourceFile(fileName)!; - - if (sourceFile.imports) { - for (const moduleSpecifier of sourceFile.imports) { - const reference = moduleSpecifier.text; - if ( - reference !== packageName && - !reference.startsWith(`${packageName}/`) && - reference[0] !== "#" && - !ts.pathIsRelative(reference) - ) { - // Probably a reference to something we'd have to npm install. - // These can definitely be errors, but I'm not installing a whole - // graph for now. - continue; - } - const resolutionMode = ts.getModeForUsageLocation(sourceFile, moduleSpecifier); - const resolution = ts.getResolvedModule(sourceFile, moduleSpecifier.text, resolutionMode); - - if (!resolution) { - result.push({ - kind: "InternalResolutionError", - resolutionOption, - fileName, - moduleSpecifier: reference, - pos: moduleSpecifier.pos, - end: moduleSpecifier.end, - resolutionMode, - trace: host.getTrace(fileName, moduleSpecifier.text, resolutionMode)!, - }); - } - } - } - - // TODO: for each visible declaration file in the program, we could - // try to do a ts->js extension substitution and assume that's a - // visible JS file if it exists. - // - // Actually, we probably want to check the relative directory relationship - // between an entrypoint resolution and implementationResolution as the basis - // for looking for a JS file. - if (resolutionOption === "node16") { - if (ts.hasJSFileExtension(fileName)) { - const expectedModuleKind = host.getModuleKindForFile(fileName); - const syntaxImpliedModuleKind = sourceFile.externalModuleIndicator - ? ts.ModuleKind.ESNext - : sourceFile.commonJsModuleIndicator - ? ts.ModuleKind.CommonJS - : undefined; - if ( - expectedModuleKind !== undefined && - syntaxImpliedModuleKind !== undefined && - expectedModuleKind.detectedKind !== syntaxImpliedModuleKind - ) { - const syntax = sourceFile.externalModuleIndicator ?? sourceFile.commonJsModuleIndicator; - result.push({ - kind: "UnexpectedModuleSyntax", - resolutionOption, - syntax: syntaxImpliedModuleKind, - fileName, - range: - typeof syntax === "object" - ? { - pos: syntax.getStart(sourceFile), - end: syntax.end, - } - : undefined, - moduleKind: expectedModuleKind, - }); - } - } - } - } - } - - return result; -} diff --git a/packages/core/src/internal/checks/cjsOnlyExportsDefault.ts b/packages/core/src/internal/checks/cjsOnlyExportsDefault.ts new file mode 100644 index 0000000..919db5d --- /dev/null +++ b/packages/core/src/internal/checks/cjsOnlyExportsDefault.ts @@ -0,0 +1,33 @@ +import ts from "typescript"; +import { defineCheck } from "../defineCheck.js"; + +export default defineCheck({ + name: "CJSOnlyExportsDefault", + dependencies: ({ entrypoints, subpath, resolutionKind }) => { + const entrypoint = entrypoints[subpath].resolutions[resolutionKind]; + const implementationFileName = entrypoint.implementationResolution?.fileName; + return [implementationFileName]; + }, + execute: ([implementationFileName], context) => { + if (!implementationFileName) { + return; + } + const host = context.hosts.findHostForFiles([implementationFileName]) ?? context.hosts.bundler; + const sourceFile = host.getSourceFile(implementationFileName)!; + if ( + !sourceFile.externalModuleIndicator && + sourceFile.commonJsModuleIndicator && + sourceFile.symbol?.exports?.has(ts.InternalSymbolName.Default) && + sourceFile.symbol.exports.has(ts.escapeLeadingUnderscores("__esModule")) && + !sourceFile.symbol.exports.has(ts.InternalSymbolName.ExportEquals) + ) { + const decl = sourceFile.symbol.exports.get(ts.InternalSymbolName.Default)!.declarations![0]; + return { + kind: "CJSOnlyExportsDefault", + fileName: implementationFileName, + pos: decl.getStart(sourceFile), + end: decl.end, + }; + } + }, +}); diff --git a/packages/core/src/internal/checks/entrypointResolutions.ts b/packages/core/src/internal/checks/entrypointResolutions.ts new file mode 100644 index 0000000..23cd71b --- /dev/null +++ b/packages/core/src/internal/checks/entrypointResolutions.ts @@ -0,0 +1,48 @@ +import ts from "typescript"; +import type { Problem } from "../../types.js"; +import { resolvedThroughFallback } from "../../utils.js"; +import { defineCheck } from "../defineCheck.js"; + +export default defineCheck({ + name: "EntrypointResolutions", + dependencies: ({ subpath, resolutionKind }) => [subpath, resolutionKind], + execute: ([subpath, resolutionKind], context) => { + const problems: Problem[] = []; + const entrypoint = context.entrypoints[subpath].resolutions[resolutionKind]; + if (!entrypoint.resolution) { + problems.push({ + kind: "NoResolution", + entrypoint: subpath, + resolutionKind, + }); + } else if (!entrypoint.resolution.isTypeScript && !entrypoint.resolution.isJson) { + problems.push({ + kind: "UntypedResolution", + entrypoint: subpath, + resolutionKind, + }); + } + + if ( + entrypoint.resolution && + resolutionKind === "node16-cjs" && + context.programInfo["node16"].moduleKinds![entrypoint.resolution.fileName].detectedKind === ts.ModuleKind.ESNext + ) { + problems.push({ + kind: "CJSResolvesToESM", + entrypoint: subpath, + resolutionKind, + }); + } + + if (entrypoint.resolution && resolvedThroughFallback(entrypoint.resolution.trace)) { + problems.push({ + kind: "FallbackCondition", + entrypoint: subpath, + resolutionKind, + }); + } + + return problems; + }, +}); diff --git a/packages/core/src/internal/checks/exportDefaultDisagreement.ts b/packages/core/src/internal/checks/exportDefaultDisagreement.ts new file mode 100644 index 0000000..2be9989 --- /dev/null +++ b/packages/core/src/internal/checks/exportDefaultDisagreement.ts @@ -0,0 +1,60 @@ +import ts from "typescript"; +import { defineCheck } from "../defineCheck.js"; + +const bindOptions: ts.CompilerOptions = { + target: ts.ScriptTarget.Latest, + allowJs: true, + checkJs: true, +}; + +export default defineCheck({ + name: "ExportDefaultDisagreement", + dependencies: ({ entrypoints, subpath, resolutionKind }) => { + const entrypoint = entrypoints[subpath].resolutions[resolutionKind]; + const typesFileName = entrypoint.resolution?.fileName; + const implementationFileName = entrypoint.implementationResolution?.fileName; + return [typesFileName, implementationFileName]; + }, + execute: ([typesFileName, implementationFileName], context) => { + if (!typesFileName || !implementationFileName) { + return; + } + const host = context.hosts.findHostForFiles([typesFileName])!; + const typesSourceFile = host.getSourceFile(typesFileName)!; + ts.bindSourceFile(typesSourceFile, bindOptions); + const typesExports = typesSourceFile.symbol.exports; + if (!typesExports) { + return; + } + const implementationSourceFile = host.getSourceFile(implementationFileName)!; + ts.bindSourceFile(implementationSourceFile, bindOptions); + const implExports = implementationSourceFile.symbol.exports; + if (!implExports) { + return; + } + if ( + typesExports.has(ts.InternalSymbolName.Default) && + !typesExports.has(ts.InternalSymbolName.ExportEquals) && + implExports.has(ts.InternalSymbolName.ExportEquals) + ) { + if (!implExports.has(ts.InternalSymbolName.Default)) { + const checker = host.createProgram([implementationFileName], bindOptions).getTypeChecker(); + if ( + !checker.getExportsAndPropertiesOfModule(implementationSourceFile.symbol).some((s) => s.name === "default") + ) { + return { + kind: "FalseExportDefault", + typesFileName, + implementationFileName, + }; + } + } + // types have a default, JS has a default and a module.exports = + return { + kind: "MissingExportEquals", + typesFileName, + implementationFileName, + }; + } + }, +}); diff --git a/packages/core/src/internal/checks/index.ts b/packages/core/src/internal/checks/index.ts new file mode 100644 index 0000000..3afc86c --- /dev/null +++ b/packages/core/src/internal/checks/index.ts @@ -0,0 +1,15 @@ +import cjsOnlyExportsDefault from "./cjsOnlyExportsDefault.js"; +import entrypointResolutions from "./entrypointResolutions.js"; +import exportDefaultDisagreement from "./exportDefaultDisagreement.js"; +import internalResolutionError from "./internalResolutionError.js"; +import moduleKindDisagreement from "./moduleKindDisagreement.js"; +import unexpectedModuleSyntax from "./unexpectedModuleSyntax.js"; + +export default [ + cjsOnlyExportsDefault, + entrypointResolutions, + exportDefaultDisagreement, + internalResolutionError, + moduleKindDisagreement, + unexpectedModuleSyntax, +]; diff --git a/packages/core/src/internal/checks/internalResolutionError.ts b/packages/core/src/internal/checks/internalResolutionError.ts new file mode 100644 index 0000000..ec33472 --- /dev/null +++ b/packages/core/src/internal/checks/internalResolutionError.ts @@ -0,0 +1,46 @@ +import ts from "typescript"; +import { defineCheck } from "../defineCheck.js"; +import type { InternalResolutionErrorProblem } from "../../types.js"; + +export default defineCheck({ + name: "InternalResolutionError", + enumerateFiles: true, + dependencies: ({ resolutionOption, fileName }) => [resolutionOption, fileName], + execute: ([resolutionOption, fileName], context) => { + const host = context.hosts[resolutionOption]; + const sourceFile = host.getSourceFile(fileName); + if (sourceFile?.imports) { + const problems: InternalResolutionErrorProblem[] = []; + for (const moduleSpecifier of sourceFile.imports) { + const reference = moduleSpecifier.text; + if ( + reference !== context.pkg.packageName && + !reference.startsWith(`${context.pkg.packageName}/`) && + reference[0] !== "#" && + !ts.pathIsRelative(reference) + ) { + // Probably a reference to something we'd have to npm install. + // These can definitely be errors, but I'm not installing a whole + // graph for now. + continue; + } + const resolutionMode = ts.getModeForUsageLocation(sourceFile, moduleSpecifier); + const resolution = ts.getResolvedModule(sourceFile, moduleSpecifier.text, resolutionMode); + + if (!resolution) { + problems.push({ + kind: "InternalResolutionError", + resolutionOption, + fileName, + moduleSpecifier: reference, + pos: moduleSpecifier.pos, + end: moduleSpecifier.end, + resolutionMode, + trace: host.getTrace(fileName, moduleSpecifier.text, resolutionMode)!, + }); + } + } + return problems; + } + }, +}); diff --git a/packages/core/src/internal/checks/moduleKindDisagreement.ts b/packages/core/src/internal/checks/moduleKindDisagreement.ts new file mode 100644 index 0000000..78e514d --- /dev/null +++ b/packages/core/src/internal/checks/moduleKindDisagreement.ts @@ -0,0 +1,44 @@ +import ts from "typescript"; +import { defineCheck } from "../defineCheck.js"; + +export default defineCheck({ + name: "ModuleKindDisagreement", + dependencies: ({ entrypoints, subpath, resolutionKind, resolutionOption, programInfo }) => { + const entrypoint = entrypoints[subpath].resolutions[resolutionKind]; + const typesFileName = entrypoint.resolution?.fileName; + const implementationFileName = entrypoint.implementationResolution?.fileName; + return [ + typesFileName, + implementationFileName, + typesFileName ? programInfo[resolutionOption]?.moduleKinds?.[typesFileName] : undefined, + implementationFileName ? programInfo[resolutionOption]?.moduleKinds?.[implementationFileName] : undefined, + ]; + }, + execute: ([typesFileName, implementationFileName, typesModuleKind, implementationModuleKind]) => { + if (typesFileName && implementationFileName && typesModuleKind && implementationModuleKind) { + if ( + typesModuleKind.detectedKind === ts.ModuleKind.ESNext && + implementationModuleKind.detectedKind === ts.ModuleKind.CommonJS + ) { + return { + kind: "FalseESM", + typesFileName, + implementationFileName, + typesModuleKind, + implementationModuleKind, + }; + } else if ( + typesModuleKind.detectedKind === ts.ModuleKind.CommonJS && + implementationModuleKind.detectedKind === ts.ModuleKind.ESNext + ) { + return { + kind: "FalseCJS", + typesFileName, + implementationFileName, + typesModuleKind, + implementationModuleKind, + }; + } + } + }, +}); diff --git a/packages/core/src/internal/checks/unexpectedModuleSyntax.ts b/packages/core/src/internal/checks/unexpectedModuleSyntax.ts new file mode 100644 index 0000000..dfc6f1a --- /dev/null +++ b/packages/core/src/internal/checks/unexpectedModuleSyntax.ts @@ -0,0 +1,34 @@ +import ts from "typescript"; +import { defineCheck } from "../defineCheck.js"; + +export default defineCheck({ + name: "UnexpectedModuleSyntax", + enumerateFiles: true, + dependencies: ({ fileName, resolutionOption, programInfo }) => { + return [fileName, programInfo[resolutionOption].moduleKinds?.[fileName]]; + }, + execute: ([fileName, expectedModuleKind], context) => { + if (!expectedModuleKind || !ts.hasJSFileExtension(fileName)) { + return; + } + const host = context.hosts.findHostForFiles([fileName]) ?? context.hosts.bundler; + const sourceFile = host.getSourceFile(fileName)!; + const syntaxImpliedModuleKind = sourceFile.externalModuleIndicator + ? ts.ModuleKind.ESNext + : sourceFile.commonJsModuleIndicator + ? ts.ModuleKind.CommonJS + : undefined; + if (syntaxImpliedModuleKind !== undefined && expectedModuleKind.detectedKind !== syntaxImpliedModuleKind) { + // Value cannot be `true` because we set `moduleDetection: "legacy"` + const syntax = (sourceFile.externalModuleIndicator ?? sourceFile.commonJsModuleIndicator) as ts.Node; + return { + kind: "UnexpectedModuleSyntax", + fileName, + moduleKind: expectedModuleKind, + syntax: syntaxImpliedModuleKind, + pos: syntax.getStart(sourceFile), + end: syntax.end, + }; + } + }, +}); diff --git a/packages/core/src/internal/defineCheck.ts b/packages/core/src/internal/defineCheck.ts new file mode 100644 index 0000000..18552ff --- /dev/null +++ b/packages/core/src/internal/defineCheck.ts @@ -0,0 +1,55 @@ +import type { Package } from "../createPackage.js"; +import type { CompilerHosts } from "../multiCompilerHost.js"; +import type { Analysis, Problem, ResolutionKind, ResolutionOption } from "../types.js"; + +export interface CheckDependenciesContext extends CheckExecutionContext { + subpath: string; + resolutionKind: ResolutionKind; + resolutionOption: ResolutionOption; + fileName: EnumerateFiles extends true ? string : undefined; +} + +export interface CheckExecutionContext { + pkg: Package; + hosts: CompilerHosts; + entrypoints: Analysis["entrypoints"]; + programInfo: Analysis["programInfo"]; +} + +// Interface types are not assignable to Serializable due to missing index signature. +// This breaks them down into an equivalently structured object type, which have +// implicit index signatures for assignability purposes. +type Structure = T extends (...args: never) => any ? T : { [K in keyof T]: Structure }; + +export type EnsureSerializable = [T] extends [Serializable] + ? T + : [T] extends [object] + ? Structure extends Serializable + ? T + : never + : never; + +export type Serializable = + | string + | number + | null + | undefined + | boolean + | { [key: string]: Serializable } + | Serializable[]; + +export interface AnyCheck { + name: string; + enumerateFiles?: boolean; + dependencies: (context: CheckDependenciesContext) => EnsureSerializable; + execute: (dependencies: any, context: CheckExecutionContext) => Problem[] | Problem | undefined; +} + +export function defineCheck(options: { + name: string; + enumerateFiles?: EnumerateFiles; + dependencies: (context: CheckDependenciesContext) => EnsureSerializable; + execute: (dependencies: Dependencies, context: CheckExecutionContext) => Problem[] | Problem | undefined; +}) { + return options; +} diff --git a/packages/core/src/multiCompilerHost.ts b/packages/core/src/multiCompilerHost.ts index 8947b32..f6a2a59 100644 --- a/packages/core/src/multiCompilerHost.ts +++ b/packages/core/src/multiCompilerHost.ts @@ -11,13 +11,25 @@ export interface CompilerHosts { node10: CompilerHostWrapper; node16: CompilerHostWrapper; bundler: CompilerHostWrapper; + findHostForFiles(files: string[]): CompilerHostWrapper | undefined; } export function createCompilerHosts(fs: Package): CompilerHosts { + const node10 = new CompilerHostWrapper(fs, ts.ModuleResolutionKind.Node10, ts.ModuleKind.CommonJS); + const node16 = new CompilerHostWrapper(fs, ts.ModuleResolutionKind.Node16, ts.ModuleKind.Node16); + const bundler = new CompilerHostWrapper(fs, ts.ModuleResolutionKind.Bundler, ts.ModuleKind.ESNext); + return { - node10: new CompilerHostWrapper(fs, ts.ModuleResolutionKind.Node10, ts.ModuleKind.CommonJS), - node16: new CompilerHostWrapper(fs, ts.ModuleResolutionKind.Node16, ts.ModuleKind.Node16), - bundler: new CompilerHostWrapper(fs, ts.ModuleResolutionKind.Bundler, ts.ModuleKind.ESNext), + node10, + node16, + bundler, + findHostForFiles(files: string[]) { + for (const host of [node10, node16, bundler]) { + if (files.every((f) => host.getSourceFileFromCache(f) !== undefined)) { + return host; + } + } + }, }; } @@ -35,13 +47,15 @@ export class CompilerHostWrapper { Record > = {}; private traceCollector: TraceCollector = new TraceCollector(); - + private sourceFileCache: Map = new Map(); private languageVersion = ts.ScriptTarget.Latest; constructor(fs: Package, moduleResolution: ts.ModuleResolutionKind, moduleKind: ts.ModuleKind) { this.compilerOptions = { moduleResolution, module: moduleKind, + // So `sourceFile.externalModuleIndicator` is set to a node + moduleDetection: ts.ModuleDetectionKind.Legacy, target: ts.ScriptTarget.Latest, resolveJsonModule: true, traceResolution: true, @@ -50,15 +64,19 @@ export class CompilerHostWrapper { this.noDtsResolutionModuleResolutionCache = ts.createModuleResolutionCache( "/", getCanonicalFileName, - this.compilerOptions + this.compilerOptions, ); - this.compilerHost = this.createCompilerHost(fs); + this.compilerHost = this.createCompilerHost(fs, this.sourceFileCache); } getSourceFile(fileName: string): ts.SourceFile | undefined { return this.compilerHost.getSourceFile(fileName, this.languageVersion); } + getSourceFileFromCache(fileName: string): ts.SourceFile | undefined { + return this.sourceFileCache.get(toPath(fileName)); + } + getModuleKindForFile(fileName: string): ModuleKind | undefined { const kind = this.getImpliedNodeFormatForFile(fileName); if (kind) { @@ -90,7 +108,7 @@ export class CompilerHostWrapper { containingFile: string, resolutionMode?: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS, noDtsResolution?: boolean, - allowJs?: boolean + allowJs?: boolean, ): ResolveModuleNameResult { const moduleKey = this.getModuleKey(moduleName, resolutionMode, noDtsResolution, allowJs); if (this.moduleResolutionCache[containingFile]?.[moduleKey]) { @@ -108,7 +126,7 @@ export class CompilerHostWrapper { this.compilerHost, noDtsResolution ? this.noDtsResolutionModuleResolutionCache : this.normalModuleResolutionCache, /*redirectedReference*/ undefined, - resolutionMode + resolutionMode, ); const trace = this.traceCollector.read(); if (!this.moduleResolutionCache[containingFile]?.[moduleKey]) { @@ -123,7 +141,7 @@ export class CompilerHostWrapper { getTrace( fromFileName: string, moduleSpecifier: string, - resolutionMode: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS | undefined + resolutionMode: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS | undefined, ): string[] | undefined { return this.moduleResolutionCache[fromFileName]?.[ this.getModuleKey(moduleSpecifier, resolutionMode, /*noDtsResolution*/ undefined, /*allowJs*/ undefined) @@ -134,7 +152,7 @@ export class CompilerHostWrapper { moduleSpecifier: string, resolutionMode: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS | undefined, noDtsResolution: boolean | undefined, - allowJs: boolean | undefined + allowJs: boolean | undefined, ) { return `${resolutionMode ?? 1}:${+!!noDtsResolution}:${+!!allowJs}:${moduleSpecifier}`; } @@ -151,7 +169,7 @@ export class CompilerHostWrapper { checkJs: extraOptions.checkJs, noDtsResolution: extraOptions.noDtsResolution, }, - { ...this.compilerOptions, ...extraOptions } + { ...this.compilerOptions, ...extraOptions }, ) ) { throw new Error("Cannot override resolution-affecting options for host due to potential cache polution"); @@ -163,8 +181,7 @@ export class CompilerHostWrapper { }); } - private createCompilerHost(fs: Package): ts.CompilerHost { - const sourceFileCache = new Map(); + private createCompilerHost(fs: Package, sourceFileCache: Map): ts.CompilerHost { return { fileExists: fs.fileExists.bind(fs), readFile: fs.readFile.bind(fs), @@ -183,7 +200,7 @@ export class CompilerHostWrapper { languageVersion: this.languageVersion, impliedNodeFormat: this.getImpliedNodeFormatForFile(fileName), }, - /*setParentNodes*/ true + /*setParentNodes*/ true, ); sourceFileCache.set(path, sourceFile); return sourceFile; @@ -202,7 +219,7 @@ export class CompilerHostWrapper { containingFile, _redirectedReference, options, - containingSourceFile + containingSourceFile, ) => { return moduleLiterals.map( (literal) => @@ -210,8 +227,8 @@ export class CompilerHostWrapper { literal.text, containingFile, ts.getModeForUsageLocation(containingSourceFile, literal), - options.noDtsResolution - ).resolution + options.noDtsResolution, + ).resolution, ); }, }; @@ -222,7 +239,7 @@ export class CompilerHostWrapper { toPath(fileName), this.normalModuleResolutionCache.getPackageJsonInfoCache(), this.compilerHost, - this.compilerOptions + this.compilerOptions, ); } @@ -233,8 +250,8 @@ export class CompilerHostWrapper { // TODO: consider always using the node16 cache because package.json should be a hit this.normalModuleResolutionCache.getPackageJsonInfoCache(), this.compilerHost, - this.compilerOptions - ) + this.compilerOptions, + ), ); } } diff --git a/packages/core/src/problems.ts b/packages/core/src/problems.ts index 6082051..c2a5a3c 100644 --- a/packages/core/src/problems.ts +++ b/packages/core/src/problems.ts @@ -1,12 +1,5 @@ -import type { Problem, ProblemKind, ResolutionKind, ResolutionOption, Analysis } from "./types.js"; -import { - allResolutionKinds, - getResolutionKinds, - getResolutionOption, - isEntrypointResolutionProblem, - isFileProblem, - isResolutionBasedFileProblem, -} from "./utils.js"; +import type { Analysis, Problem, ProblemKind, ResolutionKind, ResolutionOption } from "./types.js"; +import { getResolutionKinds } from "./utils.js"; export interface ProblemKindInfo { title: string; @@ -17,13 +10,6 @@ export interface ProblemKindInfo { } export const problemKindInfo: Record = { - Wildcard: { - emoji: "🃏", - title: "Wildcards", - shortDescription: "Unable to check", - description: "Wildcard subpaths cannot yet be analyzed by this tool.", - docsUrl: "https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/40", - }, NoResolution: { emoji: "💀", title: "Resolution failed", @@ -144,7 +130,7 @@ export function filterProblems( } if (filter.entrypoint && filter.resolutionOption) { return getResolutionKinds(filter.resolutionOption).every((resolutionKind) => - problemAffectsEntrypointResolution(p, filter.entrypoint!, resolutionKind, analysis) + problemAffectsEntrypointResolution(p, filter.entrypoint!, resolutionKind, analysis), ); } if (filter.entrypoint) { @@ -160,54 +146,45 @@ export function filterProblems( export function problemAffectsResolutionKind( problem: Problem, resolutionKind: ResolutionKind, - analysis: Analysis + analysis: Analysis, ): boolean { - if (isEntrypointResolutionProblem(problem)) { - return problem.resolutionKind === resolutionKind; - } - if (isResolutionBasedFileProblem(problem)) { - return problem.resolutionOption === getResolutionOption(resolutionKind); + const index = getProblemIndex(analysis, problem); + for (const entrypoint of Object.values(analysis.entrypoints)) { + if (entrypoint.resolutions[resolutionKind].visibleProblems?.includes(index)) { + return true; + } } - return Object.values(analysis.entrypoints).some( - (entrypointInfo) => - entrypointInfo.resolutions[resolutionKind].files?.includes(problem.fileName) || - entrypointInfo.resolutions[resolutionKind].implementationResolution?.fileName === problem.fileName - ); + return false; } export function problemAffectsEntrypoint(problem: Problem, entrypoint: string, analysis: Analysis): boolean { - if (isEntrypointResolutionProblem(problem)) { - return problem.entrypoint === entrypoint; + const index = getProblemIndex(analysis, problem); + for (const resolution of Object.values(analysis.entrypoints[entrypoint].resolutions)) { + if (resolution.visibleProblems?.includes(index)) { + return true; + } } - return allResolutionKinds.some( - (resolutionKind) => - analysis.entrypoints[entrypoint]?.resolutions[resolutionKind].files?.includes(problem.fileName) || - analysis.entrypoints[entrypoint]?.resolutions[resolutionKind].implementationResolution?.fileName === - problem.fileName - ); + return false; } export function problemAffectsEntrypointResolution( problem: Problem, entrypoint: string, resolutionKind: ResolutionKind, - analysis: Analysis + analysis: Analysis, ): boolean { - if (isEntrypointResolutionProblem(problem)) { - return problem.entrypoint === entrypoint && problem.resolutionKind === resolutionKind; - } - if (isResolutionBasedFileProblem(problem)) { - return ( - getResolutionOption(resolutionKind) === problem.resolutionOption && - !!analysis.entrypoints[entrypoint]?.resolutions[resolutionKind].files?.includes(problem.fileName) - ); - } - if (isFileProblem(problem)) { - return ( - analysis.entrypoints[entrypoint]?.resolutions[resolutionKind].files?.includes(problem.fileName) || - analysis.entrypoints[entrypoint]?.resolutions[resolutionKind].implementationResolution?.fileName === - problem.fileName - ); + const index = getProblemIndex(analysis, problem); + return analysis.entrypoints[entrypoint].resolutions[resolutionKind].visibleProblems?.includes(index) ?? false; +} + +function getProblemIndex(analysis: Analysis, problem: Problem) { + let index = analysis.problems.indexOf(problem); + if (index === -1) { + const serialized = JSON.stringify(problem); + index = analysis.problems.findIndex((p) => JSON.stringify(p) === serialized); + if (index === -1) { + throw new Error(`Could not find problem in analysis`); + } } - throw new Error(`Unhandled problem type '${(problem satisfies never as Problem).kind}'`); + return index; } diff --git a/packages/core/src/types.ts b/packages/core/src/types.ts index 9191b0b..d613115 100644 --- a/packages/core/src/types.ts +++ b/packages/core/src/types.ts @@ -41,6 +41,7 @@ export interface Analysis { buildTools: Partial>; types: AnalysisTypes; entrypoints: Record; + programInfo: Record; problems: Problem[]; } @@ -59,72 +60,113 @@ export interface EntrypointResolutionAnalysis { resolution?: Resolution; implementationResolution?: Resolution; files?: string[]; -} - -export type ModuleKindReason = "extension" | "type" | "no:type"; -export interface ModuleKind { - detectedKind: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS; - detectedReason: ModuleKindReason; - reasonFileName: string; + /** Indices into `analysis.problems` */ + visibleProblems?: number[]; } export interface Resolution { fileName: string; isTypeScript: boolean; isJson: boolean; - moduleKind: ModuleKind | undefined; trace: string[]; } -export type EntrypointResolutionProblemKind = - | "NoResolution" - | "UntypedResolution" - | "FalseESM" - | "FalseCJS" - | "CJSResolvesToESM" - | "Wildcard" - | "FallbackCondition" - | "FalseExportDefault" - | "MissingExportEquals"; +export interface ProgramInfo { + moduleKinds?: Record; +} + +export type ModuleKindReason = "extension" | "type" | "no:type"; +export interface ModuleKind { + detectedKind: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS; + detectedReason: ModuleKindReason; + reasonFileName: string; +} export interface EntrypointResolutionProblem { - kind: EntrypointResolutionProblemKind; entrypoint: string; resolutionKind: ResolutionKind; } -export interface InternalResolutionErrorProblem { - kind: "InternalResolutionError"; - resolutionOption: ResolutionOption; +export interface FilePairProblem { + typesFileName: string; + implementationFileName: string; +} + +export interface ModuleKindPairProblem { + typesModuleKind: ModuleKind; + implementationModuleKind: ModuleKind; +} + +export interface FileTextRangeProblem { fileName: string; pos: number; end: number; +} + +export interface NoResolutionProblem extends EntrypointResolutionProblem { + kind: "NoResolution"; +} + +export interface UntypedResolutionProblem extends EntrypointResolutionProblem { + kind: "UntypedResolution"; +} + +export interface FalseESMProblem extends FilePairProblem, ModuleKindPairProblem { + kind: "FalseESM"; +} + +export interface FalseCJSProblem extends FilePairProblem, ModuleKindPairProblem { + kind: "FalseCJS"; +} + +export interface CJSResolvesToESMProblem extends EntrypointResolutionProblem { + kind: "CJSResolvesToESM"; +} + +export interface FallbackConditionProblem extends EntrypointResolutionProblem { + kind: "FallbackCondition"; +} + +export interface FalseExportDefaultProblem extends FilePairProblem { + kind: "FalseExportDefault"; +} + +export interface MissingExportEqualsProblem extends FilePairProblem { + kind: "MissingExportEquals"; +} + +export interface InternalResolutionErrorProblem extends FileTextRangeProblem { + kind: "InternalResolutionError"; + resolutionOption: ResolutionOption; moduleSpecifier: string; resolutionMode: ts.ResolutionMode; trace: string[]; } -export interface UnexpectedModuleSyntaxProblem { +export interface UnexpectedModuleSyntaxProblem extends FileTextRangeProblem { kind: "UnexpectedModuleSyntax"; - resolutionOption: ResolutionOption; syntax: ts.ModuleKind.ESNext | ts.ModuleKind.CommonJS; moduleKind: ModuleKind; - fileName: string; - range?: ts.TextRange; } -export interface CJSOnlyExportsDefaultProblem { +export interface CJSOnlyExportsDefaultProblem extends FileTextRangeProblem { kind: "CJSOnlyExportsDefault"; - fileName: string; - range: ts.TextRange; } -export type ResolutionBasedFileProblem = InternalResolutionErrorProblem | UnexpectedModuleSyntaxProblem; -export type FileProblem = CJSOnlyExportsDefaultProblem; -export type Problem = EntrypointResolutionProblem | ResolutionBasedFileProblem | FileProblem; +export type Problem = + | NoResolutionProblem + | UntypedResolutionProblem + | FalseESMProblem + | FalseCJSProblem + | CJSResolvesToESMProblem + | FallbackConditionProblem + | FalseExportDefaultProblem + | MissingExportEqualsProblem + | InternalResolutionErrorProblem + | UnexpectedModuleSyntaxProblem + | CJSOnlyExportsDefaultProblem; + export type ProblemKind = Problem["kind"]; -export type FileProblemKind = FileProblem["kind"]; -export type ResolutionBasedFileProblemKind = ResolutionBasedFileProblem["kind"]; export type Failable = { status: "error"; error: string; data?: never } | { status: "success"; data: T }; diff --git a/packages/core/src/utils.ts b/packages/core/src/utils.ts index 1b5fe57..e3993db 100644 --- a/packages/core/src/utils.ts +++ b/packages/core/src/utils.ts @@ -1,16 +1,13 @@ -import validatePackgeName from "validate-npm-package-name"; import { valid, validRange } from "semver"; +import validatePackgeName from "validate-npm-package-name"; import type { BuildTool, EntrypointInfo, EntrypointResolutionAnalysis, - EntrypointResolutionProblem, Failable, - FileProblem, ParsedPackageSpec, Problem, ProblemKind, - ResolutionBasedFileProblem, ResolutionKind, ResolutionOption, } from "./types.js"; @@ -79,7 +76,7 @@ export function resolvedThroughFallback(traces: string[]) { export function visitResolutions( entrypoints: Record, - visitor: (analysis: EntrypointResolutionAnalysis, info: EntrypointInfo) => unknown + visitor: (analysis: EntrypointResolutionAnalysis, info: EntrypointInfo) => unknown, ) { for (const entrypoint of Object.values(entrypoints)) { for (const resolution of Object.values(entrypoint.resolutions)) { @@ -90,57 +87,8 @@ export function visitResolutions( } } -type AssertNever = T; - -export function isEntrypointResolutionProblemKind(kind: ProblemKind): kind is EntrypointResolutionProblem["kind"] { - switch (kind) { - case "NoResolution": - case "UntypedResolution": - case "FalseESM": - case "FalseCJS": - case "CJSResolvesToESM": - case "Wildcard": - case "FallbackCondition": - case "FalseExportDefault": - case "MissingExportEquals": - return true; - default: - return false as AssertNever; - } -} - -export function isEntrypointResolutionProblem(problem: Problem): problem is EntrypointResolutionProblem { - return isEntrypointResolutionProblemKind(problem.kind); -} - -export function isFileProblemKind(kind: ProblemKind): kind is FileProblem["kind"] { - switch (kind) { - case "CJSOnlyExportsDefault": - return true; - default: - return false as AssertNever; - } -} - -export function isFileProblem(problem: Problem): problem is FileProblem { - return isFileProblemKind(problem.kind); -} - -export function isResolutionBasedFileProblemKind(kind: ProblemKind): kind is ResolutionBasedFileProblem["kind"] { - switch (kind) { - case "InternalResolutionError": - case "UnexpectedModuleSyntax": - return true; - default: - return false as AssertNever; - } -} - -export function isResolutionBasedFileProblem(problem: Problem): problem is ResolutionBasedFileProblem { - return isResolutionBasedFileProblemKind(problem.kind); -} export function groupProblemsByKind( - problems: (Problem & { kind: K })[] + problems: (Problem & { kind: K })[], ): Partial> { const result: Partial> = {}; for (const problem of problems) { diff --git a/packages/web/package.json b/packages/web/package.json index b0b6dad..894d010 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -24,7 +24,7 @@ "devDependencies": { "@types/marked": "^5.0.0", "@types/nprogress": "^0.2.0", - "esbuild": "^0.17.4", - "vite": "^4.0.4" + "esbuild": "^0.19.4", + "vite": "^4.4.11" } } diff --git a/packages/web/src/views/ChecksTable.ts b/packages/web/src/views/ChecksTable.ts index 9b63011..37a712e 100644 --- a/packages/web/src/views/ChecksTable.ts +++ b/packages/web/src/views/ChecksTable.ts @@ -1,6 +1,6 @@ import type { CheckResult, ProblemKind, ResolutionKind } from "@arethetypeswrong/core"; import { filterProblems, problemKindInfo } from "@arethetypeswrong/core/problems"; -import { allResolutionKinds, groupProblemsByKind } from "@arethetypeswrong/core/utils"; +import { allResolutionKinds, getResolutionOption, groupProblemsByKind } from "@arethetypeswrong/core/utils"; const resolutionKinds: Record = { node10: "node10", @@ -26,7 +26,7 @@ export function ChecksTable(props: { analysis?: CheckResult }) { const { analysis } = props; const subpaths = Object.keys(analysis.entrypoints); const entrypoints = subpaths.map((s) => - s === "." ? analysis.packageName : `${analysis.packageName}/${s.substring(2)}` + s === "." ? analysis.packageName : `${analysis.packageName}/${s.substring(2)}`, ); return { className: "", @@ -47,7 +47,7 @@ export function ChecksTable(props: { analysis?: CheckResult }) { .map((subpath) => { const resolutionInfo = analysis.entrypoints[subpath].resolutions[resolutionKind]; const problemsForCell = Object.entries( - groupProblemsByKind(filterProblems(analysis, { resolutionKind, entrypoint: subpath })) + groupProblemsByKind(filterProblems(analysis, { resolutionKind, entrypoint: subpath })), ); return `${ problemsForCell.length @@ -57,16 +57,23 @@ export function ChecksTable(props: { analysis?: CheckResult }) { problemKindInfo[kind as ProblemKind].emoji + " " + problemKindInfo[kind as ProblemKind].shortDescription + - (problem.length > 1 ? ` (${problem.length})` : "") + (problem.length > 1 ? ` (${problem.length})` : ""), ) .join("
") + : resolutionInfo.isWildcard + ? "❓ (wildcard)" : resolutionInfo.resolution?.isJson ? "✅ (JSON)" - : "✅ " + moduleKinds[resolutionInfo.resolution?.moduleKind?.detectedKind || ""] + : "✅ " + + moduleKinds[ + analysis.programInfo[getResolutionOption(resolutionKind)].moduleKinds?.[ + resolutionInfo.resolution?.fileName ?? "" + ]?.detectedKind || "" + ] }`; }) .join("")} - ` + `, ) .join("")} `, From 0aed25fde4bffb3c98e62d18bcf7be8b8bc7afec Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Sat, 7 Oct 2023 23:02:32 -0700 Subject: [PATCH 2/6] Small fixes --- package-lock.json | 56 +++---------------- package.json | 2 +- packages/cli/src/render/typed.ts | 22 +++++--- packages/core/package.json | 2 +- packages/core/src/checkPackage.ts | 5 +- .../internal/checks/entrypointResolutions.ts | 13 ++++- .../checks/exportDefaultDisagreement.ts | 2 +- packages/core/src/internal/checks/index.ts | 6 +- packages/core/src/internal/defineCheck.ts | 6 +- packages/web/src/views/ChecksTable.ts | 2 +- 10 files changed, 44 insertions(+), 72 deletions(-) diff --git a/package-lock.json b/package-lock.json index 98df12f..a3faf76 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@types/node": "^18.11.18", "esbuild": "^0.18.12", "prettier": "^3.0.3", - "typescript": "^5.3.0-dev.20231007" + "typescript": "^5.2.2" } }, "node_modules/@andrewbranch/json-view": { @@ -2137,9 +2137,10 @@ }, "node_modules/@types/ts-expose-internals": { "name": "ts-expose-internals", - "version": "5.1.3", - "dev": true, - "license": "MIT" + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/ts-expose-internals/-/ts-expose-internals-5.2.2.tgz", + "integrity": "sha512-HYknqnfn3hQcNV1a00Ag4Nv+LM5wv2hUDzLH2oh+utspiKafKYtRYdv7a/iNhtqbzRJVV3FgVYRNoWKA3AZ3Uw==", + "dev": true }, "node_modules/@types/tunnel": { "version": "0.0.3", @@ -6295,10 +6296,9 @@ "dev": true }, "node_modules/typescript": { - "version": "5.3.0-dev.20231007", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.0-dev.20231007.tgz", - "integrity": "sha512-yNeHmU15JtC5TgUuiCaywQqtVJ6Q1T6mNwDg5N1ObnctoaqBrZ0FGy37NP0Y/UnJUhZxgcYrIb1gcial4fUiyA==", - "dev": true, + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", + "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6701,19 +6701,6 @@ "integrity": "sha512-OxepLK9EuNEIPxWNME+C6WwbRAOOI2o2BaQEGzz5Lu2e4Z5eDnEo+/aVEDMIXywoJitJ7xWd641wrGLZdtwRyw==", "dev": true }, - "packages/cli/node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "packages/core": { "name": "@arethetypeswrong/core", "version": "0.10.2", @@ -6729,7 +6716,7 @@ "devDependencies": { "@types/node": "^18.15.11", "@types/semver": "^7.5.0", - "@types/ts-expose-internals": "npm:ts-expose-internals@5.1.3", + "@types/ts-expose-internals": "npm:ts-expose-internals@5.2.2", "@types/validate-npm-package-name": "^4.0.0" } }, @@ -6738,18 +6725,6 @@ "dev": true, "license": "MIT" }, - "packages/core/node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "packages/history": { "name": "@arethetypeswrong/history", "version": "0.3.1", @@ -6801,19 +6776,6 @@ "url": "https://opencollective.com/node-fetch" } }, - "packages/history/node_modules/typescript": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz", - "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "packages/web": { "name": "@arethetypeswrong/web", "version": "0.0.1", diff --git a/package.json b/package.json index d7e745d..ec476cc 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@types/node": "^18.11.18", "esbuild": "^0.18.12", "prettier": "^3.0.3", - "typescript": "^5.3.0-dev.20231007" + "typescript": "^5.2.2" }, "volta": { "node": "19.8.1" diff --git a/packages/cli/src/render/typed.ts b/packages/cli/src/render/typed.ts index 5bda72d..4b34b88 100644 --- a/packages/cli/src/render/typed.ts +++ b/packages/cli/src/render/typed.ts @@ -69,9 +69,12 @@ export async function typed(analysis: core.Analysis, opts: Opts) { return chalk.bold[color](entrypointNames[i]); }); - const getCellContents = memo((entrypoint: string, resolutionKind: core.ResolutionKind) => { - const problemsForCell = groupProblemsByKind(filterProblems(problems, analysis, { entrypoint, resolutionKind })); - const resolution = analysis.entrypoints[entrypoint].resolutions[resolutionKind].resolution; + const getCellContents = memo((subpath: string, resolutionKind: core.ResolutionKind) => { + const problemsForCell = groupProblemsByKind( + filterProblems(problems, analysis, { entrypoint: subpath, resolutionKind }), + ); + const entrypoint = analysis.entrypoints[subpath].resolutions[resolutionKind]; + const resolution = entrypoint.resolution; const kinds = Object.keys(problemsForCell) as core.ProblemKind[]; if (kinds.length) { return kinds @@ -80,12 +83,13 @@ export async function typed(analysis: core.Analysis, opts: Opts) { } const jsonResult = !opts.emoji ? "OK (JSON)" : "🟢 (JSON)"; - const moduleResult = - (!opts.emoji ? "OK " : "🟢 ") + - moduleKinds[ - analysis.programInfo[getResolutionOption(resolutionKind)].moduleKinds?.[resolution?.fileName ?? ""] - ?.detectedKind || "" - ]; + const moduleResult = entrypoint.isWildcard + ? "(wildcard)" + : (!opts.emoji ? "OK " : "🟢 ") + + moduleKinds[ + analysis.programInfo[getResolutionOption(resolutionKind)].moduleKinds?.[resolution?.fileName ?? ""] + ?.detectedKind || "" + ]; return resolution?.isJson ? jsonResult : moduleResult; }); diff --git a/packages/core/package.json b/packages/core/package.json index e91a3a6..9ffe922 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -57,7 +57,7 @@ "devDependencies": { "@types/node": "^18.15.11", "@types/semver": "^7.5.0", - "@types/ts-expose-internals": "npm:ts-expose-internals@5.1.3", + "@types/ts-expose-internals": "npm:ts-expose-internals@5.2.2", "@types/validate-npm-package-name": "^4.0.0" }, "volta": { diff --git a/packages/core/src/checkPackage.ts b/packages/core/src/checkPackage.ts index 6cd2d8f..ad9609b 100644 --- a/packages/core/src/checkPackage.ts +++ b/packages/core/src/checkPackage.ts @@ -241,11 +241,8 @@ function getEntrypointResolution( const moduleSpecifier = packageName + entrypoint.substring(1); // remove leading . before slash const importingFileName = resolutionKind === "node16-esm" ? "/index.mts" : "/index.ts"; const resolutionMode = resolutionKind === "node16-esm" ? ts.ModuleKind.ESNext : ts.ModuleKind.CommonJS; - const resolution = tryResolve(); - const implementationResolution = - !resolution || ts.isDeclarationFileName(resolution.fileName) ? tryResolve(/*noDtsResolution*/ true) : undefined; - + const implementationResolution = tryResolve(/*noDtsResolution*/ true); const files = resolution ? host .createProgram([resolution.fileName]) diff --git a/packages/core/src/internal/checks/entrypointResolutions.ts b/packages/core/src/internal/checks/entrypointResolutions.ts index 23cd71b..acb85db 100644 --- a/packages/core/src/internal/checks/entrypointResolutions.ts +++ b/packages/core/src/internal/checks/entrypointResolutions.ts @@ -9,6 +9,10 @@ export default defineCheck({ execute: ([subpath, resolutionKind], context) => { const problems: Problem[] = []; const entrypoint = context.entrypoints[subpath].resolutions[resolutionKind]; + if (entrypoint.isWildcard) { + return; + } + if (!entrypoint.resolution) { problems.push({ kind: "NoResolution", @@ -24,9 +28,14 @@ export default defineCheck({ } if ( - entrypoint.resolution && resolutionKind === "node16-cjs" && - context.programInfo["node16"].moduleKinds![entrypoint.resolution.fileName].detectedKind === ts.ModuleKind.ESNext + ((!entrypoint.implementationResolution && + entrypoint.resolution && + context.programInfo["node16"].moduleKinds![entrypoint.resolution.fileName]?.detectedKind === + ts.ModuleKind.ESNext) || + (entrypoint.implementationResolution && + context.programInfo["node16"].moduleKinds![entrypoint.implementationResolution.fileName]?.detectedKind === + ts.ModuleKind.ESNext)) ) { problems.push({ kind: "CJSResolvesToESM", diff --git a/packages/core/src/internal/checks/exportDefaultDisagreement.ts b/packages/core/src/internal/checks/exportDefaultDisagreement.ts index 2be9989..e024907 100644 --- a/packages/core/src/internal/checks/exportDefaultDisagreement.ts +++ b/packages/core/src/internal/checks/exportDefaultDisagreement.ts @@ -16,7 +16,7 @@ export default defineCheck({ return [typesFileName, implementationFileName]; }, execute: ([typesFileName, implementationFileName], context) => { - if (!typesFileName || !implementationFileName) { + if (!typesFileName || !implementationFileName || !ts.hasTSFileExtension(typesFileName)) { return; } const host = context.hosts.findHostForFiles([typesFileName])!; diff --git a/packages/core/src/internal/checks/index.ts b/packages/core/src/internal/checks/index.ts index 3afc86c..b7ec801 100644 --- a/packages/core/src/internal/checks/index.ts +++ b/packages/core/src/internal/checks/index.ts @@ -6,10 +6,10 @@ import moduleKindDisagreement from "./moduleKindDisagreement.js"; import unexpectedModuleSyntax from "./unexpectedModuleSyntax.js"; export default [ - cjsOnlyExportsDefault, entrypointResolutions, - exportDefaultDisagreement, - internalResolutionError, moduleKindDisagreement, + exportDefaultDisagreement, + cjsOnlyExportsDefault, unexpectedModuleSyntax, + internalResolutionError, ]; diff --git a/packages/core/src/internal/defineCheck.ts b/packages/core/src/internal/defineCheck.ts index 18552ff..78eed60 100644 --- a/packages/core/src/internal/defineCheck.ts +++ b/packages/core/src/internal/defineCheck.ts @@ -36,16 +36,16 @@ export type Serializable = | undefined | boolean | { [key: string]: Serializable } - | Serializable[]; + | readonly Serializable[]; export interface AnyCheck { name: string; enumerateFiles?: boolean; - dependencies: (context: CheckDependenciesContext) => EnsureSerializable; + dependencies: (context: CheckDependenciesContext) => EnsureSerializable; execute: (dependencies: any, context: CheckExecutionContext) => Problem[] | Problem | undefined; } -export function defineCheck(options: { +export function defineCheck(options: { name: string; enumerateFiles?: EnumerateFiles; dependencies: (context: CheckDependenciesContext) => EnsureSerializable; diff --git a/packages/web/src/views/ChecksTable.ts b/packages/web/src/views/ChecksTable.ts index 37a712e..f70e489 100644 --- a/packages/web/src/views/ChecksTable.ts +++ b/packages/web/src/views/ChecksTable.ts @@ -61,7 +61,7 @@ export function ChecksTable(props: { analysis?: CheckResult }) { ) .join("
") : resolutionInfo.isWildcard - ? "❓ (wildcard)" + ? "(wildcard)" : resolutionInfo.resolution?.isJson ? "✅ (JSON)" : "✅ " + From c8f1a7cc0b004a9098d589fee168280850d1c261 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Sat, 7 Oct 2023 23:03:45 -0700 Subject: [PATCH 3/6] Update tests --- .../snapshots/@apollo__client-3.7.16.tgz.md | 81 +- .../cli/test/snapshots/@ice__app@3.2.6.tgz.md | 8 +- .../@reduxjs__toolkit@2.0.0-beta.0.tgz.md | 8 +- .../cli/test/snapshots/axios@1.4.0.tgz.md | 68 +- .../cli/test/snapshots/postcss@8.4.21.tgz.md | 8 +- .../snapshots/react-chartjs-2@5.2.0.tgz.md | 13 +- ...e@3.3.4.tgz --entrypoints . jsx-runtime.md | 4 +- ...z --exclude-entrypoints macros -f ascii.md | 14 +- ...tgz --include-entrypoints .foo -f ascii.md | 14 +- packages/cli/test/snapshots/vue@3.3.4.tgz.md | 56 +- .../snapshots/@apollo__client-3.7.16.tgz.json | 2237 ++++++++------- .../test/snapshots/@ice__app@3.2.6.tgz.json | 225 +- .../@reduxjs__toolkit@2.0.0-beta.0.tgz.json | 914 ++++-- .../@rollup__plugin-eslint@8.0.1.tgz.json | 74 +- .../@vitejs__plugin-react@3.1.0.tgz.json | 83 +- .../core/test/snapshots/ajv@8.12.0.tgz.json | 289 +- .../test/snapshots/anymatch@3.1.3.tgz.json | 74 +- .../test/snapshots/astring@1.8.6.tgz.json | 74 +- .../core/test/snapshots/axios@1.4.0.tgz.json | 1210 +++++++- .../core/test/snapshots/big.js@6.2.1.tgz.json | 479 +++- .../test/snapshots/commander@10.0.1.tgz.json | 216 +- .../core/test/snapshots/hexoid@1.0.0.tgz.json | 74 +- .../core/test/snapshots/ignore@5.2.4.tgz.json | 74 +- .../core/test/snapshots/klona@2.0.6.tgz.json | 367 ++- .../snapshots/node-html-parser@6.1.5.tgz.json | 101 +- .../test/snapshots/postcss@8.4.21.tgz.json | 2442 ++++++++++------- .../snapshots/react-chartjs-2@5.2.0.tgz.json | 99 +- .../core/test/snapshots/react@18.2.0.tgz.json | 323 ++- .../core/test/snapshots/rfdc@1.3.0.tgz.json | 197 +- .../core/test/snapshots/vue@3.3.4.tgz.json | 590 ++-- 30 files changed, 7035 insertions(+), 3381 deletions(-) diff --git a/packages/cli/test/snapshots/@apollo__client-3.7.16.tgz.md b/packages/cli/test/snapshots/@apollo__client-3.7.16.tgz.md index 7514ab9..d464237 100644 --- a/packages/cli/test/snapshots/@apollo__client-3.7.16.tgz.md +++ b/packages/cli/test/snapshots/@apollo__client-3.7.16.tgz.md @@ -12,8 +12,6 @@ Build tools: 👺 Import resolved to an ESM type declaration file, but a CommonJS JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseESM.md -⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md - 🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md @@ -21,111 +19,84 @@ Build tools: │ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/cache" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/core" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/errors" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/batch" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/batch-http" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/context" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/core" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/error" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/http" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/persisted-queries" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/retry" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/schema" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/subscriptions" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/utils" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/link/ws" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react/components" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react/context" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react/hoc" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react/hooks" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react/parser" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/react/ssr" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/testing" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/testing/core" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/utilities" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ ├─────────────────────────────────────────┼────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@apollo/client/utilities/globals" │ 🟢 │ 👺 Masquerading as ESM │ 👺 Masquerading as ESM │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ │ │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ │ └─────────────────────────────────────────┴────────┴──────────────────────────────┴──────────────────────────────┴─────────┘ diff --git a/packages/cli/test/snapshots/@ice__app@3.2.6.tgz.md b/packages/cli/test/snapshots/@ice__app@3.2.6.tgz.md index 1f99010..234d63d 100644 --- a/packages/cli/test/snapshots/@ice__app@3.2.6.tgz.md +++ b/packages/cli/test/snapshots/@ice__app@3.2.6.tgz.md @@ -12,10 +12,10 @@ Build tools: ⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md -💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md - 🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md +💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md + ┌────────────────────┬──────────────────────┬──────────────────────────────┬──────────────────────────────┬─────────┐ │ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ @@ -23,8 +23,8 @@ Build tools: │ "@ice/app" │ 🟢 │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ 🟢 │ │ │ │ 🥴 Internal resolution error │ │ │ ├────────────────────┼──────────────────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ -│ "@ice/app/types" │ 🟢 │ ⚠️ ESM (dynamic import only) │ 🥴 Internal resolution error │ 🟢 │ -│ │ │ 🥴 Internal resolution error │ │ │ +│ "@ice/app/types" │ 🟢 │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ 🟢 │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ ├────────────────────┼──────────────────────┼──────────────────────────────┼──────────────────────────────┼─────────┤ │ "@ice/app/analyze" │ 💀 Resolution failed │ ⚠️ ESM (dynamic import only) │ 🟢 (ESM) │ 🟢 │ └────────────────────┴──────────────────────┴──────────────────────────────┴──────────────────────────────┴─────────┘ diff --git a/packages/cli/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.md b/packages/cli/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.md index 1cf5238..72d2604 100644 --- a/packages/cli/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.md +++ b/packages/cli/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.md @@ -22,13 +22,13 @@ Build tools: ├─────────────────────────────────┼───────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ "@reduxjs/toolkit" │ 🟢 │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ ├─────────────────────────────────┼───────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ -│ "@reduxjs/toolkit/react" │ 🟢 │ 🥴 Internal resolution error │ 🎭 Masquerading as CJS │ 🥴 Internal resolution error │ -│ │ │ │ 🥴 Internal resolution error │ │ +│ "@reduxjs/toolkit/react" │ 🟢 │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ +│ │ │ │ 🎭 Masquerading as CJS │ │ ├─────────────────────────────────┼───────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ │ "@reduxjs/toolkit/query" │ 🟢 │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ ├─────────────────────────────────┼───────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤ -│ "@reduxjs/toolkit/query/react" │ 🟢 │ 🥴 Internal resolution error │ 🎭 Masquerading as CJS │ 🥴 Internal resolution error │ -│ │ │ │ 🥴 Internal resolution error │ │ +│ "@reduxjs/toolkit/query/react" │ 🟢 │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ 🥴 Internal resolution error │ +│ │ │ │ 🎭 Masquerading as CJS │ │ └─────────────────────────────────┴───────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘ diff --git a/packages/cli/test/snapshots/axios@1.4.0.tgz.md b/packages/cli/test/snapshots/axios@1.4.0.tgz.md index c962678..842eeee 100644 --- a/packages/cli/test/snapshots/axios@1.4.0.tgz.md +++ b/packages/cli/test/snapshots/axios@1.4.0.tgz.md @@ -10,8 +10,6 @@ Build tools: - typescript@^4.8.4 - rollup@^2.67.0 -🃏 Wildcard subpaths cannot yet be analyzed by this tool. https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/40 - 💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md ❌ Import resolved to JavaScript files, but no type declarations were found. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/UntypedResolution.md @@ -19,39 +17,39 @@ Build tools: ⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md -┌─────────────────────────────────────────┬──────────────────────┬──────────────────────────────┬────────────────────┬────────────────────┐ -│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/*" │ 🃏 Unable to check │ 🃏 Unable to check │ 🃏 Unable to check │ 🃏 Unable to check │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/core/settle.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/core/buildFullPath.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/helpers/isAbsoluteURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/helpers/buildURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/helpers/combineURLs.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/adapters/http.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/adapters/xhr.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/unsafe/utils.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼────────────────────┼────────────────────┤ -│ "axios/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ -└─────────────────────────────────────────┴──────────────────────┴──────────────────────────────┴────────────────────┴────────────────────┘ +┌─────────────────────────────────────────┬──────────────────────┬──────────────────────────────┬───────────────────┬───────────────┐ +│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/*" │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/core/settle.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/core/buildFullPath.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/helpers/isAbsoluteURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/helpers/buildURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/helpers/combineURLs.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/adapters/http.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/adapters/xhr.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/unsafe/utils.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ +│ "axios/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ +└─────────────────────────────────────────┴──────────────────────┴──────────────────────────────┴───────────────────┴───────────────┘ ``` diff --git a/packages/cli/test/snapshots/postcss@8.4.21.tgz.md b/packages/cli/test/snapshots/postcss@8.4.21.tgz.md index 62ba6b3..56d0ffc 100644 --- a/packages/cli/test/snapshots/postcss@8.4.21.tgz.md +++ b/packages/cli/test/snapshots/postcss@8.4.21.tgz.md @@ -8,18 +8,18 @@ postcss v8.4.21 ❓ The JavaScript appears to set both module.exports and module.exports.default for improved compatibility, but the types only reflect the latter (by using export default). This will cause TypeScript under the node16 module mode to think an extra .default property access is required, which will work at runtime but is not necessary. These types export = an object with a default property instead of using export default. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/MissingExportEquals.md -🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md - 🐛 Import resolved to types through a conditional package.json export, but only after failing to resolve through an earlier condition. This behavior is a TypeScript bug (https://github.com/microsoft/TypeScript/issues/50762). It may misrepresent the runtime behavior of this import and should not be relied upon. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FallbackCondition.md +🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md + ❌ Import resolved to JavaScript files, but no type declarations were found. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/UntypedResolution.md ┌──────────────────────────────────┬───────────────────────┬───────────────────────┬────────────────────────────┬────────────────────────────┐ │ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ ├──────────────────────────────────┼───────────────────────┼───────────────────────┼────────────────────────────┼────────────────────────────┤ -│ "postcss" │ ❓ Missing `export =` │ ❓ Missing `export =` │ 🎭 Masquerading as CJS │ 🐛 Used fallback condition │ -│ │ │ │ 🐛 Used fallback condition │ │ +│ "postcss" │ ❓ Missing `export =` │ ❓ Missing `export =` │ 🐛 Used fallback condition │ 🐛 Used fallback condition │ +│ │ │ │ 🎭 Masquerading as CJS │ │ ├──────────────────────────────────┼───────────────────────┼───────────────────────┼────────────────────────────┼────────────────────────────┤ │ "postcss/lib/at-rule" │ ❓ Missing `export =` │ ❓ Missing `export =` │ ❓ Missing `export =` │ ❓ Missing `export =` │ ├──────────────────────────────────┼───────────────────────┼───────────────────────┼────────────────────────────┼────────────────────────────┤ diff --git a/packages/cli/test/snapshots/react-chartjs-2@5.2.0.tgz.md b/packages/cli/test/snapshots/react-chartjs-2@5.2.0.tgz.md index 740c069..276d976 100644 --- a/packages/cli/test/snapshots/react-chartjs-2@5.2.0.tgz.md +++ b/packages/cli/test/snapshots/react-chartjs-2@5.2.0.tgz.md @@ -8,15 +8,12 @@ react-chartjs-2 v5.2.0 👺 Import resolved to an ESM type declaration file, but a CommonJS JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseESM.md -⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md - -┌───────────────────┬────────┬──────────────────────────────┬───────────────────┬─────────┐ -│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ -├───────────────────┼────────┼──────────────────────────────┼───────────────────┼─────────┤ -│ "react-chartjs-2" │ 🟢 │ 👺 Masquerading as ESM │ 🟢 (ESM) │ 🟢 │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -└───────────────────┴────────┴──────────────────────────────┴───────────────────┴─────────┘ +┌───────────────────┬────────┬────────────────────────┬───────────────────┬─────────┐ +│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ +├───────────────────┼────────┼────────────────────────┼───────────────────┼─────────┤ +│ "react-chartjs-2" │ 🟢 │ 👺 Masquerading as ESM │ 🟢 (ESM) │ 🟢 │ +└───────────────────┴────────┴────────────────────────┴───────────────────┴─────────┘ ``` diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz --entrypoints . jsx-runtime.md b/packages/cli/test/snapshots/vue@3.3.4.tgz --entrypoints . jsx-runtime.md index d763b4b..d562522 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz --entrypoints . jsx-runtime.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz --entrypoints . jsx-runtime.md @@ -6,10 +6,10 @@ $ attw vue@3.3.4.tgz --entrypoints . jsx-runtime vue v3.3.4 -🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md - 🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md +🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md + ┌───────────────────┬──────────────────────────────┬────────────────────────┐ │ │ "vue" │ "vue/jsx-runtime" │ diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md b/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md index 8f50f42..cd6a0cd 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md @@ -6,14 +6,12 @@ $ attw vue@3.3.4.tgz --exclude-entrypoints macros -f ascii vue v3.3.4 +🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md + 🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md 💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md -🃏 Wildcard subpaths cannot yet be analyzed by this tool. https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/40 - -🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md - "vue" @@ -71,10 +69,10 @@ bundler: 🟢 "vue/dist/*" -node10: 🃏 Unable to check -node16 (from CJS): 🃏 Unable to check -node16 (from ESM): 🃏 Unable to check -bundler: 🃏 Unable to check +node10: ❓ (wildcard) +node16 (from CJS): ❓ (wildcard) +node16 (from ESM): ❓ (wildcard) +bundler: ❓ (wildcard) *********************************** diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md b/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md index 2a1f90d..6dec028 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md @@ -6,14 +6,12 @@ $ attw vue@3.3.4.tgz --include-entrypoints ./foo -f ascii vue v3.3.4 +🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md + 🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md 💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md -🃏 Wildcard subpaths cannot yet be analyzed by this tool. https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/40 - -🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md - "vue" @@ -71,10 +69,10 @@ bundler: 🟢 "vue/dist/*" -node10: 🃏 Unable to check -node16 (from CJS): 🃏 Unable to check -node16 (from ESM): 🃏 Unable to check -bundler: 🃏 Unable to check +node10: ❓ (wildcard) +node16 (from CJS): ❓ (wildcard) +node16 (from ESM): ❓ (wildcard) +bundler: ❓ (wildcard) *********************************** diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz.md b/packages/cli/test/snapshots/vue@3.3.4.tgz.md index 71e1729..0eb725d 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz.md @@ -6,40 +6,38 @@ $ attw vue@3.3.4.tgz -f table-flipped vue v3.3.4 +🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md + 🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md 💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md -🃏 Wildcard subpaths cannot yet be analyzed by this tool. https://github.com/arethetypeswrong/arethetypeswrong.github.io/issues/40 - -🥴 Import found in a type declaration file failed to resolve. Either this indicates that runtime resolution errors will occur, or (more likely) the types misrepresent the contents of the JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/InternalResolutionError.md - -┌───────────────────────┬──────────────────────┬────────────────────┬──────────────────────────────┬────────────────────┐ -│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue" │ 🟢 │ 🟢 (CJS) │ 🥴 Internal resolution error │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/server-renderer" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/compiler-sfc" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/jsx-runtime" │ 🟢 │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/jsx-dev-runtime" │ 💀 Resolution failed │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/jsx" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/dist/*" │ 🃏 Unable to check │ 🃏 Unable to check │ 🃏 Unable to check │ 🃏 Unable to check │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/macros-global" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -├───────────────────────┼──────────────────────┼────────────────────┼──────────────────────────────┼────────────────────┤ -│ "vue/ref-macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -└───────────────────────┴──────────────────────┴────────────────────┴──────────────────────────────┴────────────────────┘ +┌───────────────────────┬──────────────────────┬───────────────────┬──────────────────────────────┬───────────────┐ +│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue" │ 🟢 │ 🟢 (CJS) │ 🥴 Internal resolution error │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/server-renderer" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/compiler-sfc" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/jsx-runtime" │ 🟢 │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/jsx-dev-runtime" │ 💀 Resolution failed │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/jsx" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/dist/*" │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/macros-global" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ +│ "vue/ref-macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +└───────────────────────┴──────────────────────┴───────────────────┴──────────────────────────────┴───────────────┘ ``` diff --git a/packages/core/test/snapshots/@apollo__client-3.7.16.tgz.json b/packages/core/test/snapshots/@apollo__client-3.7.16.tgz.json index a32c05b..5b9f4af 100644 --- a/packages/core/test/snapshots/@apollo__client-3.7.16.tgz.json +++ b/packages/core/test/snapshots/@apollo__client-3.7.16.tgz.json @@ -171,18 +171,14 @@ "/node_modules/@apollo/client/react/parser/index.d.ts", "/node_modules/@apollo/client/react/index.d.ts", "/node_modules/@apollo/client/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -205,11 +201,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/main.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/main.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -246,6 +237,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/index.d.ts" + ], + "visibleProblems": [ + 0, + 1, + 2 ] }, "node16-esm": { @@ -253,11 +249,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -276,11 +267,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/main.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/main.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -326,6 +312,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/index.d.ts" + ], + "visibleProblems": [ + 0, + 1, + 2 ] }, "bundler": { @@ -508,7 +499,8 @@ "/node_modules/@apollo/client/react/parser/index.d.ts", "/node_modules/@apollo/client/react/index.d.ts", "/node_modules/@apollo/client/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -655,18 +647,14 @@ "/node_modules/@apollo/client/cache/core/cache.d.ts", "/node_modules/@apollo/client/cache/inmemory/helpers.d.ts", "/node_modules/@apollo/client/cache/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./cache", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/cache/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/cache/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -690,11 +678,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/cache/cache.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/cache/cache.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -733,6 +716,23 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/cache/index.d.ts" + ], + "visibleProblems": [ + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17 ] }, "node16-esm": { @@ -740,11 +740,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/cache/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/cache/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -764,11 +759,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/cache/cache.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/cache/cache.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -810,6 +800,23 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/cache/index.d.ts" + ], + "visibleProblems": [ + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17 ] }, "bundler": { @@ -974,7 +981,8 @@ "/node_modules/@apollo/client/cache/core/cache.d.ts", "/node_modules/@apollo/client/cache/inmemory/helpers.d.ts", "/node_modules/@apollo/client/cache/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1121,18 +1129,14 @@ "/node_modules/@apollo/client/core/ObservableQuery.d.ts", "/node_modules/@apollo/client/core/ApolloClient.d.ts", "/node_modules/@apollo/client/core/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./core", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/core/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/core/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1156,11 +1160,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/core/core.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/core/core.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1199,6 +1198,22 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/core/index.d.ts" + ], + "visibleProblems": [ + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31 ] }, "node16-esm": { @@ -1206,11 +1221,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/core/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/core/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1230,11 +1240,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/core/core.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/core/core.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1276,6 +1281,22 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/core/index.d.ts" + ], + "visibleProblems": [ + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31 ] }, "bundler": { @@ -1440,7 +1461,8 @@ "/node_modules/@apollo/client/core/ObservableQuery.d.ts", "/node_modules/@apollo/client/core/ApolloClient.d.ts", "/node_modules/@apollo/client/core/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1587,18 +1609,14 @@ "/node_modules/@apollo/client/link/http/rewriteURIForGET.d.ts", "/node_modules/@apollo/client/link/http/index.d.ts", "/node_modules/@apollo/client/errors/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./errors", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/errors/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/errors/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1622,11 +1640,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/errors/errors.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/errors/errors.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1665,6 +1678,13 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/errors/index.d.ts" + ], + "visibleProblems": [ + 32, + 33, + 34, + 35, + 36 ] }, "node16-esm": { @@ -1672,11 +1692,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/errors/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/errors/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1696,11 +1711,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/errors/errors.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/errors/errors.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1742,6 +1752,13 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/errors/index.d.ts" + ], + "visibleProblems": [ + 32, + 33, + 34, + 35, + 36 ] }, "bundler": { @@ -1906,7 +1923,8 @@ "/node_modules/@apollo/client/link/http/rewriteURIForGET.d.ts", "/node_modules/@apollo/client/link/http/index.d.ts", "/node_modules/@apollo/client/errors/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -2057,18 +2075,14 @@ "/node_modules/@apollo/client/link/batch/batching.d.ts", "/node_modules/@apollo/client/link/batch/batchLink.d.ts", "/node_modules/@apollo/client/link/batch/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/batch", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/batch/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/batch/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2092,11 +2106,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/batch/batch.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/batch/batch.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2135,6 +2144,10 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/batch/index.d.ts" + ], + "visibleProblems": [ + 37, + 38 ] }, "node16-esm": { @@ -2142,11 +2155,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/batch/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/batch/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2166,11 +2174,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/batch/batch.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/batch/batch.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2212,6 +2215,10 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/batch/index.d.ts" + ], + "visibleProblems": [ + 37, + 38 ] }, "bundler": { @@ -2380,7 +2387,8 @@ "/node_modules/@apollo/client/link/batch/batching.d.ts", "/node_modules/@apollo/client/link/batch/batchLink.d.ts", "/node_modules/@apollo/client/link/batch/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -2533,18 +2541,14 @@ "/node_modules/@apollo/client/link/batch/index.d.ts", "/node_modules/@apollo/client/link/batch-http/batchHttpLink.d.ts", "/node_modules/@apollo/client/link/batch-http/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/batch-http", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/batch-http/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/batch-http/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2568,11 +2572,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2611,6 +2610,10 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/batch-http/index.d.ts" + ], + "visibleProblems": [ + 39, + 40 ] }, "node16-esm": { @@ -2618,11 +2621,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/batch-http/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/batch-http/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2642,11 +2640,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2688,6 +2681,10 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/batch-http/index.d.ts" + ], + "visibleProblems": [ + 39, + 40 ] }, "bundler": { @@ -2858,7 +2855,8 @@ "/node_modules/@apollo/client/link/batch/index.d.ts", "/node_modules/@apollo/client/link/batch-http/batchHttpLink.d.ts", "/node_modules/@apollo/client/link/batch-http/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -3007,18 +3005,14 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/context/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/context", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/context/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/context/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3042,11 +3036,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/context/context.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/context/context.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3085,6 +3074,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/context/index.d.ts" + ], + "visibleProblems": [ + 41, + 42, + 43 ] }, "node16-esm": { @@ -3092,11 +3086,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/context/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/context/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3116,11 +3105,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/context/context.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/context/context.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3162,6 +3146,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/context/index.d.ts" + ], + "visibleProblems": [ + 41, + 42, + 43 ] }, "bundler": { @@ -3328,7 +3317,8 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/context/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -3475,18 +3465,14 @@ "/node_modules/@apollo/client/link/core/concat.d.ts", "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/core", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/core/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/core/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3510,11 +3496,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/core/core.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/core/core.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3553,6 +3534,17 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts" + ], + "visibleProblems": [ + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52 ] }, "node16-esm": { @@ -3560,11 +3552,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/core/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/core/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3584,11 +3571,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/core/core.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/core/core.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3630,6 +3612,17 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts" + ], + "visibleProblems": [ + 44, + 45, + 46, + 47, + 48, + 49, + 50, + 51, + 52 ] }, "bundler": { @@ -3794,7 +3787,8 @@ "/node_modules/@apollo/client/link/core/concat.d.ts", "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -3943,18 +3937,14 @@ "/node_modules/@apollo/client/link/http/index.d.ts", "/node_modules/@apollo/client/errors/index.d.ts", "/node_modules/@apollo/client/link/error/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/error", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/error/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/error/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3978,11 +3968,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/error/error.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/error/error.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4021,6 +4006,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/error/index.d.ts" + ], + "visibleProblems": [ + 53, + 54, + 55, + 56 ] }, "node16-esm": { @@ -4028,11 +4019,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/error/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/error/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4052,11 +4038,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/error/error.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/error/error.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4098,6 +4079,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/error/index.d.ts" + ], + "visibleProblems": [ + 53, + 54, + 55, + 56 ] }, "bundler": { @@ -4264,7 +4251,8 @@ "/node_modules/@apollo/client/link/http/index.d.ts", "/node_modules/@apollo/client/errors/index.d.ts", "/node_modules/@apollo/client/link/error/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -4411,18 +4399,14 @@ "/node_modules/@apollo/client/link/http/HttpLink.d.ts", "/node_modules/@apollo/client/link/http/rewriteURIForGET.d.ts", "/node_modules/@apollo/client/link/http/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/http", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/http/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/http/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4446,11 +4430,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/http/http.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/http/http.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4489,6 +4468,19 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/http/index.d.ts" + ], + "visibleProblems": [ + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67 ] }, "node16-esm": { @@ -4496,11 +4488,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/http/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/http/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4520,11 +4507,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/http/http.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/http/http.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4566,6 +4548,19 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/http/index.d.ts" + ], + "visibleProblems": [ + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67 ] }, "bundler": { @@ -4730,7 +4725,8 @@ "/node_modules/@apollo/client/link/http/HttpLink.d.ts", "/node_modules/@apollo/client/link/http/rewriteURIForGET.d.ts", "/node_modules/@apollo/client/link/http/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -4879,18 +4875,14 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/persisted-queries/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/persisted-queries", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/persisted-queries/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4914,11 +4906,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4957,6 +4944,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/persisted-queries/index.d.ts" + ], + "visibleProblems": [ + 68, + 69, + 70 ] }, "node16-esm": { @@ -4964,11 +4956,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/persisted-queries/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4988,11 +4975,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5034,6 +5016,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/persisted-queries/index.d.ts" + ], + "visibleProblems": [ + 68, + 69, + 70 ] }, "bundler": { @@ -5200,7 +5187,8 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/persisted-queries/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -5352,18 +5340,14 @@ "/node_modules/@apollo/client/link/retry/retryFunction.d.ts", "/node_modules/@apollo/client/link/retry/retryLink.d.ts", "/node_modules/@apollo/client/link/retry/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/retry", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/retry/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/retry/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5387,11 +5371,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/retry/retry.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/retry/retry.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5430,6 +5409,10 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/retry/index.d.ts" + ], + "visibleProblems": [ + 71, + 72 ] }, "node16-esm": { @@ -5437,11 +5420,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/retry/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/retry/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5461,11 +5439,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/retry/retry.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/retry/retry.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5507,6 +5480,10 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/retry/index.d.ts" + ], + "visibleProblems": [ + 71, + 72 ] }, "bundler": { @@ -5676,7 +5653,8 @@ "/node_modules/@apollo/client/link/retry/retryFunction.d.ts", "/node_modules/@apollo/client/link/retry/retryLink.d.ts", "/node_modules/@apollo/client/link/retry/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -5825,18 +5803,14 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/schema/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/schema", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/schema/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/schema/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5860,11 +5834,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/schema/schema.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/schema/schema.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5903,6 +5872,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/schema/index.d.ts" + ], + "visibleProblems": [ + 73, + 74, + 75 ] }, "node16-esm": { @@ -5910,11 +5884,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/schema/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/schema/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5934,11 +5903,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/schema/schema.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/schema/schema.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5980,6 +5944,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/schema/index.d.ts" + ], + "visibleProblems": [ + 73, + 74, + 75 ] }, "bundler": { @@ -6146,7 +6115,8 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/schema/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -6295,18 +6265,14 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/subscriptions/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/subscriptions", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/subscriptions/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6330,11 +6296,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6373,6 +6334,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/subscriptions/index.d.ts" + ], + "visibleProblems": [ + 76, + 77, + 78 ] }, "node16-esm": { @@ -6380,11 +6346,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/subscriptions/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6404,11 +6365,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6450,6 +6406,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/subscriptions/index.d.ts" + ], + "visibleProblems": [ + 76, + 77, + 78 ] }, "bundler": { @@ -6616,7 +6577,8 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/subscriptions/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -6763,18 +6725,14 @@ "/node_modules/@apollo/client/link/utils/createOperation.d.ts", "/node_modules/@apollo/client/link/utils/transformOperation.d.ts", "/node_modules/@apollo/client/link/utils/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/utils", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/utils/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/utils/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6798,11 +6756,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/utils/utils.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/utils/utils.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6841,6 +6794,17 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/utils/index.d.ts" + ], + "visibleProblems": [ + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87 ] }, "node16-esm": { @@ -6848,11 +6812,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/utils/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/utils/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6872,11 +6831,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/utils/utils.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/utils/utils.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6918,6 +6872,17 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/utils/index.d.ts" + ], + "visibleProblems": [ + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87 ] }, "bundler": { @@ -7082,7 +7047,8 @@ "/node_modules/@apollo/client/link/utils/createOperation.d.ts", "/node_modules/@apollo/client/link/utils/transformOperation.d.ts", "/node_modules/@apollo/client/link/utils/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -7231,18 +7197,14 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/ws/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./link/ws", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/link/ws/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/ws/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -7266,11 +7228,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/ws/ws.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/ws/ws.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7309,6 +7266,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/ws/index.d.ts" + ], + "visibleProblems": [ + 88, + 89, + 90 ] }, "node16-esm": { @@ -7316,11 +7278,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/link/ws/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/link/ws/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -7340,11 +7297,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/link/ws/ws.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/link/ws/ws.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7386,6 +7338,11 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/link/ws/index.d.ts" + ], + "visibleProblems": [ + 88, + 89, + 90 ] }, "bundler": { @@ -7552,7 +7509,8 @@ "/node_modules/@apollo/client/link/core/execute.d.ts", "/node_modules/@apollo/client/link/core/index.d.ts", "/node_modules/@apollo/client/link/ws/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -7718,18 +7676,14 @@ "/node_modules/@apollo/client/react/hooks/index.d.ts", "/node_modules/@apollo/client/react/parser/index.d.ts", "/node_modules/@apollo/client/react/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -7753,11 +7707,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/react.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/react.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7796,6 +7745,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/index.d.ts" + ], + "visibleProblems": [ + 91, + 92, + 93, + 94, + 95, + 96 ] }, "node16-esm": { @@ -7803,11 +7760,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -7827,11 +7779,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/react.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/react.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7873,6 +7820,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/index.d.ts" + ], + "visibleProblems": [ + 91, + 92, + 93, + 94, + 95, + 96 ] }, "bundler": { @@ -8056,7 +8011,8 @@ "/node_modules/@apollo/client/react/hooks/index.d.ts", "/node_modules/@apollo/client/react/parser/index.d.ts", "/node_modules/@apollo/client/react/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -8210,18 +8166,14 @@ "/node_modules/@apollo/client/react/components/Mutation.d.ts", "/node_modules/@apollo/client/react/components/Subscription.d.ts", "/node_modules/@apollo/client/react/components/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react/components", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/components/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/components/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -8245,11 +8197,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/components/components.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/components/components.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -8288,6 +8235,13 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/components/index.d.ts" + ], + "visibleProblems": [ + 97, + 98, + 99, + 100, + 101 ] }, "node16-esm": { @@ -8295,11 +8249,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/components/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/components/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -8319,11 +8268,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/components/components.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/components/components.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -8365,6 +8309,13 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/components/index.d.ts" + ], + "visibleProblems": [ + 97, + 98, + 99, + 100, + 101 ] }, "bundler": { @@ -8536,7 +8487,8 @@ "/node_modules/@apollo/client/react/components/Mutation.d.ts", "/node_modules/@apollo/client/react/components/Subscription.d.ts", "/node_modules/@apollo/client/react/components/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -8692,18 +8644,14 @@ "/node_modules/@apollo/client/react/context/ApolloContext.d.ts", "/node_modules/@apollo/client/react/context/ApolloProvider.d.ts", "/node_modules/@apollo/client/react/context/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react/context", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/context/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/context/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -8727,11 +8675,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/context/context.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/context/context.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -8770,6 +8713,13 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/context/index.d.ts" + ], + "visibleProblems": [ + 102, + 103, + 104, + 105, + 106 ] }, "node16-esm": { @@ -8777,11 +8727,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/context/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/context/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -8801,11 +8746,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/context/context.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/context/context.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -8847,6 +8787,13 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/context/index.d.ts" + ], + "visibleProblems": [ + 102, + 103, + 104, + 105, + 106 ] }, "bundler": { @@ -9020,7 +8967,8 @@ "/node_modules/@apollo/client/react/context/ApolloContext.d.ts", "/node_modules/@apollo/client/react/context/ApolloProvider.d.ts", "/node_modules/@apollo/client/react/context/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -9176,18 +9124,14 @@ "/node_modules/@apollo/client/react/hoc/subscription-hoc.d.ts", "/node_modules/@apollo/client/react/hoc/withApollo.d.ts", "/node_modules/@apollo/client/react/hoc/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react/hoc", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/hoc/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/hoc/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -9211,11 +9155,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -9254,6 +9193,16 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/hoc/index.d.ts" + ], + "visibleProblems": [ + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114 ] }, "node16-esm": { @@ -9261,11 +9210,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/hoc/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/hoc/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -9285,11 +9229,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -9331,6 +9270,16 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/hoc/index.d.ts" + ], + "visibleProblems": [ + 107, + 108, + 109, + 110, + 111, + 112, + 113, + 114 ] }, "bundler": { @@ -9504,7 +9453,8 @@ "/node_modules/@apollo/client/react/hoc/subscription-hoc.d.ts", "/node_modules/@apollo/client/react/hoc/withApollo.d.ts", "/node_modules/@apollo/client/react/hoc/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -9660,18 +9610,14 @@ "/node_modules/@apollo/client/react/hooks/useReactiveVar.d.ts", "/node_modules/@apollo/client/react/hooks/useFragment.d.ts", "/node_modules/@apollo/client/react/hooks/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react/hooks", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/hooks/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/hooks/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -9695,11 +9641,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -9738,6 +9679,17 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/hooks/index.d.ts" + ], + "visibleProblems": [ + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123 ] }, "node16-esm": { @@ -9745,11 +9697,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/hooks/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/hooks/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -9769,11 +9716,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -9815,6 +9757,17 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/hooks/index.d.ts" + ], + "visibleProblems": [ + 115, + 116, + 117, + 118, + 119, + 120, + 121, + 122, + 123 ] }, "bundler": { @@ -9988,7 +9941,8 @@ "/node_modules/@apollo/client/react/hooks/useReactiveVar.d.ts", "/node_modules/@apollo/client/react/hooks/useFragment.d.ts", "/node_modules/@apollo/client/react/hooks/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -10056,18 +10010,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/parser/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react/parser", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/parser/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/parser/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -10091,11 +10041,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/parser/parser.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/parser/parser.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -10134,6 +10079,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/parser/index.d.ts" + ], + "visibleProblems": [ + 124 ] }, "node16-esm": { @@ -10141,11 +10089,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/parser/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/parser/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -10165,11 +10108,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/parser/parser.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/parser/parser.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -10211,6 +10149,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/parser/index.d.ts" + ], + "visibleProblems": [ + 124 ] }, "bundler": { @@ -10296,7 +10237,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/parser/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -10448,18 +10390,14 @@ "/node_modules/@apollo/client/react/types/types.d.ts", "/node_modules/@apollo/client/react/ssr/RenderPromises.d.ts", "/node_modules/@apollo/client/react/ssr/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react/ssr", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/react/ssr/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/ssr/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -10483,11 +10421,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -10526,6 +10459,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/ssr/index.d.ts" + ], + "visibleProblems": [ + 125, + 126, + 127, + 128 ] }, "node16-esm": { @@ -10533,11 +10472,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/react/ssr/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/react/ssr/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -10557,11 +10491,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -10603,6 +10532,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/react/ssr/index.d.ts" + ], + "visibleProblems": [ + 125, + 126, + 127, + 128 ] }, "bundler": { @@ -10772,7 +10707,8 @@ "/node_modules/@apollo/client/react/types/types.d.ts", "/node_modules/@apollo/client/react/ssr/RenderPromises.d.ts", "/node_modules/@apollo/client/react/ssr/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -10930,18 +10866,14 @@ "/node_modules/@apollo/client/testing/core/index.d.ts", "/node_modules/@apollo/client/testing/react/MockedProvider.d.ts", "/node_modules/@apollo/client/testing/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./testing", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/testing/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/testing/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -10965,11 +10897,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/testing/testing.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/testing/testing.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -11008,6 +10935,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/testing/index.d.ts" + ], + "visibleProblems": [ + 129, + 130, + 131, + 132 ] }, "node16-esm": { @@ -11015,11 +10948,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/testing/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/testing/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -11039,11 +10967,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/testing/testing.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/testing/testing.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -11085,6 +11008,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/testing/index.d.ts" + ], + "visibleProblems": [ + 129, + 130, + 131, + 132 ] }, "bundler": { @@ -11260,7 +11189,8 @@ "/node_modules/@apollo/client/testing/core/index.d.ts", "/node_modules/@apollo/client/testing/react/MockedProvider.d.ts", "/node_modules/@apollo/client/testing/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -11415,18 +11345,14 @@ "/node_modules/@apollo/client/testing/core/wait.d.ts", "/node_modules/@apollo/client/testing/core/withConsoleSpy.d.ts", "/node_modules/@apollo/client/testing/core/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./testing/core", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/testing/core/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/testing/core/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -11450,11 +11376,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/testing/core/core.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/testing/core/core.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -11493,6 +11414,16 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/testing/core/index.d.ts" + ], + "visibleProblems": [ + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140 ] }, "node16-esm": { @@ -11500,11 +11431,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/testing/core/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/testing/core/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -11524,11 +11450,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/testing/core/core.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/testing/core/core.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -11570,6 +11491,16 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/testing/core/index.d.ts" + ], + "visibleProblems": [ + 133, + 134, + 135, + 136, + 137, + 138, + 139, + 140 ] }, "bundler": { @@ -11742,7 +11673,8 @@ "/node_modules/@apollo/client/testing/core/wait.d.ts", "/node_modules/@apollo/client/testing/core/withConsoleSpy.d.ts", "/node_modules/@apollo/client/testing/core/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -11889,18 +11821,14 @@ "/node_modules/@apollo/client/utilities/common/mergeOptions.d.ts", "/node_modules/@apollo/client/utilities/types/IsStrictlyAny.d.ts", "/node_modules/@apollo/client/utilities/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./utilities", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/utilities/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/utilities/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -11924,11 +11852,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/utilities/utilities.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/utilities/utilities.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -11967,6 +11890,33 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/utilities/index.d.ts" + ], + "visibleProblems": [ + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165 ] }, "node16-esm": { @@ -11974,11 +11924,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/utilities/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/utilities/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -11998,11 +11943,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/utilities/utilities.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/utilities/utilities.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -12044,6 +11984,33 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/utilities/index.d.ts" + ], + "visibleProblems": [ + 141, + 142, + 143, + 144, + 145, + 146, + 147, + 148, + 149, + 150, + 151, + 152, + 153, + 154, + 155, + 156, + 157, + 158, + 159, + 160, + 161, + 162, + 163, + 164, + 165 ] }, "bundler": { @@ -12208,7 +12175,8 @@ "/node_modules/@apollo/client/utilities/common/mergeOptions.d.ts", "/node_modules/@apollo/client/utilities/types/IsStrictlyAny.d.ts", "/node_modules/@apollo/client/utilities/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -12279,18 +12247,14 @@ "/node_modules/@apollo/client/utilities/globals/maybe.d.ts", "/node_modules/@apollo/client/utilities/globals/global.d.ts", "/node_modules/@apollo/client/utilities/globals/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./utilities/globals", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@apollo/client/utilities/globals/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/utilities/globals/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -12314,11 +12278,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -12357,6 +12316,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/utilities/globals/index.d.ts" + ], + "visibleProblems": [ + 166, + 167, + 168, + 169 ] }, "node16-esm": { @@ -12364,11 +12329,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@apollo/client/utilities/globals/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@apollo/client/utilities/globals/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -12388,11 +12348,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -12434,6 +12389,12 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@apollo/client/utilities/globals/index.d.ts" + ], + "visibleProblems": [ + 166, + 167, + 168, + 169 ] }, "bundler": { @@ -12522,418 +12483,312 @@ "/node_modules/@apollo/client/utilities/globals/maybe.d.ts", "/node_modules/@apollo/client/utilities/globals/global.d.ts", "/node_modules/@apollo/client/utilities/globals/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "isWildcard": false } }, - "problems": [ - { - "kind": "FalseESM", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": ".", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./cache", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./cache", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./cache", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./core", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./core", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./core", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./errors", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./errors", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./errors", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/batch", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/batch", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/batch", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/batch-http", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/batch-http", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/batch-http", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/context", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/context", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/context", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/core", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/core", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/core", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/error", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/error", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/error", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/http", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/http", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/http", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/persisted-queries", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/persisted-queries", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/persisted-queries", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/retry", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/retry", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/retry", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/schema", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/schema", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/schema", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/subscriptions", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/subscriptions", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/subscriptions", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/utils", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/utils", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/utils", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/ws", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./link/ws", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./link/ws", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/components", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react/components", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/components", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/context", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react/context", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/context", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/hoc", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react/hoc", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/hoc", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/hooks", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react/hooks", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/hooks", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/parser", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react/parser", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/parser", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/ssr", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./react/ssr", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./react/ssr", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./testing", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./testing", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./testing", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./testing/core", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./testing/core", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./testing/core", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./utilities", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./utilities", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseESM", - "entrypoint": "./utilities", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseESM", - "entrypoint": "./utilities/globals", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./utilities/globals", - "resolutionKind": "node16-cjs" + "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/@apollo/client/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/package.json" + }, + "/node_modules/@apollo/client/main.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/main.cjs" + }, + "/node_modules/@apollo/client/cache/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/cache/package.json" + }, + "/node_modules/@apollo/client/cache/cache.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/cache/cache.cjs" + }, + "/node_modules/@apollo/client/core/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/core/package.json" + }, + "/node_modules/@apollo/client/core/core.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/core/core.cjs" + }, + "/node_modules/@apollo/client/errors/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/errors/package.json" + }, + "/node_modules/@apollo/client/errors/errors.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/errors/errors.cjs" + }, + "/node_modules/@apollo/client/link/batch/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/batch/package.json" + }, + "/node_modules/@apollo/client/link/batch/batch.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/batch/batch.cjs" + }, + "/node_modules/@apollo/client/link/batch-http/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/batch-http/package.json" + }, + "/node_modules/@apollo/client/link/batch-http/batch-http.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs" + }, + "/node_modules/@apollo/client/link/context/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/context/package.json" + }, + "/node_modules/@apollo/client/link/context/context.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/context/context.cjs" + }, + "/node_modules/@apollo/client/link/core/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/core/package.json" + }, + "/node_modules/@apollo/client/link/core/core.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/core/core.cjs" + }, + "/node_modules/@apollo/client/link/error/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/error/package.json" + }, + "/node_modules/@apollo/client/link/error/error.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/error/error.cjs" + }, + "/node_modules/@apollo/client/link/http/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/http/package.json" + }, + "/node_modules/@apollo/client/link/http/http.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/http/http.cjs" + }, + "/node_modules/@apollo/client/link/persisted-queries/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/package.json" + }, + "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs" + }, + "/node_modules/@apollo/client/link/retry/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/retry/package.json" + }, + "/node_modules/@apollo/client/link/retry/retry.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/retry/retry.cjs" + }, + "/node_modules/@apollo/client/link/schema/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/schema/package.json" + }, + "/node_modules/@apollo/client/link/schema/schema.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/schema/schema.cjs" + }, + "/node_modules/@apollo/client/link/subscriptions/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/package.json" + }, + "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs" + }, + "/node_modules/@apollo/client/link/utils/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/utils/package.json" + }, + "/node_modules/@apollo/client/link/utils/utils.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/utils/utils.cjs" + }, + "/node_modules/@apollo/client/link/ws/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/ws/package.json" + }, + "/node_modules/@apollo/client/link/ws/ws.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/ws/ws.cjs" + }, + "/node_modules/@apollo/client/react/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/package.json" + }, + "/node_modules/@apollo/client/react/react.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/react.cjs" + }, + "/node_modules/@apollo/client/react/components/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/components/package.json" + }, + "/node_modules/@apollo/client/react/components/components.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/components/components.cjs" + }, + "/node_modules/@apollo/client/react/context/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/context/package.json" + }, + "/node_modules/@apollo/client/react/context/context.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/context/context.cjs" + }, + "/node_modules/@apollo/client/react/hoc/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/hoc/package.json" + }, + "/node_modules/@apollo/client/react/hoc/hoc.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs" + }, + "/node_modules/@apollo/client/react/hooks/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/hooks/package.json" + }, + "/node_modules/@apollo/client/react/hooks/hooks.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs" + }, + "/node_modules/@apollo/client/react/parser/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/parser/package.json" + }, + "/node_modules/@apollo/client/react/parser/parser.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/parser/parser.cjs" + }, + "/node_modules/@apollo/client/react/ssr/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/ssr/package.json" + }, + "/node_modules/@apollo/client/react/ssr/ssr.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs" + }, + "/node_modules/@apollo/client/testing/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/testing/package.json" + }, + "/node_modules/@apollo/client/testing/testing.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/testing/testing.cjs" + }, + "/node_modules/@apollo/client/testing/core/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/testing/core/package.json" + }, + "/node_modules/@apollo/client/testing/core/core.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/testing/core/core.cjs" + }, + "/node_modules/@apollo/client/utilities/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/utilities/package.json" + }, + "/node_modules/@apollo/client/utilities/utilities.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/utilities/utilities.cjs" + }, + "/node_modules/@apollo/client/utilities/globals/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/utilities/globals/package.json" + }, + "/node_modules/@apollo/client/utilities/globals/globals.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "FalseESM", - "entrypoint": "./utilities/globals", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/@apollo/client/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/main.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/main.cjs" + } }, { "kind": "InternalResolutionError", @@ -12967,6 +12822,21 @@ "======== Module name './react' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/cache/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/cache/cache.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/cache/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/cache/cache.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13203,6 +13073,21 @@ "======== Module name './inmemory/types' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/core/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/core/core.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/core/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/core/core.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13418,6 +13303,21 @@ "======== Module name '../utilities' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/errors/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/errors/errors.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/errors/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/errors/errors.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13482,6 +13382,21 @@ "======== Module name '../link/core' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/batch/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/batch/batch.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/batch/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/batch/batch.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13499,6 +13414,21 @@ "======== Module name './batchLink' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/batch-http/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/batch-http/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/batch-http/batch-http.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13516,6 +13446,21 @@ "======== Module name './batchHttpLink' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/context/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/context/context.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/context/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/context/context.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13548,6 +13493,21 @@ "======== Module name '../../core' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/core/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/core/core.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/core/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/core/core.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13683,6 +13643,21 @@ "======== Module name './types' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/error/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/error/error.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/error/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/error/error.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13731,6 +13706,21 @@ "======== Module name '../core' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/http/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/http/http.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/http/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/http/http.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13900,6 +13890,21 @@ "======== Module name './rewriteURIForGET' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/persisted-queries/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/persisted-queries/persisted-queries.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13932,6 +13937,21 @@ "======== Module name '../../errors' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/retry/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/retry/retry.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/retry/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/retry/retry.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13949,6 +13969,21 @@ "======== Module name './retryLink' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/schema/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/schema/schema.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/schema/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/schema/schema.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -13981,6 +14016,21 @@ "======== Module name '../../utilities' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/subscriptions/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/subscriptions/subscriptions.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14013,6 +14063,21 @@ "======== Module name '../../utilities' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/utils/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/utils/utils.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/utils/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/utils/utils.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14148,6 +14213,21 @@ "======== Module name './transformOperation' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/link/ws/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/link/ws/ws.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/link/ws/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/link/ws/ws.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14180,6 +14260,21 @@ "======== Module name '../../utilities' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/react.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/react.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14261,6 +14356,21 @@ "======== Module name './types/types' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/components/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/components/components.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/components/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/components/components.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14329,6 +14439,21 @@ "======== Module name './types' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/context/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/context/context.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/context/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/context/context.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14396,6 +14521,21 @@ "======== Module name './ApolloProvider' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/hoc/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/hoc/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/hoc/hoc.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14514,6 +14654,21 @@ "======== Module name './types' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/hooks/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/hooks/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/hooks/hooks.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14649,6 +14804,36 @@ "======== Module name './useFragment' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/parser/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/parser/parser.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/parser/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/parser/parser.cjs" + } + }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/react/ssr/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/react/ssr/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/react/ssr/ssr.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14700,6 +14885,21 @@ "======== Module name './RenderPromises' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/testing/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/testing/testing.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/testing/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/testing/testing.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14749,6 +14949,21 @@ "======== Module name './core' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/testing/core/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/testing/core/core.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/testing/core/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/testing/core/core.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -14868,6 +15083,21 @@ "======== Module name './withConsoleSpy' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/utilities/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/utilities/utilities.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/utilities/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/utilities/utilities.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -15275,6 +15505,21 @@ "======== Module name './types/IsStrictlyAny' was not resolved. ========" ] }, + { + "kind": "FalseESM", + "typesFileName": "/node_modules/@apollo/client/utilities/globals/index.d.ts", + "implementationFileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@apollo/client/utilities/globals/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@apollo/client/utilities/globals/globals.cjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", diff --git a/packages/core/test/snapshots/@ice__app@3.2.6.tgz.json b/packages/core/test/snapshots/@ice__app@3.2.6.tgz.json index 60fd75f..9b8bf5d 100644 --- a/packages/core/test/snapshots/@ice__app@3.2.6.tgz.json +++ b/packages/core/test/snapshots/@ice__app@3.2.6.tgz.json @@ -90,18 +90,14 @@ "/node_modules/@ice/app/esm/test/defineVitestConfig.d.ts", "/node_modules/@ice/app/esm/test/index.d.ts", "/node_modules/@ice/app/esm/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@ice/app/esm/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -122,11 +118,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@ice/app/esm/index.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -158,6 +149,11 @@ "/node_modules/@ice/app/esm/test/index.d.ts", "/node_modules/@ice/app/esm/utils/logger.d.ts", "/node_modules/@ice/app/esm/index.d.ts" + ], + "visibleProblems": [ + 0, + 1, + 2 ] }, "node16-esm": { @@ -165,11 +161,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@ice/app/esm/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -190,11 +181,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@ice/app/esm/index.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -240,6 +226,10 @@ "/node_modules/@ice/app/esm/test/index.d.ts", "/node_modules/@ice/app/esm/utils/logger.d.ts", "/node_modules/@ice/app/esm/index.d.ts" + ], + "visibleProblems": [ + 1, + 2 ] }, "bundler": { @@ -322,7 +312,8 @@ "/node_modules/@ice/app/esm/test/defineVitestConfig.d.ts", "/node_modules/@ice/app/esm/test/index.d.ts", "/node_modules/@ice/app/esm/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -359,18 +350,14 @@ "/node_modules/@ice/app/esm/types/userConfig.d.ts", "/node_modules/@ice/app/esm/types/index.d.ts", "/node_modules/@ice/app/types.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./types", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@ice/app/esm/types/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -391,11 +378,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@ice/app/esm/types/index.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -427,6 +409,10 @@ "/node_modules/@ice/app/esm/types/plugin.d.ts", "/node_modules/@ice/app/esm/types/userConfig.d.ts", "/node_modules/@ice/app/esm/types/index.d.ts" + ], + "visibleProblems": [ + 3, + 1 ] }, "node16-esm": { @@ -434,11 +420,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@ice/app/esm/types/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -459,11 +440,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@ice/app/esm/types/index.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -503,6 +479,9 @@ "/node_modules/@ice/app/esm/types/plugin.d.ts", "/node_modules/@ice/app/esm/types/userConfig.d.ts", "/node_modules/@ice/app/esm/types/index.d.ts" + ], + "visibleProblems": [ + 1 ] }, "bundler": { @@ -571,7 +550,8 @@ "/node_modules/@ice/app/esm/types/plugin.d.ts", "/node_modules/@ice/app/esm/types/userConfig.d.ts", "/node_modules/@ice/app/esm/types/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -582,18 +562,16 @@ "resolutions": { "node10": { "name": "./analyze", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 4 + ] }, "node16-cjs": { "name": "./analyze", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@ice/app/esm/service/analyze.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -614,11 +592,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@ice/app/esm/service/analyze.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -646,6 +619,9 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@ice/app/esm/esbuild/scan.d.ts", "/node_modules/@ice/app/esm/service/analyze.d.ts" + ], + "visibleProblems": [ + 5 ] }, "node16-esm": { @@ -653,11 +629,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@ice/app/esm/service/analyze.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -678,11 +649,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@ice/app/esm/service/analyze.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/@ice/app/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -718,7 +684,8 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@ice/app/esm/esbuild/scan.d.ts", "/node_modules/@ice/app/esm/service/analyze.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./analyze", @@ -782,34 +749,113 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@ice/app/esm/esbuild/scan.d.ts", "/node_modules/@ice/app/esm/service/analyze.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "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/@ice/app/esm/types/userConfig.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/config.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/test/defineJestConfig.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/test/defineVitestConfig.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/test/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/utils/logger.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/index.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/types/generator.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/utils/ServerCompileTask.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/types/plugin.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/types/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/types/index.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/esbuild/scan.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/service/analyze.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + }, + "/node_modules/@ice/app/esm/service/analyze.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/@ice/app/package.json" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "CJSResolvesToESM", "entrypoint": ".", "resolutionKind": "node16-cjs" }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./types", - "resolutionKind": "node16-cjs" - }, - { - "kind": "NoResolution", - "entrypoint": "./analyze", - "resolutionKind": "node10" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": "./analyze", - "resolutionKind": "node16-cjs" - }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -842,6 +888,21 @@ "Loading module as file / folder, candidate module location '/node_modules/@ice/app/esm/types', target file types: TypeScript, JavaScript, Declaration, JSON.", "======== Module name './types' was not resolved. ========" ] + }, + { + "kind": "CJSResolvesToESM", + "entrypoint": "./types", + "resolutionKind": "node16-cjs" + }, + { + "kind": "NoResolution", + "entrypoint": "./analyze", + "resolutionKind": "node10" + }, + { + "kind": "CJSResolvesToESM", + "entrypoint": "./analyze", + "resolutionKind": "node16-cjs" } ] } diff --git a/packages/core/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.json b/packages/core/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.json index 13acdfb..d8e8e98 100644 --- a/packages/core/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.json +++ b/packages/core/test/snapshots/@reduxjs__toolkit@2.0.0-beta.0.tgz.json @@ -46,10 +46,36 @@ "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/@reduxjs/toolkit/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module '@reduxjs/toolkit/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module '@reduxjs/toolkit/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "Found 'package.json' at '/node_modules/@reduxjs/toolkit/package.json'.", + "'package.json' does not have a 'typesVersions' field.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/@reduxjs/toolkit/package.json.ts' does not exist.", + "File '/node_modules/@reduxjs/toolkit/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'dist/cjs/index.js' that references '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js', target file types: TypeScript.", + "File name '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js' has a '.js' extension - stripping it.", + "Loading module '@reduxjs/toolkit/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists - use it as a name resolution result.", + "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@reduxjs/toolkit/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -81,10 +107,34 @@ "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/@reduxjs/toolkit/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module '@reduxjs/toolkit/package.json' 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 '@reduxjs/toolkit/package.json' 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/@reduxjs/toolkit/package.json'.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists - use it as a name resolution result.", + "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@reduxjs/toolkit/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -131,10 +181,44 @@ "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/@reduxjs/toolkit/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module '@reduxjs/toolkit/package.json' 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 '@reduxjs/toolkit/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists - use it as a name resolution result.", + "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 '@reduxjs/toolkit/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "'package.json' does not have a 'typesVersions' field.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field 'dist/cjs/index.js' that references '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js', target file types: TypeScript.", + "File name '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js' has a '.js' extension - stripping it.", + "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@reduxjs/toolkit/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -184,10 +268,46 @@ "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/@reduxjs/toolkit/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module '@reduxjs/toolkit/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import'.", + "File '/package.json' does not exist.", + "Loading module '@reduxjs/toolkit/package.json' 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/@reduxjs/toolkit/package.json'.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists - use it as a name resolution result.", + "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 '@reduxjs/toolkit/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "'package.json' does not have a 'typesVersions' field.", + "File name '/node_modules/@reduxjs/toolkit/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/@reduxjs/toolkit/package.json.ts' does not exist.", + "File '/node_modules/@reduxjs/toolkit/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'dist/cjs/index.js' that references '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js', target file types: TypeScript.", + "File name '/node_modules/@reduxjs/toolkit/package.json/dist/cjs/index.js' has a '.js' extension - stripping it.", + "======== Module name '@reduxjs/toolkit/package.json' was successfully resolved to '/node_modules/@reduxjs/toolkit/package.json' with Package ID '@reduxjs/toolkit/package.json@2.0.0-beta.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@reduxjs/toolkit/package.json" - ] + ], + "visibleProblems": [] } }, "hasTypes": false, @@ -227,10 +347,9 @@ "Explicitly specified module resolution kind: 'Node10'.", "Loading module '@reduxjs/toolkit' from 'node_modules' folder, target file types: TypeScript.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", - "Found 'package.json' at '/node_modules/@reduxjs/toolkit/package.json'.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", "File '/node_modules/@reduxjs/toolkit.ts' does not exist.", "File '/node_modules/@reduxjs/toolkit.tsx' does not exist.", - "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'main' field 'dist/cjs/index.js' that references '/node_modules/@reduxjs/toolkit/dist/cjs/index.js'.", "File '/node_modules/@reduxjs/toolkit/dist/cjs/index.js' exists - use it as a name resolution result.", "File '/node_modules/@reduxjs/toolkit/dist/cjs/index.js' has an unsupported extension, so skipping it.", @@ -285,18 +404,14 @@ "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/types.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -318,21 +433,16 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/cjs/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ "======== Resolving module '@reduxjs/toolkit' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node16'.", "Resolving in CJS mode with conditions 'require', 'node'.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "Loading module '@reduxjs/toolkit' 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/@reduxjs/toolkit/package.json'.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Saw non-matching condition 'types'.", "Saw non-matching condition 'import'.", @@ -389,18 +499,14 @@ "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/types.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -422,11 +528,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -466,7 +567,6 @@ "Loading module '@reduxjs/toolkit' from 'node_modules' folder, target file types: TypeScript.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'main' field 'dist/cjs/index.js' that references '/node_modules/@reduxjs/toolkit/dist/cjs/index.js'.", "File '/node_modules/@reduxjs/toolkit/dist/cjs/index.js' exists - use it as a name resolution result.", "File '/node_modules/@reduxjs/toolkit/dist/cjs/index.js' has an unsupported extension, so skipping it.", @@ -512,6 +612,9 @@ "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/types.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -546,10 +649,10 @@ "======== Resolving module '@reduxjs/toolkit' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Bundler'.", "Resolving in CJS mode with conditions 'import'.", - "File '/package.json' does not exist.", + "File '/package.json' does not exist according to earlier cached lookups.", "Loading module '@reduxjs/toolkit' 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/@reduxjs/toolkit/package.json'.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", "Entering conditional exports.", "Saw non-matching condition 'types'.", "Matched 'exports' condition 'import'.", @@ -581,7 +684,6 @@ "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", "File '/node_modules/@reduxjs/toolkit.ts' does not exist.", "File '/node_modules/@reduxjs/toolkit.tsx' does not exist.", - "'package.json' does not have a 'typesVersions' field.", "'package.json' has 'main' field 'dist/cjs/index.js' that references '/node_modules/@reduxjs/toolkit/dist/cjs/index.js'.", "File '/node_modules/@reduxjs/toolkit/dist/cjs/index.js' exists - use it as a name resolution result.", "File '/node_modules/@reduxjs/toolkit/dist/cjs/index.js' has an unsupported extension, so skipping it.", @@ -629,7 +731,8 @@ "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/types.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -730,18 +833,14 @@ "/node_modules/@reduxjs/toolkit/dist/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./react", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -764,11 +863,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/react/cjs/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -840,6 +934,10 @@ "/node_modules/@reduxjs/toolkit/dist/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts" + ], + "visibleProblems": [ + 1, + 2 ] }, "node16-esm": { @@ -847,11 +945,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -874,11 +967,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/react/redux-toolkit-react.modern.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/react/redux-toolkit-react.modern.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -967,6 +1055,11 @@ "/node_modules/@reduxjs/toolkit/dist/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts" + ], + "visibleProblems": [ + 3, + 1, + 2 ] }, "bundler": { @@ -1090,6 +1183,10 @@ "/node_modules/@reduxjs/toolkit/dist/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts" + ], + "visibleProblems": [ + 4, + 5 ] } }, @@ -1212,18 +1309,14 @@ "/node_modules/@reduxjs/toolkit/dist/query/utils/copyWithStructuralSharing.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/core/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./query", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1246,11 +1339,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/cjs/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1343,18 +1431,14 @@ "/node_modules/@reduxjs/toolkit/dist/query/utils/copyWithStructuralSharing.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/core/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./query", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1377,11 +1461,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1491,6 +1570,9 @@ "/node_modules/@reduxjs/toolkit/dist/query/utils/copyWithStructuralSharing.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/core/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts" + ], + "visibleProblems": [ + 6 ] }, "bundler": { @@ -1635,7 +1717,8 @@ "/node_modules/@reduxjs/toolkit/dist/query/utils/copyWithStructuralSharing.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/core/index.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1763,18 +1846,14 @@ "/node_modules/@reduxjs/toolkit/dist/query/react/module.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/ApiProvider.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./query/react", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1797,11 +1876,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/react/cjs/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1900,6 +1974,21 @@ "/node_modules/@reduxjs/toolkit/dist/query/react/module.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/ApiProvider.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts" + ], + "visibleProblems": [ + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19 ] }, "node16-esm": { @@ -1907,11 +1996,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1934,11 +2018,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2054,6 +2133,22 @@ "/node_modules/@reduxjs/toolkit/dist/query/react/module.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/ApiProvider.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts" + ], + "visibleProblems": [ + 20, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19 ] }, "bundler": { @@ -2204,6 +2299,21 @@ "/node_modules/@reduxjs/toolkit/dist/query/react/module.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/ApiProvider.d.ts", "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts" + ], + "visibleProblems": [ + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33 ] } }, @@ -2211,26 +2321,379 @@ "isWildcard": false } }, - "problems": [ - { - "kind": "FalseCJS", - "entrypoint": ".", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseCJS", - "entrypoint": "./react", - "resolutionKind": "node16-esm" - }, - { - "kind": "FalseCJS", - "entrypoint": "./query", - "resolutionKind": "node16-esm" + "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/@reduxjs/toolkit/dist/createDraftSafeSelector.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/devtoolsExtension.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/actionCreatorInvariantMiddleware.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/immutableStateInvariantMiddleware.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/serializableStateInvariantMiddleware.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/utils.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/tsHelpers.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/getDefaultMiddleware.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/autoBatchEnhancer.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/getDefaultEnhancers.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/configureStore.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/createAction.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/mapBuilders.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/createReducer.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/combineSlices.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/createAsyncThunk.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/createSlice.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/entities/state_selectors.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/entities/models.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/entities/create_adapter.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/matchers.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/nanoid.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/isPlainObject.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/listenerMiddleware/exceptions.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/listenerMiddleware/types.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/listenerMiddleware/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/types.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/cjs/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/react/cjs/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/tsHelpers.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/baseQueryTypes.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/defaultSerializeQueryArgs.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/fakeBaseQuery.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/endpointDefinitions.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/apiState.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildSelectors.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildInitiate.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildThunks.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/setupListeners.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildSlice.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildMiddleware/types.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildMiddleware/cacheLifecycle.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildMiddleware/queryLifecycle.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/buildMiddleware/cacheCollection.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/module.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/createApi.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/apiTypes.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/fetchBaseQuery.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/retry.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/utils/copyWithStructuralSharing.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/core/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/cjs/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/constants.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/buildHooks.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/namedHooks.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/module.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/ApiProvider.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/cjs/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs" + }, + "/node_modules/@reduxjs/toolkit/dist/react/redux-toolkit-react.modern.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/react/redux-toolkit-react.modern.mjs" + }, + "/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs" + }, + "/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.mjs" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "FalseCJS", - "entrypoint": "./query/react", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/@reduxjs/toolkit/dist/index.d.ts", + "implementationFileName": "/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.mjs" + } }, { "kind": "InternalResolutionError", @@ -2320,6 +2783,124 @@ "======== Module name '@reduxjs/toolkit/dist/dynamicMiddleware/types' was not resolved. ========" ] }, + { + "kind": "FalseCJS", + "typesFileName": "/node_modules/@reduxjs/toolkit/dist/react/index.d.ts", + "implementationFileName": "/node_modules/@reduxjs/toolkit/dist/react/redux-toolkit-react.modern.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/react/redux-toolkit-react.modern.mjs" + } + }, + { + "kind": "InternalResolutionError", + "resolutionOption": "bundler", + "fileName": "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", + "moduleSpecifier": "@reduxjs/toolkit/dist/tsHelpers", + "pos": 153, + "end": 187, + "trace": [ + "======== Resolving module '@reduxjs/toolkit/dist/tsHelpers' from '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import', 'types'.", + "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@reduxjs/toolkit/dist/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Loading module '@reduxjs/toolkit/dist/tsHelpers' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", + "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", + "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", + "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "======== Module name '@reduxjs/toolkit/dist/tsHelpers' was not resolved. ========" + ] + }, + { + "kind": "InternalResolutionError", + "resolutionOption": "bundler", + "fileName": "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", + "moduleSpecifier": "@reduxjs/toolkit/dist/dynamicMiddleware/types", + "pos": 379, + "end": 427, + "trace": [ + "======== Resolving module '@reduxjs/toolkit/dist/dynamicMiddleware/types' from '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts'. ========", + "Explicitly specified module resolution kind: 'Bundler'.", + "Resolving in CJS mode with conditions 'import', 'types'.", + "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@reduxjs/toolkit/dist/package.json' does not exist according to earlier cached lookups.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Loading module '@reduxjs/toolkit/dist/dynamicMiddleware/types' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", + "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", + "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", + "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", + "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", + "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", + "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", + "======== Module name '@reduxjs/toolkit/dist/dynamicMiddleware/types' was not resolved. ========" + ] + }, + { + "kind": "FalseCJS", + "typesFileName": "/node_modules/@reduxjs/toolkit/dist/query/index.d.ts", + "implementationFileName": "/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.mjs" + } + }, { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -2751,92 +3332,19 @@ ] }, { - "kind": "InternalResolutionError", - "resolutionOption": "bundler", - "fileName": "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", - "moduleSpecifier": "@reduxjs/toolkit/dist/tsHelpers", - "pos": 153, - "end": 187, - "trace": [ - "======== Resolving module '@reduxjs/toolkit/dist/tsHelpers' from '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts'. ========", - "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@reduxjs/toolkit/dist/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "Loading module '@reduxjs/toolkit/dist/tsHelpers' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", - "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", - "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", - "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", - "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/tsHelpers'", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", - "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "Export specifier './dist/tsHelpers' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "======== Module name '@reduxjs/toolkit/dist/tsHelpers' was not resolved. ========" - ] - }, - { - "kind": "InternalResolutionError", - "resolutionOption": "bundler", - "fileName": "/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts", - "moduleSpecifier": "@reduxjs/toolkit/dist/dynamicMiddleware/types", - "pos": 379, - "end": 427, - "trace": [ - "======== Resolving module '@reduxjs/toolkit/dist/dynamicMiddleware/types' from '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/index.d.ts'. ========", - "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'import', 'types'.", - "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@reduxjs/toolkit/dist/package.json' does not exist according to earlier cached lookups.", - "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "Loading module '@reduxjs/toolkit/dist/dynamicMiddleware/types' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", - "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", - "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", - "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", - "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", - "Scoped package detected, looking in 'reduxjs__toolkit/dist/dynamicMiddleware/types'", - "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/react/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/toolkit/dist/dynamicMiddleware/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/toolkit/dist/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/toolkit/node_modules' does not exist, skipping all lookups in it.", - "Directory '/node_modules/@reduxjs/node_modules' does not exist, skipping all lookups in it.", - "File '/node_modules/@reduxjs/toolkit/package.json' exists according to earlier cached lookups.", - "Export specifier './dist/dynamicMiddleware/types' does not exist in package.json scope at path '/node_modules/@reduxjs/toolkit'.", - "======== Module name '@reduxjs/toolkit/dist/dynamicMiddleware/types' was not resolved. ========" - ] + "kind": "FalseCJS", + "typesFileName": "/node_modules/@reduxjs/toolkit/dist/query/react/index.d.ts", + "implementationFileName": "/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@reduxjs/toolkit/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.mjs" + } }, { "kind": "InternalResolutionError", diff --git a/packages/core/test/snapshots/@rollup__plugin-eslint@8.0.1.tgz.json b/packages/core/test/snapshots/@rollup__plugin-eslint@8.0.1.tgz.json index 131b1c2..0f8036f 100644 --- a/packages/core/test/snapshots/@rollup__plugin-eslint@8.0.1.tgz.json +++ b/packages/core/test/snapshots/@rollup__plugin-eslint@8.0.1.tgz.json @@ -73,6 +73,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@rollup/plugin-eslint/types/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -80,11 +83,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@rollup/plugin-eslint/types/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@rollup/plugin-eslint/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -107,11 +105,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@rollup/plugin-eslint/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@rollup/plugin-eslint/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -149,6 +142,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@rollup/plugin-eslint/types/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -156,11 +152,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@rollup/plugin-eslint/types/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@rollup/plugin-eslint/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -179,11 +170,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@rollup/plugin-eslint/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@rollup/plugin-eslint/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -235,6 +221,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@rollup/plugin-eslint/types/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -320,6 +309,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@rollup/plugin-eslint/types/index.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -327,26 +319,34 @@ "isWildcard": false } }, - "problems": [ - { - "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "node10" - }, - { - "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "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/@rollup/plugin-eslint/types/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@rollup/plugin-eslint/package.json" + }, + "/node_modules/@rollup/plugin-eslint/dist/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@rollup/plugin-eslint/package.json" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/@rollup/plugin-eslint/types/index.d.ts", + "implementationFileName": "/node_modules/@rollup/plugin-eslint/dist/index.js" } ] } diff --git a/packages/core/test/snapshots/@vitejs__plugin-react@3.1.0.tgz.json b/packages/core/test/snapshots/@vitejs__plugin-react@3.1.0.tgz.json index eafd176..2bf5556 100644 --- a/packages/core/test/snapshots/@vitejs__plugin-react@3.1.0.tgz.json +++ b/packages/core/test/snapshots/@vitejs__plugin-react@3.1.0.tgz.json @@ -69,6 +69,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@vitejs/plugin-react/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -76,11 +79,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@vitejs/plugin-react/dist/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@vitejs/plugin-react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -102,11 +100,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@vitejs/plugin-react/dist/index.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@vitejs/plugin-react/dist/index.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -143,6 +136,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@vitejs/plugin-react/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -150,11 +146,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@vitejs/plugin-react/dist/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@vitejs/plugin-react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -176,11 +167,6 @@ }, "implementationResolution": { "fileName": "/node_modules/@vitejs/plugin-react/dist/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/@vitejs/plugin-react/dist/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -231,6 +217,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@vitejs/plugin-react/dist/index.d.ts" + ], + "visibleProblems": [ + 1 ] }, "bundler": { @@ -313,28 +302,62 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@vitejs/plugin-react/dist/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "isWildcard": false } }, - "problems": [ - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node10" + "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/@vitejs/plugin-react/dist/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@vitejs/plugin-react/package.json" + }, + "/node_modules/@vitejs/plugin-react/dist/index.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@vitejs/plugin-react/dist/index.cjs" + }, + "/node_modules/@vitejs/plugin-react/dist/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@vitejs/plugin-react/dist/index.mjs" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/@vitejs/plugin-react/dist/index.d.ts", + "implementationFileName": "/node_modules/@vitejs/plugin-react/dist/index.cjs" }, { "kind": "FalseCJS", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/@vitejs/plugin-react/dist/index.d.ts", + "implementationFileName": "/node_modules/@vitejs/plugin-react/dist/index.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@vitejs/plugin-react/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/@vitejs/plugin-react/dist/index.mjs" + } } ] } diff --git a/packages/core/test/snapshots/ajv@8.12.0.tgz.json b/packages/core/test/snapshots/ajv@8.12.0.tgz.json index 5b447e4..848f5b7 100644 --- a/packages/core/test/snapshots/ajv@8.12.0.tgz.json +++ b/packages/core/test/snapshots/ajv@8.12.0.tgz.json @@ -117,6 +117,9 @@ "/node_modules/ajv/dist/compile/index.d.ts", "/node_modules/ajv/dist/types/index.d.ts", "/node_modules/ajv/dist/ajv.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -124,11 +127,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/ajv/dist/ajv.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ajv/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -151,11 +149,6 @@ }, "implementationResolution": { "fileName": "/node_modules/ajv/dist/ajv.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ajv/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -236,6 +229,9 @@ "/node_modules/ajv/dist/compile/index.d.ts", "/node_modules/ajv/dist/types/index.d.ts", "/node_modules/ajv/dist/ajv.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -243,11 +239,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/ajv/dist/ajv.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ajv/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -266,11 +257,6 @@ }, "implementationResolution": { "fileName": "/node_modules/ajv/dist/ajv.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ajv/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -365,6 +351,9 @@ "/node_modules/ajv/dist/compile/index.d.ts", "/node_modules/ajv/dist/types/index.d.ts", "/node_modules/ajv/dist/ajv.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -493,6 +482,9 @@ "/node_modules/ajv/dist/compile/index.d.ts", "/node_modules/ajv/dist/types/index.d.ts", "/node_modules/ajv/dist/ajv.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -500,26 +492,249 @@ "isWildcard": false } }, - "problems": [ - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "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/ajv/dist/compile/codegen/code.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/codegen/scope.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/codegen/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/rules.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/util.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/validate/subschema.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/errors.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/validate/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/validate/dataType.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/not.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/if.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/applicator/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/required.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/const.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/enum.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/format/format.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/vocabularies/errors.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/types/json-schema.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/types/jtd-schema.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/runtime/validation_error.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/ref_error.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/core.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/resolve.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/compile/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/types/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/ajv.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + }, + "/node_modules/ajv/dist/ajv.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ajv/package.json" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/ajv/dist/ajv.d.ts", + "implementationFileName": "/node_modules/ajv/dist/ajv.js" } ] } diff --git a/packages/core/test/snapshots/anymatch@3.1.3.tgz.json b/packages/core/test/snapshots/anymatch@3.1.3.tgz.json index dd5a6b9..a6412e9 100644 --- a/packages/core/test/snapshots/anymatch@3.1.3.tgz.json +++ b/packages/core/test/snapshots/anymatch@3.1.3.tgz.json @@ -64,6 +64,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/anymatch/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -71,11 +74,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/anymatch/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/anymatch/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -101,11 +99,6 @@ }, "implementationResolution": { "fileName": "/node_modules/anymatch/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/anymatch/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -134,6 +127,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/anymatch/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -141,11 +137,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/anymatch/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/anymatch/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -168,11 +159,6 @@ }, "implementationResolution": { "fileName": "/node_modules/anymatch/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/anymatch/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -207,6 +193,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/anymatch/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -277,6 +266,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/anymatch/index.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -284,26 +276,34 @@ "isWildcard": false } }, - "problems": [ - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "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/anymatch/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/anymatch/package.json" + }, + "/node_modules/anymatch/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/anymatch/package.json" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/anymatch/index.d.ts", + "implementationFileName": "/node_modules/anymatch/index.js" } ] } diff --git a/packages/core/test/snapshots/astring@1.8.6.tgz.json b/packages/core/test/snapshots/astring@1.8.6.tgz.json index 34799f4..b77aa34 100644 --- a/packages/core/test/snapshots/astring@1.8.6.tgz.json +++ b/packages/core/test/snapshots/astring@1.8.6.tgz.json @@ -70,18 +70,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/astring/astring.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/astring/astring.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/astring/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -103,11 +99,6 @@ }, "implementationResolution": { "fileName": "/node_modules/astring/dist/astring.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/astring/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -146,18 +137,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/astring/astring.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/astring/astring.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/astring/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -179,11 +166,6 @@ }, "implementationResolution": { "fileName": "/node_modules/astring/dist/astring.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/astring/dist/astring.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -236,6 +218,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/astring/astring.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -320,18 +305,57 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/astring/astring.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "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/astring/astring.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/astring/package.json" + }, + "/node_modules/astring/dist/astring.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/astring/package.json" + }, + "/node_modules/astring/dist/astring.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/astring/dist/astring.mjs" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "FalseCJS", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/astring/astring.d.ts", + "implementationFileName": "/node_modules/astring/dist/astring.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/astring/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/astring/dist/astring.mjs" + } } ] } diff --git a/packages/core/test/snapshots/axios@1.4.0.tgz.json b/packages/core/test/snapshots/axios@1.4.0.tgz.json index 0590c39..f2fbec1 100644 --- a/packages/core/test/snapshots/axios@1.4.0.tgz.json +++ b/packages/core/test/snapshots/axios@1.4.0.tgz.json @@ -72,18 +72,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/index.d.cts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/axios/index.d.cts" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -109,11 +105,6 @@ }, "implementationResolution": { "fileName": "/node_modules/axios/dist/node/axios.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/axios/dist/node/axios.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -164,18 +155,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/index.d.cts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -202,11 +189,6 @@ }, "implementationResolution": { "fileName": "/node_modules/axios/index.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -268,7 +250,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/index.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": ".", @@ -368,7 +351,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -380,22 +364,26 @@ "node10": { "name": "./unsafe/*", "resolutionKind": "node10", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] }, "node16-cjs": { "name": "./unsafe/*", "resolutionKind": "node16-cjs", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] }, "node16-esm": { "name": "./unsafe/*", "resolutionKind": "node16-esm", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] }, "bundler": { "name": "./unsafe/*", "resolutionKind": "bundler", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] } }, "hasTypes": false, @@ -406,18 +394,16 @@ "resolutions": { "node10": { "name": "./unsafe/core/settle.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 0 + ] }, "node16-cjs": { "name": "./unsafe/core/settle.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/core/settle.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -444,8 +430,37 @@ "======== Module name 'axios/unsafe/core/settle.js' was successfully resolved to '/node_modules/axios/lib/core/settle.js' with Package ID 'axios/lib/core/settle.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/core/settle.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/core/settle.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 'axios/unsafe/core/settle.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/settle.js' with target './lib/core/settle.js'.", + "File name '/node_modules/axios/lib/core/settle.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/settle.ts' does not exist.", + "File '/node_modules/axios/lib/core/settle.tsx' does not exist.", + "Export specifier './unsafe/core/settle.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/settle.js' with target './lib/core/settle.js'.", + "File name '/node_modules/axios/lib/core/settle.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/settle.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/core/settle.js' was successfully resolved to '/node_modules/axios/lib/core/settle.js' with Package ID 'axios/lib/core/settle.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 1, + 2 ] }, "node16-esm": { @@ -453,11 +468,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/core/settle.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -496,8 +506,45 @@ "======== Module name 'axios/unsafe/core/settle.js' was successfully resolved to '/node_modules/axios/lib/core/settle.js' with Package ID 'axios/lib/core/settle.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/core/settle.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/core/settle.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 'axios/unsafe/core/settle.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/settle.js' with target './lib/core/settle.js'.", + "File name '/node_modules/axios/lib/core/settle.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/settle.ts' does not exist.", + "File '/node_modules/axios/lib/core/settle.tsx' does not exist.", + "Export specifier './unsafe/core/settle.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/settle.js' with target './lib/core/settle.js'.", + "File name '/node_modules/axios/lib/core/settle.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/settle.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/core/settle.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/core/settle.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/core/settle.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/core/settle.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/core/settle.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/core/settle.js' was successfully resolved to '/node_modules/axios/lib/core/settle.js' with Package ID 'axios/lib/core/settle.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 3 ] }, "bundler": { @@ -543,8 +590,45 @@ "======== Module name 'axios/unsafe/core/settle.js' was successfully resolved to '/node_modules/axios/lib/core/settle.js' with Package ID 'axios/lib/core/settle.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/core/settle.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/core/settle.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 'axios/unsafe/core/settle.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/settle.js' with target './lib/core/settle.js'.", + "File name '/node_modules/axios/lib/core/settle.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/settle.ts' does not exist.", + "File '/node_modules/axios/lib/core/settle.tsx' does not exist.", + "Export specifier './unsafe/core/settle.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/settle.js' with target './lib/core/settle.js'.", + "File name '/node_modules/axios/lib/core/settle.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/settle.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/core/settle.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/core/settle.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/core/settle.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/core/settle.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/core/settle.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/core/settle.js' was successfully resolved to '/node_modules/axios/lib/core/settle.js' with Package ID 'axios/lib/core/settle.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 4 ] } }, @@ -556,18 +640,16 @@ "resolutions": { "node10": { "name": "./unsafe/core/buildFullPath.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 5 + ] }, "node16-cjs": { "name": "./unsafe/core/buildFullPath.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/core/buildFullPath.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -594,8 +676,37 @@ "======== Module name 'axios/unsafe/core/buildFullPath.js' was successfully resolved to '/node_modules/axios/lib/core/buildFullPath.js' with Package ID 'axios/lib/core/buildFullPath.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/core/buildFullPath.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/core/buildFullPath.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 'axios/unsafe/core/buildFullPath.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/buildFullPath.js' with target './lib/core/buildFullPath.js'.", + "File name '/node_modules/axios/lib/core/buildFullPath.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/buildFullPath.ts' does not exist.", + "File '/node_modules/axios/lib/core/buildFullPath.tsx' does not exist.", + "Export specifier './unsafe/core/buildFullPath.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/buildFullPath.js' with target './lib/core/buildFullPath.js'.", + "File name '/node_modules/axios/lib/core/buildFullPath.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/buildFullPath.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/core/buildFullPath.js' was successfully resolved to '/node_modules/axios/lib/core/buildFullPath.js' with Package ID 'axios/lib/core/buildFullPath.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 6, + 7 ] }, "node16-esm": { @@ -603,11 +714,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/core/buildFullPath.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -645,8 +751,45 @@ "======== Module name 'axios/unsafe/core/buildFullPath.js' was successfully resolved to '/node_modules/axios/lib/core/buildFullPath.js' with Package ID 'axios/lib/core/buildFullPath.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/core/buildFullPath.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/core/buildFullPath.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 'axios/unsafe/core/buildFullPath.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/buildFullPath.js' with target './lib/core/buildFullPath.js'.", + "File name '/node_modules/axios/lib/core/buildFullPath.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/buildFullPath.ts' does not exist.", + "File '/node_modules/axios/lib/core/buildFullPath.tsx' does not exist.", + "Export specifier './unsafe/core/buildFullPath.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/buildFullPath.js' with target './lib/core/buildFullPath.js'.", + "File name '/node_modules/axios/lib/core/buildFullPath.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/buildFullPath.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/core/buildFullPath.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/core/buildFullPath.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/core/buildFullPath.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/core/buildFullPath.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/core/buildFullPath.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/core/buildFullPath.js' was successfully resolved to '/node_modules/axios/lib/core/buildFullPath.js' with Package ID 'axios/lib/core/buildFullPath.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 8 ] }, "bundler": { @@ -691,8 +834,45 @@ "======== Module name 'axios/unsafe/core/buildFullPath.js' was successfully resolved to '/node_modules/axios/lib/core/buildFullPath.js' with Package ID 'axios/lib/core/buildFullPath.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/core/buildFullPath.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/core/buildFullPath.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 'axios/unsafe/core/buildFullPath.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/buildFullPath.js' with target './lib/core/buildFullPath.js'.", + "File name '/node_modules/axios/lib/core/buildFullPath.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/buildFullPath.ts' does not exist.", + "File '/node_modules/axios/lib/core/buildFullPath.tsx' does not exist.", + "Export specifier './unsafe/core/buildFullPath.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/core/buildFullPath.js' with target './lib/core/buildFullPath.js'.", + "File name '/node_modules/axios/lib/core/buildFullPath.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/core/buildFullPath.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/core/buildFullPath.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/core/buildFullPath.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/core/buildFullPath.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/core/buildFullPath.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/core/buildFullPath.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/core/buildFullPath.js' was successfully resolved to '/node_modules/axios/lib/core/buildFullPath.js' with Package ID 'axios/lib/core/buildFullPath.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 9 ] } }, @@ -704,18 +884,16 @@ "resolutions": { "node10": { "name": "./unsafe/helpers/isAbsoluteURL.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 10 + ] }, "node16-cjs": { "name": "./unsafe/helpers/isAbsoluteURL.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/helpers/isAbsoluteURL.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -742,8 +920,37 @@ "======== Module name 'axios/unsafe/helpers/isAbsoluteURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/isAbsoluteURL.js' with Package ID 'axios/lib/helpers/isAbsoluteURL.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/isAbsoluteURL.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/isAbsoluteURL.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 'axios/unsafe/helpers/isAbsoluteURL.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/isAbsoluteURL.js' with target './lib/helpers/isAbsoluteURL.js'.", + "File name '/node_modules/axios/lib/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.tsx' does not exist.", + "Export specifier './unsafe/helpers/isAbsoluteURL.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/isAbsoluteURL.js' with target './lib/helpers/isAbsoluteURL.js'.", + "File name '/node_modules/axios/lib/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/helpers/isAbsoluteURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/isAbsoluteURL.js' with Package ID 'axios/lib/helpers/isAbsoluteURL.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 11, + 12 ] }, "node16-esm": { @@ -751,11 +958,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/helpers/isAbsoluteURL.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -793,8 +995,45 @@ "======== Module name 'axios/unsafe/helpers/isAbsoluteURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/isAbsoluteURL.js' with Package ID 'axios/lib/helpers/isAbsoluteURL.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/isAbsoluteURL.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/isAbsoluteURL.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 'axios/unsafe/helpers/isAbsoluteURL.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/isAbsoluteURL.js' with target './lib/helpers/isAbsoluteURL.js'.", + "File name '/node_modules/axios/lib/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.tsx' does not exist.", + "Export specifier './unsafe/helpers/isAbsoluteURL.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/isAbsoluteURL.js' with target './lib/helpers/isAbsoluteURL.js'.", + "File name '/node_modules/axios/lib/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/helpers/isAbsoluteURL.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/helpers/isAbsoluteURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/isAbsoluteURL.js' with Package ID 'axios/lib/helpers/isAbsoluteURL.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 13 ] }, "bundler": { @@ -839,8 +1078,45 @@ "======== Module name 'axios/unsafe/helpers/isAbsoluteURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/isAbsoluteURL.js' with Package ID 'axios/lib/helpers/isAbsoluteURL.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/isAbsoluteURL.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/isAbsoluteURL.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 'axios/unsafe/helpers/isAbsoluteURL.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/isAbsoluteURL.js' with target './lib/helpers/isAbsoluteURL.js'.", + "File name '/node_modules/axios/lib/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.tsx' does not exist.", + "Export specifier './unsafe/helpers/isAbsoluteURL.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/isAbsoluteURL.js' with target './lib/helpers/isAbsoluteURL.js'.", + "File name '/node_modules/axios/lib/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/isAbsoluteURL.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/helpers/isAbsoluteURL.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/helpers/isAbsoluteURL.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/helpers/isAbsoluteURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/isAbsoluteURL.js' with Package ID 'axios/lib/helpers/isAbsoluteURL.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 14 ] } }, @@ -852,18 +1128,16 @@ "resolutions": { "node10": { "name": "./unsafe/helpers/buildURL.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 15 + ] }, "node16-cjs": { "name": "./unsafe/helpers/buildURL.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/helpers/buildURL.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -890,8 +1164,37 @@ "======== Module name 'axios/unsafe/helpers/buildURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/buildURL.js' with Package ID 'axios/lib/helpers/buildURL.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/buildURL.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/buildURL.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 'axios/unsafe/helpers/buildURL.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/buildURL.js' with target './lib/helpers/buildURL.js'.", + "File name '/node_modules/axios/lib/helpers/buildURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/buildURL.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/buildURL.tsx' does not exist.", + "Export specifier './unsafe/helpers/buildURL.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/buildURL.js' with target './lib/helpers/buildURL.js'.", + "File name '/node_modules/axios/lib/helpers/buildURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/buildURL.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/helpers/buildURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/buildURL.js' with Package ID 'axios/lib/helpers/buildURL.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 16, + 17 ] }, "node16-esm": { @@ -899,11 +1202,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/helpers/buildURL.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -941,8 +1239,45 @@ "======== Module name 'axios/unsafe/helpers/buildURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/buildURL.js' with Package ID 'axios/lib/helpers/buildURL.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/buildURL.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/buildURL.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 'axios/unsafe/helpers/buildURL.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/buildURL.js' with target './lib/helpers/buildURL.js'.", + "File name '/node_modules/axios/lib/helpers/buildURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/buildURL.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/buildURL.tsx' does not exist.", + "Export specifier './unsafe/helpers/buildURL.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/buildURL.js' with target './lib/helpers/buildURL.js'.", + "File name '/node_modules/axios/lib/helpers/buildURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/buildURL.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/helpers/buildURL.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/helpers/buildURL.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/helpers/buildURL.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/helpers/buildURL.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/helpers/buildURL.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/helpers/buildURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/buildURL.js' with Package ID 'axios/lib/helpers/buildURL.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 18 ] }, "bundler": { @@ -987,8 +1322,45 @@ "======== Module name 'axios/unsafe/helpers/buildURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/buildURL.js' with Package ID 'axios/lib/helpers/buildURL.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/buildURL.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/buildURL.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 'axios/unsafe/helpers/buildURL.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/buildURL.js' with target './lib/helpers/buildURL.js'.", + "File name '/node_modules/axios/lib/helpers/buildURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/buildURL.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/buildURL.tsx' does not exist.", + "Export specifier './unsafe/helpers/buildURL.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/buildURL.js' with target './lib/helpers/buildURL.js'.", + "File name '/node_modules/axios/lib/helpers/buildURL.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/buildURL.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/helpers/buildURL.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/helpers/buildURL.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/helpers/buildURL.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/helpers/buildURL.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/helpers/buildURL.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/helpers/buildURL.js' was successfully resolved to '/node_modules/axios/lib/helpers/buildURL.js' with Package ID 'axios/lib/helpers/buildURL.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 19 ] } }, @@ -1000,18 +1372,16 @@ "resolutions": { "node10": { "name": "./unsafe/helpers/combineURLs.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 20 + ] }, "node16-cjs": { "name": "./unsafe/helpers/combineURLs.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/helpers/combineURLs.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1038,8 +1408,37 @@ "======== Module name 'axios/unsafe/helpers/combineURLs.js' was successfully resolved to '/node_modules/axios/lib/helpers/combineURLs.js' with Package ID 'axios/lib/helpers/combineURLs.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/combineURLs.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/combineURLs.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 'axios/unsafe/helpers/combineURLs.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/combineURLs.js' with target './lib/helpers/combineURLs.js'.", + "File name '/node_modules/axios/lib/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/combineURLs.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/combineURLs.tsx' does not exist.", + "Export specifier './unsafe/helpers/combineURLs.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/combineURLs.js' with target './lib/helpers/combineURLs.js'.", + "File name '/node_modules/axios/lib/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/combineURLs.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/helpers/combineURLs.js' was successfully resolved to '/node_modules/axios/lib/helpers/combineURLs.js' with Package ID 'axios/lib/helpers/combineURLs.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 21, + 22 ] }, "node16-esm": { @@ -1047,11 +1446,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/helpers/combineURLs.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1089,8 +1483,45 @@ "======== Module name 'axios/unsafe/helpers/combineURLs.js' was successfully resolved to '/node_modules/axios/lib/helpers/combineURLs.js' with Package ID 'axios/lib/helpers/combineURLs.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/combineURLs.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/combineURLs.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 'axios/unsafe/helpers/combineURLs.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/combineURLs.js' with target './lib/helpers/combineURLs.js'.", + "File name '/node_modules/axios/lib/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/combineURLs.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/combineURLs.tsx' does not exist.", + "Export specifier './unsafe/helpers/combineURLs.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/combineURLs.js' with target './lib/helpers/combineURLs.js'.", + "File name '/node_modules/axios/lib/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/combineURLs.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/helpers/combineURLs.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/helpers/combineURLs.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/helpers/combineURLs.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/helpers/combineURLs.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/helpers/combineURLs.js' was successfully resolved to '/node_modules/axios/lib/helpers/combineURLs.js' with Package ID 'axios/lib/helpers/combineURLs.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 23 ] }, "bundler": { @@ -1135,8 +1566,45 @@ "======== Module name 'axios/unsafe/helpers/combineURLs.js' was successfully resolved to '/node_modules/axios/lib/helpers/combineURLs.js' with Package ID 'axios/lib/helpers/combineURLs.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/helpers/combineURLs.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/helpers/combineURLs.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 'axios/unsafe/helpers/combineURLs.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/combineURLs.js' with target './lib/helpers/combineURLs.js'.", + "File name '/node_modules/axios/lib/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/combineURLs.ts' does not exist.", + "File '/node_modules/axios/lib/helpers/combineURLs.tsx' does not exist.", + "Export specifier './unsafe/helpers/combineURLs.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/helpers/combineURLs.js' with target './lib/helpers/combineURLs.js'.", + "File name '/node_modules/axios/lib/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/helpers/combineURLs.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/helpers/combineURLs.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/helpers/combineURLs.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/helpers/combineURLs.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/helpers/combineURLs.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/helpers/combineURLs.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/helpers/combineURLs.js' was successfully resolved to '/node_modules/axios/lib/helpers/combineURLs.js' with Package ID 'axios/lib/helpers/combineURLs.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 24 ] } }, @@ -1148,18 +1616,16 @@ "resolutions": { "node10": { "name": "./unsafe/adapters/http.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 25 + ] }, "node16-cjs": { "name": "./unsafe/adapters/http.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/adapters/http.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1186,8 +1652,37 @@ "======== Module name 'axios/unsafe/adapters/http.js' was successfully resolved to '/node_modules/axios/lib/adapters/http.js' with Package ID 'axios/lib/adapters/http.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/adapters/http.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/adapters/http.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 'axios/unsafe/adapters/http.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/http.js' with target './lib/adapters/http.js'.", + "File name '/node_modules/axios/lib/adapters/http.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/http.ts' does not exist.", + "File '/node_modules/axios/lib/adapters/http.tsx' does not exist.", + "Export specifier './unsafe/adapters/http.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/http.js' with target './lib/adapters/http.js'.", + "File name '/node_modules/axios/lib/adapters/http.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/http.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/adapters/http.js' was successfully resolved to '/node_modules/axios/lib/adapters/http.js' with Package ID 'axios/lib/adapters/http.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 26, + 27 ] }, "node16-esm": { @@ -1195,11 +1690,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/adapters/http.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1237,8 +1727,45 @@ "======== Module name 'axios/unsafe/adapters/http.js' was successfully resolved to '/node_modules/axios/lib/adapters/http.js' with Package ID 'axios/lib/adapters/http.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/adapters/http.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/adapters/http.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 'axios/unsafe/adapters/http.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/http.js' with target './lib/adapters/http.js'.", + "File name '/node_modules/axios/lib/adapters/http.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/http.ts' does not exist.", + "File '/node_modules/axios/lib/adapters/http.tsx' does not exist.", + "Export specifier './unsafe/adapters/http.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/http.js' with target './lib/adapters/http.js'.", + "File name '/node_modules/axios/lib/adapters/http.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/http.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/adapters/http.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/adapters/http.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/adapters/http.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/adapters/http.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/adapters/http.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/adapters/http.js' was successfully resolved to '/node_modules/axios/lib/adapters/http.js' with Package ID 'axios/lib/adapters/http.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 28 ] }, "bundler": { @@ -1283,8 +1810,45 @@ "======== Module name 'axios/unsafe/adapters/http.js' was successfully resolved to '/node_modules/axios/lib/adapters/http.js' with Package ID 'axios/lib/adapters/http.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/adapters/http.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/adapters/http.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 'axios/unsafe/adapters/http.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/http.js' with target './lib/adapters/http.js'.", + "File name '/node_modules/axios/lib/adapters/http.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/http.ts' does not exist.", + "File '/node_modules/axios/lib/adapters/http.tsx' does not exist.", + "Export specifier './unsafe/adapters/http.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/http.js' with target './lib/adapters/http.js'.", + "File name '/node_modules/axios/lib/adapters/http.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/http.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/adapters/http.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/adapters/http.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/adapters/http.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/adapters/http.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/adapters/http.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/adapters/http.js' was successfully resolved to '/node_modules/axios/lib/adapters/http.js' with Package ID 'axios/lib/adapters/http.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 29 ] } }, @@ -1296,18 +1860,16 @@ "resolutions": { "node10": { "name": "./unsafe/adapters/xhr.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 30 + ] }, "node16-cjs": { "name": "./unsafe/adapters/xhr.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/adapters/xhr.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1334,8 +1896,37 @@ "======== Module name 'axios/unsafe/adapters/xhr.js' was successfully resolved to '/node_modules/axios/lib/adapters/xhr.js' with Package ID 'axios/lib/adapters/xhr.js@1.4.0'. ========" ] }, - "files": [ - "/node_modules/typescript/lib/lib.d.ts" + "implementationResolution": { + "fileName": "/node_modules/axios/lib/adapters/xhr.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/adapters/xhr.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 'axios/unsafe/adapters/xhr.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/xhr.js' with target './lib/adapters/xhr.js'.", + "File name '/node_modules/axios/lib/adapters/xhr.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/xhr.ts' does not exist.", + "File '/node_modules/axios/lib/adapters/xhr.tsx' does not exist.", + "Export specifier './unsafe/adapters/xhr.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/xhr.js' with target './lib/adapters/xhr.js'.", + "File name '/node_modules/axios/lib/adapters/xhr.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/xhr.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/adapters/xhr.js' was successfully resolved to '/node_modules/axios/lib/adapters/xhr.js' with Package ID 'axios/lib/adapters/xhr.js@1.4.0'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 31, + 32 ] }, "node16-esm": { @@ -1343,11 +1934,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/adapters/xhr.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1385,8 +1971,45 @@ "======== Module name 'axios/unsafe/adapters/xhr.js' was successfully resolved to '/node_modules/axios/lib/adapters/xhr.js' with Package ID 'axios/lib/adapters/xhr.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/adapters/xhr.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/adapters/xhr.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 'axios/unsafe/adapters/xhr.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/xhr.js' with target './lib/adapters/xhr.js'.", + "File name '/node_modules/axios/lib/adapters/xhr.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/xhr.ts' does not exist.", + "File '/node_modules/axios/lib/adapters/xhr.tsx' does not exist.", + "Export specifier './unsafe/adapters/xhr.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/xhr.js' with target './lib/adapters/xhr.js'.", + "File name '/node_modules/axios/lib/adapters/xhr.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/xhr.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/adapters/xhr.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/adapters/xhr.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/adapters/xhr.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/adapters/xhr.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/adapters/xhr.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/adapters/xhr.js' was successfully resolved to '/node_modules/axios/lib/adapters/xhr.js' with Package ID 'axios/lib/adapters/xhr.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 33 ] }, "bundler": { @@ -1431,8 +2054,45 @@ "======== Module name 'axios/unsafe/adapters/xhr.js' was successfully resolved to '/node_modules/axios/lib/adapters/xhr.js' with Package ID 'axios/lib/adapters/xhr.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/adapters/xhr.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/adapters/xhr.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 'axios/unsafe/adapters/xhr.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/xhr.js' with target './lib/adapters/xhr.js'.", + "File name '/node_modules/axios/lib/adapters/xhr.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/xhr.ts' does not exist.", + "File '/node_modules/axios/lib/adapters/xhr.tsx' does not exist.", + "Export specifier './unsafe/adapters/xhr.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/adapters/xhr.js' with target './lib/adapters/xhr.js'.", + "File name '/node_modules/axios/lib/adapters/xhr.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/adapters/xhr.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/adapters/xhr.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/adapters/xhr.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/adapters/xhr.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/adapters/xhr.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/adapters/xhr.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/adapters/xhr.js' was successfully resolved to '/node_modules/axios/lib/adapters/xhr.js' with Package ID 'axios/lib/adapters/xhr.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 34 ] } }, @@ -1444,18 +2104,16 @@ "resolutions": { "node10": { "name": "./unsafe/utils.js", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 35 + ] }, "node16-cjs": { "name": "./unsafe/utils.js", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/axios/lib/utils.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1482,8 +2140,37 @@ "======== Module name 'axios/unsafe/utils.js' was successfully resolved to '/node_modules/axios/lib/utils.js' with Package ID 'axios/lib/utils.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/utils.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/utils.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 'axios/unsafe/utils.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/utils.js' with target './lib/utils.js'.", + "File name '/node_modules/axios/lib/utils.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/utils.ts' does not exist.", + "File '/node_modules/axios/lib/utils.tsx' does not exist.", + "Export specifier './unsafe/utils.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/utils.js' with target './lib/utils.js'.", + "File name '/node_modules/axios/lib/utils.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/utils.js' exists - use it as a name resolution result.", + "======== Module name 'axios/unsafe/utils.js' was successfully resolved to '/node_modules/axios/lib/utils.js' with Package ID 'axios/lib/utils.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 36, + 37 ] }, "node16-esm": { @@ -1491,11 +2178,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/axios/lib/utils.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/axios/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1533,8 +2215,45 @@ "======== Module name 'axios/unsafe/utils.js' was successfully resolved to '/node_modules/axios/lib/utils.js' with Package ID 'axios/lib/utils.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/utils.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/utils.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 'axios/unsafe/utils.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/utils.js' with target './lib/utils.js'.", + "File name '/node_modules/axios/lib/utils.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/utils.ts' does not exist.", + "File '/node_modules/axios/lib/utils.tsx' does not exist.", + "Export specifier './unsafe/utils.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/utils.js' with target './lib/utils.js'.", + "File name '/node_modules/axios/lib/utils.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/utils.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/utils.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/utils.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/utils.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/utils.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/utils.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/utils.js' was successfully resolved to '/node_modules/axios/lib/utils.js' with Package ID 'axios/lib/utils.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 38 ] }, "bundler": { @@ -1579,8 +2298,45 @@ "======== Module name 'axios/unsafe/utils.js' was successfully resolved to '/node_modules/axios/lib/utils.js' with Package ID 'axios/lib/utils.js@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/lib/utils.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/unsafe/utils.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 'axios/unsafe/utils.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/utils.js' with target './lib/utils.js'.", + "File name '/node_modules/axios/lib/utils.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/utils.ts' does not exist.", + "File '/node_modules/axios/lib/utils.tsx' does not exist.", + "Export specifier './unsafe/utils.js' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './unsafe/utils.js' with target './lib/utils.js'.", + "File name '/node_modules/axios/lib/utils.js' has a '.js' extension - stripping it.", + "File '/node_modules/axios/lib/utils.js' exists - use it as a name resolution result.", + "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 'axios/unsafe/utils.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/unsafe/utils.js' has a '.js' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/unsafe/utils.js/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/unsafe/utils.js/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/unsafe/utils.js/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/unsafe/utils.js' was successfully resolved to '/node_modules/axios/lib/utils.js' with Package ID 'axios/lib/utils.js@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 39 ] } }, @@ -1621,10 +2377,35 @@ "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'axios/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/axios/package.json.ts' does not exist.", + "File '/node_modules/axios/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/package.json/index.js' has a '.js' extension - stripping it.", + "Loading module 'axios/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/axios/package.json' exists - use it as a name resolution result.", + "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -1655,10 +2436,34 @@ "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/package.json' 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 'axios/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/axios/package.json' exists - use it as a name resolution result.", + "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -1701,10 +2506,43 @@ "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/package.json' 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 'axios/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/axios/package.json' exists - use it as a name resolution result.", + "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 'axios/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/package.json/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -1750,37 +2588,125 @@ "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/axios/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'axios/package.json' 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 'axios/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/axios'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/axios/package.json' exists - use it as a name resolution result.", + "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 'axios/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/axios/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/axios/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/axios/package.json.ts' does not exist.", + "File '/node_modules/axios/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/axios/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/axios/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/axios/package.json/index.js' has a '.js' extension - stripping it.", + "======== Module name 'axios/package.json' was successfully resolved to '/node_modules/axios/package.json' with Package ID 'axios/package.json@1.4.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/axios/package.json" - ] + ], + "visibleProblems": [] } }, "hasTypes": false, "isWildcard": false } }, - "problems": [ - { - "kind": "Wildcard", - "entrypoint": "./unsafe/*", - "resolutionKind": "node10" - }, - { - "kind": "Wildcard", - "entrypoint": "./unsafe/*", - "resolutionKind": "node16-cjs" - }, - { - "kind": "Wildcard", - "entrypoint": "./unsafe/*", - "resolutionKind": "node16-esm" - }, - { - "kind": "Wildcard", - "entrypoint": "./unsafe/*", - "resolutionKind": "bundler" + "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/axios/index.d.cts": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/axios/index.d.cts" + }, + "/node_modules/axios/dist/node/axios.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/axios/dist/node/axios.cjs" + }, + "/node_modules/axios/lib/core/settle.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/core/buildFullPath.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/helpers/isAbsoluteURL.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/helpers/buildURL.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/helpers/combineURLs.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/adapters/http.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/adapters/xhr.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/lib/utils.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + }, + "/node_modules/axios/index.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/axios/package.json" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "NoResolution", "entrypoint": "./unsafe/core/settle.js", diff --git a/packages/core/test/snapshots/big.js@6.2.1.tgz.json b/packages/core/test/snapshots/big.js@6.2.1.tgz.json index afb0c8f..2d7d8d1 100644 --- a/packages/core/test/snapshots/big.js@6.2.1.tgz.json +++ b/packages/core/test/snapshots/big.js@6.2.1.tgz.json @@ -98,18 +98,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/big.js/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@types/big.js/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/big.js/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -143,11 +139,6 @@ }, "implementationResolution": { "fileName": "/node_modules/big.js/big.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/big.js/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -183,18 +174,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/big.js/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@types/big.js/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/big.js/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -223,11 +210,6 @@ }, "implementationResolution": { "fileName": "/node_modules/big.js/big.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/big.js/big.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -273,6 +255,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/big.js/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -364,7 +349,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/big.js/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -412,8 +398,35 @@ "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.mjs' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'big.js/big.mjs' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mts' does not exist.", + "File '/node_modules/big.js/big.mjs.ts' does not exist.", + "File '/node_modules/big.js/big.mjs.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/big.mjs/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/big.mjs/big', target file types: TypeScript.", + "Loading module 'big.js/big.mjs' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mjs' exists - use it as a name resolution result.", + "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 1 ] }, "node16-cjs": { @@ -421,11 +434,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/big.js/big.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/big.js/big.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -457,8 +465,36 @@ "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.mjs' 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 'big.js/big.mjs' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.mjs' with target './big.mjs'.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mts' does not exist.", + "Export specifier './big.mjs' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.mjs' with target './big.mjs'.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mjs' exists - use it as a name resolution result.", + "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 2, + 3 ] }, "node16-esm": { @@ -466,11 +502,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/big.js/big.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/big.js/big.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -523,8 +554,44 @@ "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.mjs' 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 'big.js/big.mjs' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.mjs' with target './big.mjs'.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mts' does not exist.", + "Export specifier './big.mjs' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.mjs' with target './big.mjs'.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mjs' exists - use it as a name resolution result.", + "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 'big.js/big.mjs' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mts' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/big.mjs/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/big.mjs/big', target file types: TypeScript.", + "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 4 ] }, "bundler": { @@ -587,8 +654,46 @@ "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.mjs' 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 'big.js/big.mjs' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.mjs' with target './big.mjs'.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mts' does not exist.", + "Export specifier './big.mjs' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.mjs' with target './big.mjs'.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mjs' exists - use it as a name resolution result.", + "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 'big.js/big.mjs' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/big.js/big.mts' does not exist.", + "File '/node_modules/big.js/big.mjs.ts' does not exist.", + "File '/node_modules/big.js/big.mjs.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/big.mjs/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/big.mjs/big', target file types: TypeScript.", + "======== Module name 'big.js/big.mjs' was successfully resolved to '/node_modules/big.js/big.mjs' with Package ID 'big.js/big.mjs@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 5 ] } }, @@ -638,8 +743,36 @@ "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.js' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'big.js/big.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.ts' does not exist.", + "File '/node_modules/big.js/big.tsx' does not exist.", + "File '/node_modules/big.js/big.js.ts' does not exist.", + "File '/node_modules/big.js/big.js.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/big.js/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/big.js/big', target file types: TypeScript.", + "Loading module 'big.js/big.js' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.js' exists - use it as a name resolution result.", + "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 6 ] }, "node16-cjs": { @@ -647,11 +780,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/big.js/big.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/big.js/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -684,8 +812,36 @@ "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.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 'big.js/big.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.js' with target './big.js'.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.ts' does not exist.", + "File '/node_modules/big.js/big.tsx' does not exist.", + "Export specifier './big.js' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.js' with target './big.js'.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.js' exists - use it as a name resolution result.", + "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 7 ] }, "node16-esm": { @@ -693,11 +849,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/big.js/big.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/big.js/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -751,8 +902,46 @@ "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.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 'big.js/big.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.js' with target './big.js'.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.ts' does not exist.", + "File '/node_modules/big.js/big.tsx' does not exist.", + "Export specifier './big.js' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.js' with target './big.js'.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.js' exists - use it as a name resolution result.", + "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 'big.js/big.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.ts' does not exist.", + "File '/node_modules/big.js/big.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/big.js/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/big.js/big', target file types: TypeScript.", + "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 8 ] }, "bundler": { @@ -816,8 +1005,48 @@ "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/big.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/big.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 'big.js/big.js' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.js' with target './big.js'.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.ts' does not exist.", + "File '/node_modules/big.js/big.tsx' does not exist.", + "Export specifier './big.js' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './big.js' with target './big.js'.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.js' exists - use it as a name resolution result.", + "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 'big.js/big.js' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/big.js' has a '.js' extension - stripping it.", + "File '/node_modules/big.js/big.ts' does not exist.", + "File '/node_modules/big.js/big.tsx' does not exist.", + "File '/node_modules/big.js/big.js.ts' does not exist.", + "File '/node_modules/big.js/big.js.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/big.js/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/big.js/big', target file types: TypeScript.", + "======== Module name 'big.js/big.js' was successfully resolved to '/node_modules/big.js/big.js' with Package ID 'big.js/big.js@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 9 ] } }, @@ -865,10 +1094,34 @@ "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'big.js/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/big.js/package.json.ts' does not exist.", + "File '/node_modules/big.js/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/package.json/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/package.json/big', target file types: TypeScript.", + "Loading module 'big.js/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/big.js/package.json' exists - use it as a name resolution result.", + "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/big.js/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -905,10 +1158,34 @@ "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/package.json' 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 'big.js/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/big.js/package.json' exists - use it as a name resolution result.", + "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/big.js/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -964,10 +1241,42 @@ "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/package.json' 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 'big.js/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/big.js/package.json' exists - use it as a name resolution result.", + "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 'big.js/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/package.json/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/package.json/big', target file types: TypeScript.", + "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/big.js/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -1026,21 +1335,93 @@ "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/big.js/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'big.js/package.json' 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 'big.js/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/big.js'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/big.js/package.json' exists - use it as a name resolution result.", + "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 'big.js/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/big.js/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/big.js/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/big.js/package.json.ts' does not exist.", + "File '/node_modules/big.js/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'big' that references '/node_modules/big.js/package.json/big'.", + "Loading module as file / folder, candidate module location '/node_modules/big.js/package.json/big', target file types: TypeScript.", + "======== Module name 'big.js/package.json' was successfully resolved to '/node_modules/big.js/package.json' with Package ID 'big.js/package.json@6.2.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/big.js/package.json" - ] + ], + "visibleProblems": [] } }, "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/@types/big.js/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/big.js/package.json" + }, + "/node_modules/big.js/big.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/big.js/package.json" + }, + "/node_modules/big.js/big.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/big.js/big.mjs" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "FalseCJS", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/@types/big.js/index.d.ts", + "implementationFileName": "/node_modules/big.js/big.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/big.js/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/big.js/big.mjs" + } }, { "kind": "UntypedResolution", diff --git a/packages/core/test/snapshots/commander@10.0.1.tgz.json b/packages/core/test/snapshots/commander@10.0.1.tgz.json index 1af08ef..9c3596a 100644 --- a/packages/core/test/snapshots/commander@10.0.1.tgz.json +++ b/packages/core/test/snapshots/commander@10.0.1.tgz.json @@ -72,18 +72,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/commander/typings/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/commander/typings/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "type", - "reasonFileName": "/node_modules/commander/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -105,11 +101,6 @@ }, "implementationResolution": { "fileName": "/node_modules/commander/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "type", - "reasonFileName": "/node_modules/commander/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -146,18 +137,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/commander/typings/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/commander/typings/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "type", - "reasonFileName": "/node_modules/commander/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -179,11 +166,6 @@ }, "implementationResolution": { "fileName": "/node_modules/commander/esm.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/commander/esm.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -236,6 +218,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/commander/typings/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -320,7 +305,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/commander/typings/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -362,8 +348,36 @@ "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/commander/esm.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'commander/esm.mjs' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'commander/esm.mjs' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mts' does not exist.", + "File '/node_modules/commander/esm.mjs.ts' does not exist.", + "File '/node_modules/commander/esm.mjs.tsx' does not exist.", + "'package.json' has 'main' field './index.js' that references '/node_modules/commander/esm.mjs/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/commander/esm.mjs/index.js', target file types: TypeScript.", + "File name '/node_modules/commander/esm.mjs/index.js' has a '.js' extension - stripping it.", + "Loading module 'commander/esm.mjs' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mjs' exists - use it as a name resolution result.", + "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 1 ] }, "node16-cjs": { @@ -371,11 +385,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/commander/esm.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/commander/esm.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -401,8 +410,36 @@ "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/commander/esm.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'commander/esm.mjs' 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 'commander/esm.mjs' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './esm.mjs' with target './esm.mjs'.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mts' does not exist.", + "Export specifier './esm.mjs' does not exist in package.json scope at path '/node_modules/commander'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './esm.mjs' with target './esm.mjs'.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mjs' exists - use it as a name resolution result.", + "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 2, + 3 ] }, "node16-esm": { @@ -410,11 +447,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/commander/esm.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/commander/esm.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -455,8 +487,45 @@ "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/commander/esm.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'commander/esm.mjs' 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 'commander/esm.mjs' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './esm.mjs' with target './esm.mjs'.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mts' does not exist.", + "Export specifier './esm.mjs' does not exist in package.json scope at path '/node_modules/commander'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './esm.mjs' with target './esm.mjs'.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mjs' exists - use it as a name resolution result.", + "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 'commander/esm.mjs' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mts' does not exist.", + "'package.json' has 'main' field './index.js' that references '/node_modules/commander/esm.mjs/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/commander/esm.mjs/index.js', target file types: TypeScript.", + "File name '/node_modules/commander/esm.mjs/index.js' has a '.js' extension - stripping it.", + "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 4 ] }, "bundler": { @@ -507,8 +576,47 @@ "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/commander/esm.mjs", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'commander/esm.mjs' 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 'commander/esm.mjs' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './esm.mjs' with target './esm.mjs'.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mts' does not exist.", + "Export specifier './esm.mjs' does not exist in package.json scope at path '/node_modules/commander'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './esm.mjs' with target './esm.mjs'.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mjs' exists - use it as a name resolution result.", + "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 'commander/esm.mjs' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/commander/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/commander/esm.mjs' has a '.mjs' extension - stripping it.", + "File '/node_modules/commander/esm.mts' does not exist.", + "File '/node_modules/commander/esm.mjs.ts' does not exist.", + "File '/node_modules/commander/esm.mjs.tsx' does not exist.", + "'package.json' has 'main' field './index.js' that references '/node_modules/commander/esm.mjs/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/commander/esm.mjs/index.js', target file types: TypeScript.", + "File name '/node_modules/commander/esm.mjs/index.js' has a '.js' extension - stripping it.", + "======== Module name 'commander/esm.mjs' was successfully resolved to '/node_modules/commander/esm.mjs' with Package ID 'commander/esm.mjs@10.0.1'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 5 ] } }, @@ -516,11 +624,49 @@ "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/commander/typings/index.d.ts": { + "detectedKind": 1, + "detectedReason": "type", + "reasonFileName": "/node_modules/commander/package.json" + }, + "/node_modules/commander/index.js": { + "detectedKind": 1, + "detectedReason": "type", + "reasonFileName": "/node_modules/commander/package.json" + }, + "/node_modules/commander/esm.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/commander/esm.mjs" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "FalseCJS", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/commander/typings/index.d.ts", + "implementationFileName": "/node_modules/commander/esm.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "type", + "reasonFileName": "/node_modules/commander/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/commander/esm.mjs" + } }, { "kind": "UntypedResolution", diff --git a/packages/core/test/snapshots/hexoid@1.0.0.tgz.json b/packages/core/test/snapshots/hexoid@1.0.0.tgz.json index 3d29bb9..64c7438 100644 --- a/packages/core/test/snapshots/hexoid@1.0.0.tgz.json +++ b/packages/core/test/snapshots/hexoid@1.0.0.tgz.json @@ -70,6 +70,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/hexoid/hexoid.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -77,11 +80,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/hexoid/hexoid.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/hexoid/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -104,11 +102,6 @@ }, "implementationResolution": { "fileName": "/node_modules/hexoid/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/hexoid/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -146,6 +139,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/hexoid/hexoid.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -153,11 +149,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/hexoid/hexoid.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/hexoid/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -176,11 +167,6 @@ }, "implementationResolution": { "fileName": "/node_modules/hexoid/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/hexoid/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -232,6 +218,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/hexoid/hexoid.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -317,6 +306,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/hexoid/hexoid.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -324,26 +316,34 @@ "isWildcard": false } }, - "problems": [ - { - "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "node10" - }, - { - "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "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/hexoid/hexoid.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/hexoid/package.json" + }, + "/node_modules/hexoid/dist/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/hexoid/package.json" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "FalseExportDefault", - "entrypoint": ".", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/hexoid/hexoid.d.ts", + "implementationFileName": "/node_modules/hexoid/dist/index.js" } ] } diff --git a/packages/core/test/snapshots/ignore@5.2.4.tgz.json b/packages/core/test/snapshots/ignore@5.2.4.tgz.json index d5cf6b0..cbf5c34 100644 --- a/packages/core/test/snapshots/ignore@5.2.4.tgz.json +++ b/packages/core/test/snapshots/ignore@5.2.4.tgz.json @@ -66,6 +66,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/ignore/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -73,11 +76,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/ignore/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ignore/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -103,11 +101,6 @@ }, "implementationResolution": { "fileName": "/node_modules/ignore/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ignore/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -136,6 +129,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/ignore/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -143,11 +139,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/ignore/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ignore/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -170,11 +161,6 @@ }, "implementationResolution": { "fileName": "/node_modules/ignore/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/ignore/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -209,6 +195,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/ignore/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -279,6 +268,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/ignore/index.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -286,26 +278,34 @@ "isWildcard": false } }, - "problems": [ - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "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/ignore/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ignore/package.json" + }, + "/node_modules/ignore/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/ignore/package.json" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/ignore/index.d.ts", + "implementationFileName": "/node_modules/ignore/index.js" } ] } diff --git a/packages/core/test/snapshots/klona@2.0.6.tgz.json b/packages/core/test/snapshots/klona@2.0.6.tgz.json index 14e6faf..687da41 100644 --- a/packages/core/test/snapshots/klona@2.0.6.tgz.json +++ b/packages/core/test/snapshots/klona@2.0.6.tgz.json @@ -70,18 +70,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -103,11 +99,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -145,18 +136,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -178,11 +165,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/dist/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/klona/dist/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -234,6 +216,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -317,7 +302,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -383,18 +369,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/json/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./json", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -417,11 +399,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/json/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -462,18 +439,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./json", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -496,11 +469,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/json/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/klona/json/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -548,6 +516,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" + ], + "visibleProblems": [ + 1 ] }, "bundler": { @@ -628,7 +599,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -694,18 +666,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/lite/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./lite", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -728,11 +696,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/lite/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -773,18 +736,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./lite", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -807,11 +766,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/lite/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/klona/lite/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -859,6 +813,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" + ], + "visibleProblems": [ + 2 ] }, "bundler": { @@ -939,7 +896,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1005,18 +963,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/full/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./full", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1039,11 +993,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/full/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1084,18 +1033,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./full", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/klona/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/klona/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1118,11 +1063,6 @@ }, "implementationResolution": { "fileName": "/node_modules/klona/full/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/klona/full/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1170,6 +1110,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" + ], + "visibleProblems": [ + 3 ] }, "bundler": { @@ -1250,7 +1193,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1291,10 +1235,35 @@ "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/klona/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'klona/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'klona/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/klona/package.json.ts' does not exist.", + "File '/node_modules/klona/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'dist/index.js' that references '/node_modules/klona/package.json/dist/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/klona/package.json/dist/index.js', target file types: TypeScript.", + "File name '/node_modules/klona/package.json/dist/index.js' has a '.js' extension - stripping it.", + "Loading module 'klona/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/klona/package.json' exists - use it as a name resolution result.", + "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -1325,10 +1294,34 @@ "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/klona/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'klona/package.json' 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 'klona/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/klona'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/klona/package.json' exists - use it as a name resolution result.", + "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -1373,10 +1366,43 @@ "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/klona/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'klona/package.json' 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 'klona/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/klona'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/klona/package.json' exists - use it as a name resolution result.", + "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 'klona/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field 'dist/index.js' that references '/node_modules/klona/package.json/dist/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/klona/package.json/dist/index.js', target file types: TypeScript.", + "File name '/node_modules/klona/package.json/dist/index.js' has a '.js' extension - stripping it.", + "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -1424,36 +1450,169 @@ "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/klona/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'klona/package.json' 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 'klona/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/klona'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/klona/package.json' exists - use it as a name resolution result.", + "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 'klona/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/klona/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/klona/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/klona/package.json.ts' does not exist.", + "File '/node_modules/klona/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'dist/index.js' that references '/node_modules/klona/package.json/dist/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/klona/package.json/dist/index.js', target file types: TypeScript.", + "File name '/node_modules/klona/package.json/dist/index.js' has a '.js' extension - stripping it.", + "======== Module name 'klona/package.json' was successfully resolved to '/node_modules/klona/package.json' with Package ID 'klona/package.json@2.0.6'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/klona/package.json" - ] + ], + "visibleProblems": [] } }, "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/klona/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "/node_modules/klona/dist/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "/node_modules/klona/json/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "/node_modules/klona/lite/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "/node_modules/klona/full/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "/node_modules/klona/dist/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/dist/index.mjs" + }, + "/node_modules/klona/json/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/json/index.mjs" + }, + "/node_modules/klona/lite/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/lite/index.mjs" + }, + "/node_modules/klona/full/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/full/index.mjs" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "FalseCJS", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/klona/index.d.ts", + "implementationFileName": "/node_modules/klona/dist/index.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/dist/index.mjs" + } }, { "kind": "FalseCJS", - "entrypoint": "./json", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/klona/index.d.ts", + "implementationFileName": "/node_modules/klona/json/index.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/json/index.mjs" + } }, { "kind": "FalseCJS", - "entrypoint": "./lite", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/klona/index.d.ts", + "implementationFileName": "/node_modules/klona/lite/index.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/lite/index.mjs" + } }, { "kind": "FalseCJS", - "entrypoint": "./full", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/klona/index.d.ts", + "implementationFileName": "/node_modules/klona/full/index.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/klona/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/klona/full/index.mjs" + } } ] } diff --git a/packages/core/test/snapshots/node-html-parser@6.1.5.tgz.json b/packages/core/test/snapshots/node-html-parser@6.1.5.tgz.json index cc1b774..8130489 100644 --- a/packages/core/test/snapshots/node-html-parser@6.1.5.tgz.json +++ b/packages/core/test/snapshots/node-html-parser@6.1.5.tgz.json @@ -80,6 +80,9 @@ "/node_modules/node-html-parser/dist/parse.d.ts", "/node_modules/node-html-parser/dist/valid.d.ts", "/node_modules/node-html-parser/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -87,11 +90,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/node-html-parser/dist/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/node-html-parser/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -114,11 +112,6 @@ }, "implementationResolution": { "fileName": "/node_modules/node-html-parser/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/node-html-parser/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -164,6 +157,9 @@ "/node_modules/node-html-parser/dist/parse.d.ts", "/node_modules/node-html-parser/dist/valid.d.ts", "/node_modules/node-html-parser/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -171,11 +167,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/node-html-parser/dist/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/node-html-parser/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -194,11 +185,6 @@ }, "implementationResolution": { "fileName": "/node_modules/node-html-parser/dist/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/node-html-parser/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -258,6 +244,9 @@ "/node_modules/node-html-parser/dist/parse.d.ts", "/node_modules/node-html-parser/dist/valid.d.ts", "/node_modules/node-html-parser/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -351,6 +340,9 @@ "/node_modules/node-html-parser/dist/parse.d.ts", "/node_modules/node-html-parser/dist/valid.d.ts", "/node_modules/node-html-parser/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -358,14 +350,75 @@ "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/node-html-parser/dist/void-tag.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/nodes/type.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/nodes/node.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/nodes/html.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/nodes/comment.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/nodes/text.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/parse.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/valid.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + }, + "/node_modules/node-html-parser/dist/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/node-html-parser/package.json" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "CJSOnlyExportsDefault", "fileName": "/node_modules/node-html-parser/dist/index.js", - "range": { - "pos": 1077, - "end": 1092 - } + "pos": 1077, + "end": 1092 } ] } diff --git a/packages/core/test/snapshots/postcss@8.4.21.tgz.json b/packages/core/test/snapshots/postcss@8.4.21.tgz.json index deb8127..fc29a77 100644 --- a/packages/core/test/snapshots/postcss@8.4.21.tgz.json +++ b/packages/core/test/snapshots/postcss@8.4.21.tgz.json @@ -87,6 +87,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -94,11 +97,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/postcss.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -123,11 +121,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/postcss.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -180,6 +173,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -187,11 +183,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/postcss.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -220,11 +211,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/postcss.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/postcss/lib/postcss.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -293,6 +279,10 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 1, + 2 ] }, "bundler": { @@ -400,6 +390,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 3 ] } }, @@ -470,6 +463,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/at-rule.d.ts" + ], + "visibleProblems": [ + 4 ] }, "node16-cjs": { @@ -477,11 +473,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/at-rule.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -502,11 +493,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/at-rule.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -550,6 +536,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/at-rule.d.ts" + ], + "visibleProblems": [ + 4 ] }, "node16-esm": { @@ -557,11 +546,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/at-rule.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -582,11 +566,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/at-rule.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -638,6 +617,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/at-rule.d.ts" + ], + "visibleProblems": [ + 4 ] }, "bundler": { @@ -718,6 +700,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/at-rule.d.ts" + ], + "visibleProblems": [ + 4 ] } }, @@ -788,6 +773,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/comment.d.ts" + ], + "visibleProblems": [ + 5 ] }, "node16-cjs": { @@ -795,11 +783,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/comment.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -820,11 +803,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/comment.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -868,6 +846,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/comment.d.ts" + ], + "visibleProblems": [ + 5 ] }, "node16-esm": { @@ -875,11 +856,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/comment.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -900,11 +876,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/comment.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -956,6 +927,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/comment.d.ts" + ], + "visibleProblems": [ + 5 ] }, "bundler": { @@ -1036,6 +1010,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/comment.d.ts" + ], + "visibleProblems": [ + 5 ] } }, @@ -1106,6 +1083,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts" + ], + "visibleProblems": [ + 6 ] }, "node16-cjs": { @@ -1113,11 +1093,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/container.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1138,11 +1113,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/container.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1186,6 +1156,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts" + ], + "visibleProblems": [ + 6 ] }, "node16-esm": { @@ -1193,11 +1166,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/container.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1218,11 +1186,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/container.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1274,6 +1237,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts" + ], + "visibleProblems": [ + 6 ] }, "bundler": { @@ -1354,6 +1320,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts" + ], + "visibleProblems": [ + 6 ] } }, @@ -1424,6 +1393,9 @@ "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts" + ], + "visibleProblems": [ + 7 ] }, "node16-cjs": { @@ -1431,11 +1403,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/css-syntax-error.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1456,11 +1423,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/css-syntax-error.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1504,6 +1466,9 @@ "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts" + ], + "visibleProblems": [ + 7 ] }, "node16-esm": { @@ -1511,11 +1476,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/css-syntax-error.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1536,11 +1496,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/css-syntax-error.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1592,6 +1547,9 @@ "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts" + ], + "visibleProblems": [ + 7 ] }, "bundler": { @@ -1672,6 +1630,9 @@ "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts" + ], + "visibleProblems": [ + 7 ] } }, @@ -1742,6 +1703,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/declaration.d.ts" + ], + "visibleProblems": [ + 8 ] }, "node16-cjs": { @@ -1749,11 +1713,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/declaration.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1774,11 +1733,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/declaration.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1822,6 +1776,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/declaration.d.ts" + ], + "visibleProblems": [ + 8 ] }, "node16-esm": { @@ -1829,11 +1786,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/declaration.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1854,11 +1806,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/declaration.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1910,6 +1857,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/declaration.d.ts" + ], + "visibleProblems": [ + 8 ] }, "bundler": { @@ -1990,6 +1940,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/declaration.d.ts" + ], + "visibleProblems": [ + 8 ] } }, @@ -2061,6 +2014,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/fromJSON.d.ts" + ], + "visibleProblems": [ + 9 ] }, "node16-cjs": { @@ -2068,11 +2024,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/fromJSON.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2093,11 +2044,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/fromJSON.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2142,6 +2088,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/fromJSON.d.ts" + ], + "visibleProblems": [ + 9 ] }, "node16-esm": { @@ -2149,11 +2098,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/fromJSON.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2174,11 +2118,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/fromJSON.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2231,6 +2170,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/fromJSON.d.ts" + ], + "visibleProblems": [ + 9 ] }, "bundler": { @@ -2312,6 +2254,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/fromJSON.d.ts" + ], + "visibleProblems": [ + 9 ] } }, @@ -2382,6 +2327,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts" + ], + "visibleProblems": [ + 10 ] }, "node16-cjs": { @@ -2389,11 +2337,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/input.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2414,11 +2357,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/input.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2462,6 +2400,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts" + ], + "visibleProblems": [ + 10 ] }, "node16-esm": { @@ -2469,11 +2410,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/input.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2494,11 +2430,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/input.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2550,6 +2481,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts" + ], + "visibleProblems": [ + 10 ] }, "bundler": { @@ -2630,6 +2564,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts", "/node_modules/postcss/lib/input.d.ts" + ], + "visibleProblems": [ + 10 ] } }, @@ -2700,6 +2637,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/lazy-result.d.ts" + ], + "visibleProblems": [ + 11 ] }, "node16-cjs": { @@ -2707,11 +2647,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/lazy-result.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2732,11 +2667,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/lazy-result.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2780,6 +2710,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/lazy-result.d.ts" + ], + "visibleProblems": [ + 11 ] }, "node16-esm": { @@ -2787,11 +2720,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/lazy-result.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2812,11 +2740,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/lazy-result.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -2868,6 +2791,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/lazy-result.d.ts" + ], + "visibleProblems": [ + 11 ] }, "bundler": { @@ -2948,6 +2874,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/lazy-result.d.ts" + ], + "visibleProblems": [ + 11 ] } }, @@ -3018,6 +2947,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts" + ], + "visibleProblems": [ + 12 ] }, "node16-cjs": { @@ -3025,11 +2957,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/no-work-result.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3050,11 +2977,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/no-work-result.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3098,6 +3020,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts" + ], + "visibleProblems": [ + 12 ] }, "node16-esm": { @@ -3105,11 +3030,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/no-work-result.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3130,11 +3050,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/no-work-result.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3186,6 +3101,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts" + ], + "visibleProblems": [ + 12 ] }, "bundler": { @@ -3266,6 +3184,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts" + ], + "visibleProblems": [ + 12 ] } }, @@ -3319,6 +3240,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/lib/list.d.ts" + ], + "visibleProblems": [ + 13 ] }, "node16-cjs": { @@ -3326,11 +3250,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/list.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3351,11 +3270,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/list.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3382,6 +3296,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/lib/list.d.ts" + ], + "visibleProblems": [ + 13 ] }, "node16-esm": { @@ -3389,11 +3306,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/list.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3414,11 +3326,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/list.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3453,6 +3360,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/lib/list.d.ts" + ], + "visibleProblems": [ + 13 ] }, "bundler": { @@ -3516,6 +3426,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/lib/list.d.ts" + ], + "visibleProblems": [ + 13 ] } }, @@ -3553,8 +3466,33 @@ "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/map-generator.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/map-generator' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/lib/map-generator' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/map-generator.ts' does not exist.", + "File '/node_modules/postcss/lib/map-generator.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/map-generator/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/map-generator/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/map-generator/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/lib/map-generator' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/map-generator.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 14 ] }, "node16-cjs": { @@ -3562,11 +3500,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/map-generator.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3592,8 +3525,36 @@ "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/map-generator.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/map-generator' 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 'postcss/lib/map-generator' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/map-generator' with target './lib/map-generator.js'.", + "File name '/node_modules/postcss/lib/map-generator.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/map-generator.ts' does not exist.", + "File '/node_modules/postcss/lib/map-generator.tsx' does not exist.", + "Export specifier './lib/map-generator' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/map-generator' with target './lib/map-generator.js'.", + "File name '/node_modules/postcss/lib/map-generator.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/map-generator.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 15 ] }, "node16-esm": { @@ -3601,11 +3562,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/map-generator.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3642,8 +3598,44 @@ "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/map-generator.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/map-generator' 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 'postcss/lib/map-generator' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/map-generator' with target './lib/map-generator.js'.", + "File name '/node_modules/postcss/lib/map-generator.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/map-generator.ts' does not exist.", + "File '/node_modules/postcss/lib/map-generator.tsx' does not exist.", + "Export specifier './lib/map-generator' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/map-generator' with target './lib/map-generator.js'.", + "File name '/node_modules/postcss/lib/map-generator.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/map-generator.js' exists - use it as a name resolution result.", + "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 'postcss/lib/map-generator' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/map-generator/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/map-generator/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/map-generator/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 16 ] }, "bundler": { @@ -3690,8 +3682,46 @@ "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/map-generator.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/map-generator' 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 'postcss/lib/map-generator' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/map-generator' with target './lib/map-generator.js'.", + "File name '/node_modules/postcss/lib/map-generator.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/map-generator.ts' does not exist.", + "File '/node_modules/postcss/lib/map-generator.tsx' does not exist.", + "Export specifier './lib/map-generator' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/map-generator' with target './lib/map-generator.js'.", + "File name '/node_modules/postcss/lib/map-generator.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/map-generator.js' exists - use it as a name resolution result.", + "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 'postcss/lib/map-generator' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/map-generator.ts' does not exist.", + "File '/node_modules/postcss/lib/map-generator.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/map-generator/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/map-generator/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/map-generator/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/map-generator' was successfully resolved to '/node_modules/postcss/lib/map-generator.js' with Package ID 'postcss/lib/map-generator.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 17 ] } }, @@ -3762,6 +3792,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts" + ], + "visibleProblems": [ + 18 ] }, "node16-cjs": { @@ -3769,11 +3802,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/node.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3794,11 +3822,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/node.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3842,6 +3865,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts" + ], + "visibleProblems": [ + 18 ] }, "node16-esm": { @@ -3849,11 +3875,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/node.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -3874,11 +3895,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/node.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -3930,6 +3946,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts" + ], + "visibleProblems": [ + 18 ] }, "bundler": { @@ -4010,6 +4029,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/node.d.ts" + ], + "visibleProblems": [ + 18 ] } }, @@ -4081,6 +4103,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/parse.d.ts" + ], + "visibleProblems": [ + 19 ] }, "node16-cjs": { @@ -4088,11 +4113,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/parse.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4113,11 +4133,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/parse.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4162,6 +4177,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/parse.d.ts" + ], + "visibleProblems": [ + 19 ] }, "node16-esm": { @@ -4169,11 +4187,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/parse.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4194,11 +4207,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/parse.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4251,6 +4259,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/parse.d.ts" + ], + "visibleProblems": [ + 19 ] }, "bundler": { @@ -4332,6 +4343,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/parse.d.ts" + ], + "visibleProblems": [ + 19 ] } }, @@ -4369,8 +4383,33 @@ "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/parser.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/parser' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/lib/parser' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/parser.ts' does not exist.", + "File '/node_modules/postcss/lib/parser.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/parser/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/parser/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/parser/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/lib/parser' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/parser.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 20 ] }, "node16-cjs": { @@ -4378,11 +4417,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/parser.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4408,8 +4442,36 @@ "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/parser.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/parser' 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 'postcss/lib/parser' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/parser' with target './lib/parser.js'.", + "File name '/node_modules/postcss/lib/parser.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/parser.ts' does not exist.", + "File '/node_modules/postcss/lib/parser.tsx' does not exist.", + "Export specifier './lib/parser' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/parser' with target './lib/parser.js'.", + "File name '/node_modules/postcss/lib/parser.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/parser.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 21 ] }, "node16-esm": { @@ -4417,11 +4479,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/parser.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4457,8 +4514,44 @@ "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/parser.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/parser' 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 'postcss/lib/parser' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/parser' with target './lib/parser.js'.", + "File name '/node_modules/postcss/lib/parser.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/parser.ts' does not exist.", + "File '/node_modules/postcss/lib/parser.tsx' does not exist.", + "Export specifier './lib/parser' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/parser' with target './lib/parser.js'.", + "File name '/node_modules/postcss/lib/parser.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/parser.js' exists - use it as a name resolution result.", + "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 'postcss/lib/parser' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/parser/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/parser/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/parser/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 22 ] }, "bundler": { @@ -4504,8 +4597,46 @@ "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/parser.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/parser' 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 'postcss/lib/parser' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/parser' with target './lib/parser.js'.", + "File name '/node_modules/postcss/lib/parser.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/parser.ts' does not exist.", + "File '/node_modules/postcss/lib/parser.tsx' does not exist.", + "Export specifier './lib/parser' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/parser' with target './lib/parser.js'.", + "File name '/node_modules/postcss/lib/parser.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/parser.js' exists - use it as a name resolution result.", + "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 'postcss/lib/parser' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/parser.ts' does not exist.", + "File '/node_modules/postcss/lib/parser.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/parser/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/parser/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/parser/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/parser' was successfully resolved to '/node_modules/postcss/lib/parser.js' with Package ID 'postcss/lib/parser.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 23 ] } }, @@ -4576,6 +4707,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -4583,11 +4717,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/postcss.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4608,11 +4737,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/postcss.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4656,6 +4780,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -4663,11 +4790,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/postcss.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4688,11 +4810,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/postcss.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4744,6 +4861,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -4824,6 +4944,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts" + ], + "visibleProblems": [ + 0 ] } }, @@ -4894,6 +5017,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts" + ], + "visibleProblems": [ + 24 ] }, "node16-cjs": { @@ -4901,11 +5027,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/previous-map.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -4926,11 +5047,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/previous-map.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -4974,6 +5090,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts" + ], + "visibleProblems": [ + 24 ] }, "node16-esm": { @@ -4981,11 +5100,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/previous-map.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5006,11 +5120,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/previous-map.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5062,6 +5171,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts" + ], + "visibleProblems": [ + 24 ] }, "bundler": { @@ -5142,6 +5254,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/previous-map.d.ts" + ], + "visibleProblems": [ + 24 ] } }, @@ -5212,6 +5327,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts", "/node_modules/postcss/lib/processor.d.ts" + ], + "visibleProblems": [ + 25 ] }, "node16-cjs": { @@ -5219,11 +5337,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/processor.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5244,11 +5357,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/processor.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5292,6 +5400,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts", "/node_modules/postcss/lib/processor.d.ts" + ], + "visibleProblems": [ + 25 ] }, "node16-esm": { @@ -5299,11 +5410,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/processor.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5324,11 +5430,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/processor.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5380,6 +5481,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts", "/node_modules/postcss/lib/processor.d.ts" + ], + "visibleProblems": [ + 25 ] }, "bundler": { @@ -5460,6 +5564,9 @@ "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/no-work-result.d.ts", "/node_modules/postcss/lib/processor.d.ts" + ], + "visibleProblems": [ + 25 ] } }, @@ -5530,6 +5637,9 @@ "/node_modules/postcss/lib/lazy-result.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts" + ], + "visibleProblems": [ + 26 ] }, "node16-cjs": { @@ -5537,11 +5647,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/result.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5562,11 +5667,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/result.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5610,6 +5710,9 @@ "/node_modules/postcss/lib/lazy-result.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts" + ], + "visibleProblems": [ + 26 ] }, "node16-esm": { @@ -5617,11 +5720,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/result.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5642,11 +5740,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/result.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5698,6 +5791,9 @@ "/node_modules/postcss/lib/lazy-result.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts" + ], + "visibleProblems": [ + 26 ] }, "bundler": { @@ -5778,6 +5874,9 @@ "/node_modules/postcss/lib/lazy-result.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/result.d.ts" + ], + "visibleProblems": [ + 26 ] } }, @@ -5848,6 +5947,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/root.d.ts" + ], + "visibleProblems": [ + 27 ] }, "node16-cjs": { @@ -5855,11 +5957,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/root.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5880,11 +5977,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/root.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -5928,6 +6020,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/root.d.ts" + ], + "visibleProblems": [ + 27 ] }, "node16-esm": { @@ -5935,11 +6030,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/root.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -5960,11 +6050,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/root.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6016,6 +6101,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/root.d.ts" + ], + "visibleProblems": [ + 27 ] }, "bundler": { @@ -6096,6 +6184,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/root.d.ts" + ], + "visibleProblems": [ + 27 ] } }, @@ -6166,6 +6257,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/rule.d.ts" + ], + "visibleProblems": [ + 28 ] }, "node16-cjs": { @@ -6173,11 +6267,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/rule.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6198,11 +6287,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/rule.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6246,6 +6330,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/rule.d.ts" + ], + "visibleProblems": [ + 28 ] }, "node16-esm": { @@ -6253,11 +6340,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/rule.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6278,11 +6360,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/rule.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6334,6 +6411,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/rule.d.ts" + ], + "visibleProblems": [ + 28 ] }, "bundler": { @@ -6414,6 +6494,9 @@ "/node_modules/postcss/lib/node.d.ts", "/node_modules/postcss/lib/container.d.ts", "/node_modules/postcss/lib/rule.d.ts" + ], + "visibleProblems": [ + 28 ] } }, @@ -6485,6 +6568,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringifier.d.ts" + ], + "visibleProblems": [ + 29 ] }, "node16-cjs": { @@ -6492,11 +6578,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/stringifier.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6517,11 +6598,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/stringifier.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6566,6 +6642,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringifier.d.ts" + ], + "visibleProblems": [ + 29 ] }, "node16-esm": { @@ -6573,11 +6652,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/stringifier.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6598,11 +6672,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/stringifier.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6655,6 +6724,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringifier.d.ts" + ], + "visibleProblems": [ + 29 ] }, "bundler": { @@ -6736,6 +6808,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringifier.d.ts" + ], + "visibleProblems": [ + 29 ] } }, @@ -6807,6 +6882,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringify.d.ts" + ], + "visibleProblems": [ + 30 ] }, "node16-cjs": { @@ -6814,11 +6892,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/stringify.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6839,11 +6912,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/stringify.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6888,6 +6956,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringify.d.ts" + ], + "visibleProblems": [ + 30 ] }, "node16-esm": { @@ -6895,11 +6966,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/stringify.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -6920,11 +6986,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/stringify.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -6977,6 +7038,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringify.d.ts" + ], + "visibleProblems": [ + 30 ] }, "bundler": { @@ -7058,6 +7122,9 @@ "/node_modules/postcss/lib/list.d.ts", "/node_modules/postcss/lib/postcss.d.ts", "/node_modules/postcss/lib/stringify.d.ts" + ], + "visibleProblems": [ + 30 ] } }, @@ -7095,8 +7162,33 @@ "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/symbols.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/symbols' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/symbols.ts' does not exist.", + "File '/node_modules/postcss/lib/symbols.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/symbols/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/symbols/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/symbols/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/lib/symbols' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/symbols.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 31 ] }, "node16-cjs": { @@ -7104,11 +7196,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/symbols.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7134,70 +7221,129 @@ "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" ] }, - "files": [ - "/node_modules/typescript/lib/lib.d.ts" - ] - }, - "node16-esm": { - "name": "./lib/symbols", - "resolutionKind": "node16-esm", - "resolution": { + "implementationResolution": { "fileName": "/node_modules/postcss/lib/symbols.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ - "======== Resolving module 'postcss/lib/symbols' from '/index.mts'. ========", + "======== Resolving module 'postcss/lib/symbols' from '/index.ts'. ========", "Explicitly specified module resolution kind: 'Node16'.", - "Resolving in ESM mode with conditions 'import', 'types', 'node'.", + "Resolving in CJS mode with conditions 'require', 'node'.", "File '/package.json' does not exist according to earlier cached lookups.", - "Loading module 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "Loading module 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", "File '/node_modules/postcss/lib/symbols.ts' does not exist.", "File '/node_modules/postcss/lib/symbols.tsx' does not exist.", - "File '/node_modules/postcss/lib/symbols.d.ts' does not exist.", "Export specifier './lib/symbols' does not exist in package.json scope at path '/node_modules/postcss'.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", "File '/node_modules/postcss/lib/symbols.js' exists - use it as a name resolution result.", - "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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, Declaration.", - "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", - "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", - "'package.json' does not have a 'typings' field.", - "'package.json' has 'types' field './lib/postcss.d.ts' that references '/node_modules/postcss/lib/symbols/lib/postcss.d.ts'.", - "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/symbols/lib/postcss.d.ts', target file types: TypeScript, Declaration.", - "File name '/node_modules/postcss/lib/symbols/lib/postcss.d.ts' has a '.d.ts' extension - stripping it.", - "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" ] }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 32 ] }, - "bundler": { + "node16-esm": { "name": "./lib/symbols", - "resolutionKind": "bundler", + "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/symbols.js", "isJson": false, "isTypeScript": false, "trace": [ - "======== Resolving module 'postcss/lib/symbols' from '/index.ts'. ========", - "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'import', 'types'.", + "======== Resolving module 'postcss/lib/symbols' 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 'postcss/lib/symbols' 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/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", + "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/symbols.ts' does not exist.", + "File '/node_modules/postcss/lib/symbols.tsx' does not exist.", + "File '/node_modules/postcss/lib/symbols.d.ts' does not exist.", + "Export specifier './lib/symbols' does not exist in package.json scope at path '/node_modules/postcss'.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", + "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/symbols.js' exists - use it as a name resolution result.", + "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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, Declaration.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' does not have a 'typings' field.", + "'package.json' has 'types' field './lib/postcss.d.ts' that references '/node_modules/postcss/lib/symbols/lib/postcss.d.ts'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/symbols/lib/postcss.d.ts', target file types: TypeScript, Declaration.", + "File name '/node_modules/postcss/lib/symbols/lib/postcss.d.ts' has a '.d.ts' extension - stripping it.", + "Directory '/node_modules/@types' does not exist, skipping all lookups in it.", + "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" + ] + }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/symbols.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/symbols' 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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", + "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/symbols.ts' does not exist.", + "File '/node_modules/postcss/lib/symbols.tsx' does not exist.", + "Export specifier './lib/symbols' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", + "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/symbols.js' exists - use it as a name resolution result.", + "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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/symbols/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/symbols/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/symbols/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 33 + ] + }, + "bundler": { + "name": "./lib/symbols", + "resolutionKind": "bundler", + "resolution": { + "fileName": "/node_modules/postcss/lib/symbols.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/symbols' 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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", @@ -7230,8 +7376,46 @@ "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/symbols.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/symbols' 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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", + "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/symbols.ts' does not exist.", + "File '/node_modules/postcss/lib/symbols.tsx' does not exist.", + "Export specifier './lib/symbols' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/symbols' with target './lib/symbols.js'.", + "File name '/node_modules/postcss/lib/symbols.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/symbols.js' exists - use it as a name resolution result.", + "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 'postcss/lib/symbols' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/symbols.ts' does not exist.", + "File '/node_modules/postcss/lib/symbols.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/symbols/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/symbols/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/symbols/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/symbols' was successfully resolved to '/node_modules/postcss/lib/symbols.js' with Package ID 'postcss/lib/symbols.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 34 ] } }, @@ -7269,8 +7453,33 @@ "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/terminal-highlight.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/terminal-highlight' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/terminal-highlight.ts' does not exist.", + "File '/node_modules/postcss/lib/terminal-highlight.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/terminal-highlight.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 35 ] }, "node16-cjs": { @@ -7278,11 +7487,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/terminal-highlight.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7308,8 +7512,36 @@ "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/terminal-highlight.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/terminal-highlight' 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 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/terminal-highlight' with target './lib/terminal-highlight.js'.", + "File name '/node_modules/postcss/lib/terminal-highlight.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/terminal-highlight.ts' does not exist.", + "File '/node_modules/postcss/lib/terminal-highlight.tsx' does not exist.", + "Export specifier './lib/terminal-highlight' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/terminal-highlight' with target './lib/terminal-highlight.js'.", + "File name '/node_modules/postcss/lib/terminal-highlight.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/terminal-highlight.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 36 ] }, "node16-esm": { @@ -7317,11 +7549,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/terminal-highlight.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7357,8 +7584,44 @@ "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/terminal-highlight.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/terminal-highlight' 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 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/terminal-highlight' with target './lib/terminal-highlight.js'.", + "File name '/node_modules/postcss/lib/terminal-highlight.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/terminal-highlight.ts' does not exist.", + "File '/node_modules/postcss/lib/terminal-highlight.tsx' does not exist.", + "Export specifier './lib/terminal-highlight' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/terminal-highlight' with target './lib/terminal-highlight.js'.", + "File name '/node_modules/postcss/lib/terminal-highlight.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/terminal-highlight.js' exists - use it as a name resolution result.", + "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 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 37 ] }, "bundler": { @@ -7404,8 +7667,46 @@ "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/terminal-highlight.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/terminal-highlight' 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 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/terminal-highlight' with target './lib/terminal-highlight.js'.", + "File name '/node_modules/postcss/lib/terminal-highlight.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/terminal-highlight.ts' does not exist.", + "File '/node_modules/postcss/lib/terminal-highlight.tsx' does not exist.", + "Export specifier './lib/terminal-highlight' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/terminal-highlight' with target './lib/terminal-highlight.js'.", + "File name '/node_modules/postcss/lib/terminal-highlight.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/terminal-highlight.js' exists - use it as a name resolution result.", + "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 'postcss/lib/terminal-highlight' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/terminal-highlight.ts' does not exist.", + "File '/node_modules/postcss/lib/terminal-highlight.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/terminal-highlight/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/terminal-highlight' was successfully resolved to '/node_modules/postcss/lib/terminal-highlight.js' with Package ID 'postcss/lib/terminal-highlight.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 38 ] } }, @@ -7443,8 +7744,33 @@ "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/tokenize.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/tokenize' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/tokenize.ts' does not exist.", + "File '/node_modules/postcss/lib/tokenize.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/tokenize/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/tokenize/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/tokenize/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/lib/tokenize' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/tokenize.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 39 ] }, "node16-cjs": { @@ -7452,11 +7778,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/tokenize.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7482,8 +7803,36 @@ "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/tokenize.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/tokenize' 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 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/tokenize' with target './lib/tokenize.js'.", + "File name '/node_modules/postcss/lib/tokenize.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/tokenize.ts' does not exist.", + "File '/node_modules/postcss/lib/tokenize.tsx' does not exist.", + "Export specifier './lib/tokenize' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/tokenize' with target './lib/tokenize.js'.", + "File name '/node_modules/postcss/lib/tokenize.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/tokenize.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 40 ] }, "node16-esm": { @@ -7491,11 +7840,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/tokenize.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7531,21 +7875,57 @@ "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" ] }, - "files": [ - "/node_modules/typescript/lib/lib.d.ts" - ] - }, - "bundler": { - "name": "./lib/tokenize", - "resolutionKind": "bundler", - "resolution": { + "implementationResolution": { "fileName": "/node_modules/postcss/lib/tokenize.js", "isJson": false, "isTypeScript": false, "trace": [ - "======== Resolving module 'postcss/lib/tokenize' from '/index.ts'. ========", - "Explicitly specified module resolution kind: 'Bundler'.", - "Resolving in CJS mode with conditions 'import', 'types'.", + "======== Resolving module 'postcss/lib/tokenize' 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 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/tokenize' with target './lib/tokenize.js'.", + "File name '/node_modules/postcss/lib/tokenize.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/tokenize.ts' does not exist.", + "File '/node_modules/postcss/lib/tokenize.tsx' does not exist.", + "Export specifier './lib/tokenize' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/tokenize' with target './lib/tokenize.js'.", + "File name '/node_modules/postcss/lib/tokenize.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/tokenize.js' exists - use it as a name resolution result.", + "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 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/tokenize/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/tokenize/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/tokenize/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 41 + ] + }, + "bundler": { + "name": "./lib/tokenize", + "resolutionKind": "bundler", + "resolution": { + "fileName": "/node_modules/postcss/lib/tokenize.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/tokenize' 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 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration, JSON.", "Searching all ancestor node_modules directories for preferred extensions: TypeScript, Declaration.", @@ -7578,8 +7958,46 @@ "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/tokenize.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/tokenize' 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 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/tokenize' with target './lib/tokenize.js'.", + "File name '/node_modules/postcss/lib/tokenize.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/tokenize.ts' does not exist.", + "File '/node_modules/postcss/lib/tokenize.tsx' does not exist.", + "Export specifier './lib/tokenize' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/tokenize' with target './lib/tokenize.js'.", + "File name '/node_modules/postcss/lib/tokenize.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/tokenize.js' exists - use it as a name resolution result.", + "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 'postcss/lib/tokenize' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/tokenize.ts' does not exist.", + "File '/node_modules/postcss/lib/tokenize.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/tokenize/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/tokenize/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/tokenize/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/tokenize' was successfully resolved to '/node_modules/postcss/lib/tokenize.js' with Package ID 'postcss/lib/tokenize.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 42 ] } }, @@ -7617,8 +8035,33 @@ "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/warn-once.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/warn-once' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/lib/warn-once' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/warn-once.ts' does not exist.", + "File '/node_modules/postcss/lib/warn-once.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/warn-once/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/warn-once/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/warn-once/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/lib/warn-once' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/warn-once.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 43 ] }, "node16-cjs": { @@ -7626,11 +8069,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/warn-once.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7656,8 +8094,36 @@ "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/warn-once.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/warn-once' 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 'postcss/lib/warn-once' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/warn-once' with target './lib/warn-once.js'.", + "File name '/node_modules/postcss/lib/warn-once.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/warn-once.ts' does not exist.", + "File '/node_modules/postcss/lib/warn-once.tsx' does not exist.", + "Export specifier './lib/warn-once' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/warn-once' with target './lib/warn-once.js'.", + "File name '/node_modules/postcss/lib/warn-once.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/warn-once.js' exists - use it as a name resolution result.", + "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 44 ] }, "node16-esm": { @@ -7665,11 +8131,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/warn-once.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7705,8 +8166,44 @@ "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/warn-once.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/warn-once' 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 'postcss/lib/warn-once' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/warn-once' with target './lib/warn-once.js'.", + "File name '/node_modules/postcss/lib/warn-once.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/warn-once.ts' does not exist.", + "File '/node_modules/postcss/lib/warn-once.tsx' does not exist.", + "Export specifier './lib/warn-once' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/warn-once' with target './lib/warn-once.js'.", + "File name '/node_modules/postcss/lib/warn-once.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/warn-once.js' exists - use it as a name resolution result.", + "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 'postcss/lib/warn-once' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/warn-once/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/warn-once/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/warn-once/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 45 ] }, "bundler": { @@ -7752,8 +8249,46 @@ "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/lib/warn-once.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/lib/warn-once' 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 'postcss/lib/warn-once' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/warn-once' with target './lib/warn-once.js'.", + "File name '/node_modules/postcss/lib/warn-once.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/warn-once.ts' does not exist.", + "File '/node_modules/postcss/lib/warn-once.tsx' does not exist.", + "Export specifier './lib/warn-once' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './lib/warn-once' with target './lib/warn-once.js'.", + "File name '/node_modules/postcss/lib/warn-once.js' has a '.js' extension - stripping it.", + "File '/node_modules/postcss/lib/warn-once.js' exists - use it as a name resolution result.", + "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 'postcss/lib/warn-once' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File '/node_modules/postcss/lib/warn-once.ts' does not exist.", + "File '/node_modules/postcss/lib/warn-once.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/lib/warn-once/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/lib/warn-once/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/lib/warn-once/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/lib/warn-once' was successfully resolved to '/node_modules/postcss/lib/warn-once.js' with Package ID 'postcss/lib/warn-once.js@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 46 ] } }, @@ -7824,6 +8359,9 @@ "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts", "/node_modules/postcss/lib/warning.d.ts" + ], + "visibleProblems": [ + 47 ] }, "node16-cjs": { @@ -7831,11 +8369,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/postcss/lib/warning.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -7856,11 +8389,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/warning.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7904,6 +8432,9 @@ "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts", "/node_modules/postcss/lib/warning.d.ts" + ], + "visibleProblems": [ + 47 ] }, "node16-esm": { @@ -7911,11 +8442,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/postcss/lib/warning.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -7936,11 +8462,6 @@ }, "implementationResolution": { "fileName": "/node_modules/postcss/lib/warning.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/postcss/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -7992,6 +8513,9 @@ "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts", "/node_modules/postcss/lib/warning.d.ts" + ], + "visibleProblems": [ + 47 ] }, "bundler": { @@ -8072,6 +8596,9 @@ "/node_modules/postcss/lib/input.d.ts", "/node_modules/postcss/lib/css-syntax-error.d.ts", "/node_modules/postcss/lib/warning.d.ts" + ], + "visibleProblems": [ + 47 ] } }, @@ -8113,10 +8640,35 @@ "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'postcss/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/postcss/package.json.ts' does not exist.", + "File '/node_modules/postcss/package.json.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/package.json/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/package.json/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/package.json/lib/postcss.js' has a '.js' extension - stripping it.", + "Loading module 'postcss/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/postcss/package.json' exists - use it as a name resolution result.", + "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -8147,10 +8699,34 @@ "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/package.json' 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 'postcss/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/postcss/package.json' exists - use it as a name resolution result.", + "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -8194,10 +8770,43 @@ "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/postcss/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/package.json' 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 'postcss/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/postcss/package.json' exists - use it as a name resolution result.", + "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 'postcss/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/package.json/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/package.json/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/package.json/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/postcss/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -8244,36 +8853,339 @@ "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" ] }, - "files": [ - "/node_modules/typescript/lib/lib.d.ts", - "/node_modules/postcss/package.json" - ] - } - }, - "hasTypes": false, - "isWildcard": false - } - }, - "problems": [ - { - "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node10" - }, + "implementationResolution": { + "fileName": "/node_modules/postcss/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'postcss/package.json' 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 'postcss/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/postcss'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/postcss/package.json' exists - use it as a name resolution result.", + "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 'postcss/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/postcss/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/postcss/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/postcss/package.json.ts' does not exist.", + "File '/node_modules/postcss/package.json.tsx' does not exist.", + "'package.json' has 'main' field './lib/postcss.js' that references '/node_modules/postcss/package.json/lib/postcss.js'.", + "Loading module as file / folder, candidate module location '/node_modules/postcss/package.json/lib/postcss.js', target file types: TypeScript.", + "File name '/node_modules/postcss/package.json/lib/postcss.js' has a '.js' extension - stripping it.", + "======== Module name 'postcss/package.json' was successfully resolved to '/node_modules/postcss/package.json' with Package ID 'postcss/package.json@8.4.21'. ========" + ] + }, + "files": [ + "/node_modules/typescript/lib/lib.d.ts", + "/node_modules/postcss/package.json" + ], + "visibleProblems": [] + } + }, + "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/postcss/lib/comment.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/at-rule.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/rule.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/container.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/declaration.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/previous-map.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/input.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/css-syntax-error.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/warning.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/document.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/root.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/lazy-result.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/no-work-result.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/processor.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/result.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/node.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/list.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/postcss.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/postcss.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/at-rule.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/comment.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/container.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/css-syntax-error.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/declaration.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/fromJSON.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/fromJSON.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/input.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/lazy-result.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/no-work-result.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/list.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/map-generator.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/node.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/parse.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/parse.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/parser.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/previous-map.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/processor.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/result.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/root.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/rule.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/stringifier.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/stringifier.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/stringify.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/stringify.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/symbols.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/terminal-highlight.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/tokenize.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/warn-once.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/warning.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "/node_modules/postcss/lib/postcss.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/postcss/lib/postcss.mjs" + } + } + }, + "bundler": {} + }, + "problems": [ { "kind": "MissingExportEquals", - "entrypoint": ".", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/postcss/lib/postcss.d.ts", + "implementationFileName": "/node_modules/postcss/lib/postcss.js" }, { - "kind": "FalseCJS", + "kind": "FallbackCondition", "entrypoint": ".", "resolutionKind": "node16-esm" }, { - "kind": "FallbackCondition", - "entrypoint": ".", - "resolutionKind": "node16-esm" + "kind": "FalseCJS", + "typesFileName": "/node_modules/postcss/lib/postcss.d.ts", + "implementationFileName": "/node_modules/postcss/lib/postcss.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/postcss/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/postcss/lib/postcss.mjs" + } }, { "kind": "FallbackCondition", @@ -8282,203 +9194,53 @@ }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/at-rule", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/at-rule", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/at-rule", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/at-rule", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/comment", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/comment", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/comment", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/comment", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/container", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/container", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/container", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/container", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/css-syntax-error", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/css-syntax-error", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/postcss/lib/at-rule.d.ts", + "implementationFileName": "/node_modules/postcss/lib/at-rule.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/css-syntax-error", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/postcss/lib/comment.d.ts", + "implementationFileName": "/node_modules/postcss/lib/comment.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/css-syntax-error", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/container.d.ts", + "implementationFileName": "/node_modules/postcss/lib/container.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/declaration", - "resolutionKind": "node10" + "typesFileName": "/node_modules/postcss/lib/css-syntax-error.d.ts", + "implementationFileName": "/node_modules/postcss/lib/css-syntax-error.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/declaration", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/postcss/lib/declaration.d.ts", + "implementationFileName": "/node_modules/postcss/lib/declaration.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/declaration", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/postcss/lib/fromJSON.d.ts", + "implementationFileName": "/node_modules/postcss/lib/fromJSON.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/declaration", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/input.d.ts", + "implementationFileName": "/node_modules/postcss/lib/input.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/fromJSON", - "resolutionKind": "node10" + "typesFileName": "/node_modules/postcss/lib/lazy-result.d.ts", + "implementationFileName": "/node_modules/postcss/lib/lazy-result.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/fromJSON", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/postcss/lib/no-work-result.d.ts", + "implementationFileName": "/node_modules/postcss/lib/no-work-result.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/fromJSON", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/fromJSON", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/input", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/input", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/input", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/input", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/lazy-result", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/lazy-result", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/lazy-result", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/lazy-result", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/no-work-result", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/no-work-result", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/no-work-result", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/no-work-result", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/list", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/list", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/list", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/list", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/list.d.ts", + "implementationFileName": "/node_modules/postcss/lib/list.js" }, { "kind": "UntypedResolution", @@ -8502,43 +9264,13 @@ }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/node", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/node", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/node", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/node", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/parse", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/parse", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/parse", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/postcss/lib/node.d.ts", + "implementationFileName": "/node_modules/postcss/lib/node.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/parse", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/parse.d.ts", + "implementationFileName": "/node_modules/postcss/lib/parse.js" }, { "kind": "UntypedResolution", @@ -8562,163 +9294,38 @@ }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/postcss", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/postcss", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/postcss", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/postcss", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/previous-map", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/previous-map", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/previous-map", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/previous-map", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/processor", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/processor", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/processor", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/processor", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/result", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/result", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/result", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/result", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/root", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/root", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/root", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/root", - "resolutionKind": "bundler" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/rule", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/rule", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/rule", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/postcss/lib/previous-map.d.ts", + "implementationFileName": "/node_modules/postcss/lib/previous-map.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/rule", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/processor.d.ts", + "implementationFileName": "/node_modules/postcss/lib/processor.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/stringifier", - "resolutionKind": "node10" + "typesFileName": "/node_modules/postcss/lib/result.d.ts", + "implementationFileName": "/node_modules/postcss/lib/result.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/stringifier", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/postcss/lib/root.d.ts", + "implementationFileName": "/node_modules/postcss/lib/root.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/stringifier", - "resolutionKind": "node16-esm" + "typesFileName": "/node_modules/postcss/lib/rule.d.ts", + "implementationFileName": "/node_modules/postcss/lib/rule.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/stringifier", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/stringifier.d.ts", + "implementationFileName": "/node_modules/postcss/lib/stringifier.js" }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/stringify", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/stringify", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/stringify", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/stringify", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/stringify.d.ts", + "implementationFileName": "/node_modules/postcss/lib/stringify.js" }, { "kind": "UntypedResolution", @@ -8802,23 +9409,8 @@ }, { "kind": "MissingExportEquals", - "entrypoint": "./lib/warning", - "resolutionKind": "node10" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/warning", - "resolutionKind": "node16-cjs" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/warning", - "resolutionKind": "node16-esm" - }, - { - "kind": "MissingExportEquals", - "entrypoint": "./lib/warning", - "resolutionKind": "bundler" + "typesFileName": "/node_modules/postcss/lib/warning.d.ts", + "implementationFileName": "/node_modules/postcss/lib/warning.js" } ] } diff --git a/packages/core/test/snapshots/react-chartjs-2@5.2.0.tgz.json b/packages/core/test/snapshots/react-chartjs-2@5.2.0.tgz.json index 9847a75..6b62c3d 100644 --- a/packages/core/test/snapshots/react-chartjs-2@5.2.0.tgz.json +++ b/packages/core/test/snapshots/react-chartjs-2@5.2.0.tgz.json @@ -73,18 +73,14 @@ "/node_modules/react-chartjs-2/dist/typedCharts.d.ts", "/node_modules/react-chartjs-2/dist/utils.d.ts", "/node_modules/react-chartjs-2/dist/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/react-chartjs-2/dist/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/react-chartjs-2/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -106,11 +102,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react-chartjs-2/dist/index.cjs", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "extension", - "reasonFileName": "/node_modules/react-chartjs-2/dist/index.cjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -151,6 +142,9 @@ "/node_modules/react-chartjs-2/dist/typedCharts.d.ts", "/node_modules/react-chartjs-2/dist/utils.d.ts", "/node_modules/react-chartjs-2/dist/index.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-esm": { @@ -158,11 +152,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/react-chartjs-2/dist/index.d.ts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/react-chartjs-2/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -184,11 +173,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react-chartjs-2/dist/index.js", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "type", - "reasonFileName": "/node_modules/react-chartjs-2/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -242,7 +226,8 @@ "/node_modules/react-chartjs-2/dist/typedCharts.d.ts", "/node_modules/react-chartjs-2/dist/utils.d.ts", "/node_modules/react-chartjs-2/dist/index.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": ".", @@ -329,23 +314,77 @@ "/node_modules/react-chartjs-2/dist/typedCharts.d.ts", "/node_modules/react-chartjs-2/dist/utils.d.ts", "/node_modules/react-chartjs-2/dist/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "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/react-chartjs-2/dist/types.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + }, + "/node_modules/react-chartjs-2/dist/chart.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + }, + "/node_modules/react-chartjs-2/dist/typedCharts.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + }, + "/node_modules/react-chartjs-2/dist/utils.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + }, + "/node_modules/react-chartjs-2/dist/index.d.ts": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + }, + "/node_modules/react-chartjs-2/dist/index.cjs": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/react-chartjs-2/dist/index.cjs" + }, + "/node_modules/react-chartjs-2/dist/index.js": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "FalseESM", - "entrypoint": ".", - "resolutionKind": "node16-cjs" - }, - { - "kind": "CJSResolvesToESM", - "entrypoint": ".", - "resolutionKind": "node16-cjs" + "typesFileName": "/node_modules/react-chartjs-2/dist/index.d.ts", + "implementationFileName": "/node_modules/react-chartjs-2/dist/index.cjs", + "typesModuleKind": { + "detectedKind": 99, + "detectedReason": "type", + "reasonFileName": "/node_modules/react-chartjs-2/package.json" + }, + "implementationModuleKind": { + "detectedKind": 1, + "detectedReason": "extension", + "reasonFileName": "/node_modules/react-chartjs-2/dist/index.cjs" + } } ] } diff --git a/packages/core/test/snapshots/react@18.2.0.tgz.json b/packages/core/test/snapshots/react@18.2.0.tgz.json index e772370..c8013b6 100644 --- a/packages/core/test/snapshots/react@18.2.0.tgz.json +++ b/packages/core/test/snapshots/react@18.2.0.tgz.json @@ -95,18 +95,14 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@types/react/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -144,11 +140,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/react/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -185,18 +176,14 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@types/react/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -234,11 +221,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/react/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -291,7 +273,8 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": ".", @@ -391,7 +374,8 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -439,10 +423,35 @@ "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/react/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'react/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'react/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/react/package.json.ts' does not exist.", + "File '/node_modules/react/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/react/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/react/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/react/package.json/index.js' has a '.js' extension - stripping it.", + "Loading module 'react/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/react/package.json' exists - use it as a name resolution result.", + "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/react/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -476,10 +485,34 @@ "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/react/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'react/package.json' 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 'react/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/react'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/react/package.json' exists - use it as a name resolution result.", + "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/react/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -535,10 +568,43 @@ "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/react/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'react/package.json' 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 'react/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/react'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/react/package.json' exists - use it as a name resolution result.", + "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 'react/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/react/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/react/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/react/package.json/index.js' has a '.js' extension - stripping it.", + "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/react/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -598,10 +664,45 @@ "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/react/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'react/package.json' 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 'react/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/react'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/react/package.json' exists - use it as a name resolution result.", + "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 'react/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/react/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/react/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/react/package.json.ts' does not exist.", + "File '/node_modules/react/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/react/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/react/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/react/package.json/index.js' has a '.js' extension - stripping it.", + "======== Module name 'react/package.json' was successfully resolved to '/node_modules/react/package.json' with Package ID 'react/package.json@18.2.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/react/package.json" - ] + ], + "visibleProblems": [] } }, "hasTypes": false, @@ -663,18 +764,14 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-runtime.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./jsx-runtime", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@types/react/jsx-runtime.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -708,11 +805,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react/jsx-runtime.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/react/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -741,18 +833,14 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-runtime.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./jsx-runtime", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@types/react/jsx-runtime.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -786,11 +874,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react/jsx-runtime.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/react/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -827,7 +910,8 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-runtime.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./jsx-runtime", @@ -905,7 +989,8 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-runtime.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -967,18 +1052,14 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-dev-runtime.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./jsx-dev-runtime", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@types/react/jsx-dev-runtime.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1012,11 +1093,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react/jsx-dev-runtime.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/react/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1045,18 +1121,14 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-dev-runtime.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./jsx-dev-runtime", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@types/react/jsx-dev-runtime.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1090,11 +1162,6 @@ }, "implementationResolution": { "fileName": "/node_modules/react/jsx-dev-runtime.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/react/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1131,7 +1198,8 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-dev-runtime.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./jsx-dev-runtime", @@ -1209,7 +1277,8 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/jsx-dev-runtime.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1249,18 +1318,14 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./canary", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@types/react/canary.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1292,18 +1357,14 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./canary", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@types/react/canary.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1335,7 +1396,8 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./canary", @@ -1373,7 +1435,8 @@ "/node_modules/@types/react/global.d.ts", "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1414,18 +1477,14 @@ "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts", "/node_modules/@types/react/experimental.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./experimental", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/@types/react/experimental.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1458,18 +1517,14 @@ "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts", "/node_modules/@types/react/experimental.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./experimental", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/@types/react/experimental.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/@types/react/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1502,7 +1557,8 @@ "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts", "/node_modules/@types/react/experimental.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./experimental", @@ -1541,12 +1597,71 @@ "/node_modules/@types/react/index.d.ts", "/node_modules/@types/react/canary.d.ts", "/node_modules/@types/react/experimental.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "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/@types/react/global.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/react/package.json" + }, + "/node_modules/@types/react/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/react/package.json" + }, + "/node_modules/react/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/react/package.json" + }, + "/node_modules/@types/react/jsx-runtime.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/react/package.json" + }, + "/node_modules/react/jsx-runtime.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/react/package.json" + }, + "/node_modules/@types/react/jsx-dev-runtime.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/react/package.json" + }, + "/node_modules/react/jsx-dev-runtime.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/react/package.json" + }, + "/node_modules/@types/react/canary.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/react/package.json" + }, + "/node_modules/@types/react/experimental.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/@types/react/package.json" + } + } + }, + "bundler": {} + }, "problems": [] } diff --git a/packages/core/test/snapshots/rfdc@1.3.0.tgz.json b/packages/core/test/snapshots/rfdc@1.3.0.tgz.json index 4feb6e8..8dca5e3 100644 --- a/packages/core/test/snapshots/rfdc@1.3.0.tgz.json +++ b/packages/core/test/snapshots/rfdc@1.3.0.tgz.json @@ -77,18 +77,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/rfdc/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/rfdc/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/rfdc/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -109,11 +105,6 @@ }, "implementationResolution": { "fileName": "/node_modules/rfdc/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/rfdc/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -139,18 +130,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/rfdc/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/rfdc/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/rfdc/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -171,11 +158,6 @@ }, "implementationResolution": { "fileName": "/node_modules/rfdc/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/rfdc/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -217,7 +199,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/rfdc/index.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": ".", @@ -289,7 +272,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/rfdc/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -327,8 +311,33 @@ "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/rfdc/default.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'rfdc/default' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'rfdc/default' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "File '/node_modules/rfdc/default.ts' does not exist.", + "File '/node_modules/rfdc/default.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/rfdc/default/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/rfdc/default/index.js', target file types: TypeScript.", + "File name '/node_modules/rfdc/default/index.js' has a '.js' extension - stripping it.", + "Loading module 'rfdc/default' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "File '/node_modules/rfdc/default.js' exists - use it as a name resolution result.", + "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 0 ] }, "node16-cjs": { @@ -336,11 +345,6 @@ "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/rfdc/default.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/rfdc/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -366,8 +370,36 @@ "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/rfdc/default.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'rfdc/default' 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 'rfdc/default' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './default' with target './default.js'.", + "File name '/node_modules/rfdc/default.js' has a '.js' extension - stripping it.", + "File '/node_modules/rfdc/default.ts' does not exist.", + "File '/node_modules/rfdc/default.tsx' does not exist.", + "Export specifier './default' does not exist in package.json scope at path '/node_modules/rfdc'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './default' with target './default.js'.", + "File name '/node_modules/rfdc/default.js' has a '.js' extension - stripping it.", + "File '/node_modules/rfdc/default.js' exists - use it as a name resolution result.", + "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 1 ] }, "node16-esm": { @@ -375,11 +407,6 @@ "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/rfdc/default.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/rfdc/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -417,8 +444,44 @@ "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/rfdc/default.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'rfdc/default' 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 'rfdc/default' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './default' with target './default.js'.", + "File name '/node_modules/rfdc/default.js' has a '.js' extension - stripping it.", + "File '/node_modules/rfdc/default.ts' does not exist.", + "File '/node_modules/rfdc/default.tsx' does not exist.", + "Export specifier './default' does not exist in package.json scope at path '/node_modules/rfdc'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './default' with target './default.js'.", + "File name '/node_modules/rfdc/default.js' has a '.js' extension - stripping it.", + "File '/node_modules/rfdc/default.js' exists - use it as a name resolution result.", + "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 'rfdc/default' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/rfdc/default/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/rfdc/default/index.js', target file types: TypeScript.", + "File name '/node_modules/rfdc/default/index.js' has a '.js' extension - stripping it.", + "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 2 ] }, "bundler": { @@ -466,8 +529,46 @@ "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/rfdc/default.js", + "isJson": false, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'rfdc/default' 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 'rfdc/default' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './default' with target './default.js'.", + "File name '/node_modules/rfdc/default.js' has a '.js' extension - stripping it.", + "File '/node_modules/rfdc/default.ts' does not exist.", + "File '/node_modules/rfdc/default.tsx' does not exist.", + "Export specifier './default' does not exist in package.json scope at path '/node_modules/rfdc'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './default' with target './default.js'.", + "File name '/node_modules/rfdc/default.js' has a '.js' extension - stripping it.", + "File '/node_modules/rfdc/default.js' exists - use it as a name resolution result.", + "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 'rfdc/default' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/rfdc/package.json' exists according to earlier cached lookups.", + "File '/node_modules/rfdc/default.ts' does not exist.", + "File '/node_modules/rfdc/default.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/rfdc/default/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/rfdc/default/index.js', target file types: TypeScript.", + "File name '/node_modules/rfdc/default/index.js' has a '.js' extension - stripping it.", + "======== Module name 'rfdc/default' was successfully resolved to '/node_modules/rfdc/default.js' with Package ID 'rfdc/default.js@1.3.0'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts" + ], + "visibleProblems": [ + 3 ] } }, @@ -475,6 +576,34 @@ "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/rfdc/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/rfdc/package.json" + }, + "/node_modules/rfdc/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/rfdc/package.json" + }, + "/node_modules/rfdc/default.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/rfdc/package.json" + } + } + }, + "bundler": {} + }, "problems": [ { "kind": "UntypedResolution", diff --git a/packages/core/test/snapshots/vue@3.3.4.tgz.json b/packages/core/test/snapshots/vue@3.3.4.tgz.json index 53852ec..59f4c26 100644 --- a/packages/core/test/snapshots/vue@3.3.4.tgz.json +++ b/packages/core/test/snapshots/vue@3.3.4.tgz.json @@ -71,18 +71,14 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts", "/node_modules/vue/dist/vue.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": ".", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/dist/vue.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -109,11 +105,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -160,18 +151,14 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts", "/node_modules/vue/dist/vue.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": ".", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/dist/vue.d.mts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/dist/vue.d.mts" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -197,11 +184,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -267,6 +249,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/dist/vue.d.mts" + ], + "visibleProblems": [ + 0 ] }, "bundler": { @@ -366,7 +351,8 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts", "/node_modules/vue/dist/vue.d.mts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -443,18 +429,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/server-renderer/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./server-renderer", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/server-renderer/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/server-renderer/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -482,11 +464,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/server-renderer/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/server-renderer/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -535,18 +512,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/server-renderer/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./server-renderer", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/server-renderer/index.d.mts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/server-renderer/index.d.mts" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -573,11 +546,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/server-renderer/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/server-renderer/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -640,7 +608,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/server-renderer/index.d.mts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./server-renderer", @@ -739,7 +708,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/server-renderer/index.d.mts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -816,18 +786,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/compiler-sfc/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./compiler-sfc", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/compiler-sfc/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/compiler-sfc/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -855,11 +821,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/compiler-sfc/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/compiler-sfc/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -908,18 +869,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/compiler-sfc/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./compiler-sfc", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/compiler-sfc/index.d.mts", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/compiler-sfc/index.d.mts" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -946,11 +903,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/compiler-sfc/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/compiler-sfc/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1013,7 +965,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/compiler-sfc/index.d.mts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./compiler-sfc", @@ -1112,7 +1065,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/compiler-sfc/index.d.mts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1182,18 +1136,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./jsx-runtime", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/jsx-runtime/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1216,11 +1166,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/jsx-runtime/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1261,18 +1206,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./jsx-runtime", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/jsx-runtime/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1295,11 +1236,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/jsx-runtime/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/jsx-runtime/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1354,6 +1290,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" + ], + "visibleProblems": [ + 1 ] }, "bundler": { @@ -1441,7 +1380,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1452,18 +1392,16 @@ "resolutions": { "node10": { "name": "./jsx-dev-runtime", - "resolutionKind": "node10" + "resolutionKind": "node10", + "visibleProblems": [ + 2 + ] }, "node16-cjs": { "name": "./jsx-dev-runtime", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/jsx-runtime/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1485,11 +1423,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/jsx-runtime/index.js", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1528,18 +1461,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./jsx-dev-runtime", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/jsx-runtime/index.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1561,11 +1490,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/jsx-runtime/index.mjs", - "moduleKind": { - "detectedKind": 99, - "detectedReason": "extension", - "reasonFileName": "/node_modules/vue/jsx-runtime/index.mjs" - }, "isJson": false, "isTypeScript": false, "trace": [ @@ -1610,6 +1534,9 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" + ], + "visibleProblems": [ + 1 ] }, "bundler": { @@ -1684,7 +1611,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx-runtime/index.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1715,18 +1643,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./jsx", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/jsx.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1744,11 +1668,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/jsx.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1767,18 +1686,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./jsx", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/jsx.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1796,11 +1711,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/jsx.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -1819,7 +1729,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./jsx", @@ -1861,7 +1772,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/jsx.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -1873,22 +1785,26 @@ "node10": { "name": "./dist/*", "resolutionKind": "node10", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] }, "node16-cjs": { "name": "./dist/*", "resolutionKind": "node16-cjs", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] }, "node16-esm": { "name": "./dist/*", "resolutionKind": "node16-esm", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] }, "bundler": { "name": "./dist/*", "resolutionKind": "bundler", - "isWildcard": true + "isWildcard": true, + "visibleProblems": [] } }, "hasTypes": false, @@ -1929,10 +1845,35 @@ "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/vue/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'vue/package.json' from '/index.ts'. ========", + "Explicitly specified module resolution kind: 'Node10'.", + "Loading module 'vue/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/vue/package.json.ts' does not exist.", + "File '/node_modules/vue/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/vue/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/vue/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/vue/package.json/index.js' has a '.js' extension - stripping it.", + "Loading module 'vue/package.json' from 'node_modules' folder, target file types: JavaScript, JSON.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/vue/package.json' exists - use it as a name resolution result.", + "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/package.json" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./package.json", @@ -1963,10 +1904,34 @@ "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/vue/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'vue/package.json' 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 'vue/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/vue'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/vue/package.json' exists - use it as a name resolution result.", + "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/package.json" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./package.json", @@ -2011,10 +1976,43 @@ "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/vue/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'vue/package.json' 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 'vue/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/vue'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/vue/package.json' exists - use it as a name resolution result.", + "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 'vue/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/vue/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/vue/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/vue/package.json/index.js' has a '.js' extension - stripping it.", + "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/package.json" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./package.json", @@ -2062,10 +2060,45 @@ "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" ] }, + "implementationResolution": { + "fileName": "/node_modules/vue/package.json", + "isJson": true, + "isTypeScript": false, + "trace": [ + "======== Resolving module 'vue/package.json' 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 'vue/package.json' from 'node_modules' folder, target file types: TypeScript, JavaScript, JSON.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "Export specifier './package.json' does not exist in package.json scope at path '/node_modules/vue'.", + "Searching all ancestor node_modules directories for fallback extensions: JavaScript, JSON.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "Using 'exports' subpath './package.json' with target './package.json'.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/vue/package.json' exists - use it as a name resolution result.", + "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 'vue/package.json' from 'node_modules' folder, target file types: TypeScript.", + "Searching all ancestor node_modules directories for preferred extensions: TypeScript.", + "File '/node_modules/vue/package.json' exists according to earlier cached lookups.", + "File name '/node_modules/vue/package.json' has a '.json' extension - stripping it.", + "File '/node_modules/vue/package.json.ts' does not exist.", + "File '/node_modules/vue/package.json.tsx' does not exist.", + "'package.json' has 'main' field 'index.js' that references '/node_modules/vue/package.json/index.js'.", + "Loading module as file / folder, candidate module location '/node_modules/vue/package.json/index.js', target file types: TypeScript.", + "File name '/node_modules/vue/package.json/index.js' has a '.js' extension - stripping it.", + "======== Module name 'vue/package.json' was successfully resolved to '/node_modules/vue/package.json' with Package ID 'vue/package.json@3.3.4'. ========" + ] + }, "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/package.json" - ] + ], + "visibleProblems": [] } }, "hasTypes": false, @@ -2096,18 +2129,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./macros", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2125,11 +2154,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2148,18 +2172,14 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./macros", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2177,11 +2197,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2200,7 +2215,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./macros", @@ -2242,7 +2258,8 @@ "files": [ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -2274,18 +2291,14 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./macros-global", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/macros-global.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2303,11 +2316,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/macros-global.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2327,18 +2335,14 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./macros-global", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/macros-global.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2356,11 +2360,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/macros-global.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2380,7 +2379,8 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./macros-global", @@ -2423,7 +2423,8 @@ "/node_modules/typescript/lib/lib.d.ts", "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, @@ -2456,18 +2457,14 @@ "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts", "/node_modules/vue/ref-macros.d.ts" - ] + ], + "visibleProblems": [] }, "node16-cjs": { "name": "./ref-macros", "resolutionKind": "node16-cjs", "resolution": { "fileName": "/node_modules/vue/ref-macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2485,11 +2482,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/ref-macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2510,18 +2502,14 @@ "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts", "/node_modules/vue/ref-macros.d.ts" - ] + ], + "visibleProblems": [] }, "node16-esm": { "name": "./ref-macros", "resolutionKind": "node16-esm", "resolution": { "fileName": "/node_modules/vue/ref-macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2539,11 +2527,6 @@ }, "implementationResolution": { "fileName": "/node_modules/vue/ref-macros.d.ts", - "moduleKind": { - "detectedKind": 1, - "detectedReason": "no:type", - "reasonFileName": "/node_modules/vue/package.json" - }, "isJson": false, "isTypeScript": true, "trace": [ @@ -2564,7 +2547,8 @@ "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts", "/node_modules/vue/ref-macros.d.ts" - ] + ], + "visibleProblems": [] }, "bundler": { "name": "./ref-macros", @@ -2608,49 +2592,123 @@ "/node_modules/vue/macros.d.ts", "/node_modules/vue/macros-global.d.ts", "/node_modules/vue/ref-macros.d.ts" - ] + ], + "visibleProblems": [] } }, "hasTypes": true, "isWildcard": false } }, - "problems": [ - { - "kind": "FalseCJS", - "entrypoint": "./jsx-runtime", - "resolutionKind": "node16-esm" - }, - { - "kind": "NoResolution", - "entrypoint": "./jsx-dev-runtime", - "resolutionKind": "node10" - }, - { - "kind": "FalseCJS", - "entrypoint": "./jsx-dev-runtime", - "resolutionKind": "node16-esm" - }, - { - "kind": "Wildcard", - "entrypoint": "./dist/*", - "resolutionKind": "node10" - }, - { - "kind": "Wildcard", - "entrypoint": "./dist/*", - "resolutionKind": "node16-cjs" - }, - { - "kind": "Wildcard", - "entrypoint": "./dist/*", - "resolutionKind": "node16-esm" - }, - { - "kind": "Wildcard", - "entrypoint": "./dist/*", - "resolutionKind": "bundler" + "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/vue/jsx.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/package.json" + }, + "/node_modules/vue/dist/vue.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/package.json" + }, + "/node_modules/vue/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/package.json" + }, + "/node_modules/vue/server-renderer/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/server-renderer/package.json" + }, + "/node_modules/vue/server-renderer/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/server-renderer/package.json" + }, + "/node_modules/vue/compiler-sfc/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/compiler-sfc/package.json" + }, + "/node_modules/vue/compiler-sfc/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/compiler-sfc/package.json" + }, + "/node_modules/vue/jsx-runtime/index.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" + }, + "/node_modules/vue/jsx-runtime/index.js": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" + }, + "/node_modules/vue/macros.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/package.json" + }, + "/node_modules/vue/macros-global.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/package.json" + }, + "/node_modules/vue/ref-macros.d.ts": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/package.json" + }, + "/node_modules/vue/dist/vue.d.mts": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/dist/vue.d.mts" + }, + "/node_modules/vue/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/index.mjs" + }, + "/node_modules/vue/server-renderer/index.d.mts": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/server-renderer/index.d.mts" + }, + "/node_modules/vue/server-renderer/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/server-renderer/index.mjs" + }, + "/node_modules/vue/compiler-sfc/index.d.mts": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/compiler-sfc/index.d.mts" + }, + "/node_modules/vue/compiler-sfc/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/compiler-sfc/index.mjs" + }, + "/node_modules/vue/jsx-runtime/index.mjs": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/jsx-runtime/index.mjs" + } + } }, + "bundler": {} + }, + "problems": [ { "kind": "InternalResolutionError", "resolutionOption": "node16", @@ -2667,6 +2725,26 @@ "Directory '/node_modules/vue/jsx' does not exist, skipping all lookups in it.", "======== Module name '../jsx' was not resolved. ========" ] + }, + { + "kind": "FalseCJS", + "typesFileName": "/node_modules/vue/jsx-runtime/index.d.ts", + "implementationFileName": "/node_modules/vue/jsx-runtime/index.mjs", + "typesModuleKind": { + "detectedKind": 1, + "detectedReason": "no:type", + "reasonFileName": "/node_modules/vue/jsx-runtime/package.json" + }, + "implementationModuleKind": { + "detectedKind": 99, + "detectedReason": "extension", + "reasonFileName": "/node_modules/vue/jsx-runtime/index.mjs" + } + }, + { + "kind": "NoResolution", + "entrypoint": "./jsx-dev-runtime", + "resolutionKind": "node10" } ] } From a578211352da93c6ec8593f86339c6f9d02bde14 Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Sat, 7 Oct 2023 23:10:28 -0700 Subject: [PATCH 4/6] Add changeset --- .changeset/young-years-sort.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .changeset/young-years-sort.md diff --git a/.changeset/young-years-sort.md b/.changeset/young-years-sort.md new file mode 100644 index 0000000..f3510f4 --- /dev/null +++ b/.changeset/young-years-sort.md @@ -0,0 +1,7 @@ +--- +"@arethetypeswrong/core": minor +--- + +- Refactor internal checks API. This fixes duplication of some problems from the problems array, instead ensuring a single problem instance is visible from each relevant resolution. +- Improve problem type API. Renames many fields on individual problem types. +- Move module kind data off of `EntrypointResolutionAnalysis` and onto a top-level map in `programInfo`, a new top-level field on `Analysis`. From e24a7e0b58a2f2ae3b611fdfa0fe4868f81de26c Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Sat, 7 Oct 2023 23:14:39 -0700 Subject: [PATCH 5/6] Remove wildcard emoji --- .../cli/test/snapshots/axios@1.4.0.tgz.md | 66 +++++++++---------- ...z --exclude-entrypoints macros -f ascii.md | 8 +-- ...tgz --include-entrypoints .foo -f ascii.md | 8 +-- packages/cli/test/snapshots/vue@3.3.4.tgz.md | 50 +++++++------- 4 files changed, 66 insertions(+), 66 deletions(-) diff --git a/packages/cli/test/snapshots/axios@1.4.0.tgz.md b/packages/cli/test/snapshots/axios@1.4.0.tgz.md index 842eeee..0e13501 100644 --- a/packages/cli/test/snapshots/axios@1.4.0.tgz.md +++ b/packages/cli/test/snapshots/axios@1.4.0.tgz.md @@ -17,39 +17,39 @@ Build tools: ⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md -┌─────────────────────────────────────────┬──────────────────────┬──────────────────────────────┬───────────────────┬───────────────┐ -│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/*" │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/core/settle.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/core/buildFullPath.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/helpers/isAbsoluteURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/helpers/buildURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/helpers/combineURLs.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/adapters/http.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/adapters/xhr.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/unsafe/utils.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ -│ │ │ ⚠️ ESM (dynamic import only) │ │ │ -├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼───────────────┤ -│ "axios/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ -└─────────────────────────────────────────┴──────────────────────┴──────────────────────────────┴───────────────────┴───────────────┘ +┌─────────────────────────────────────────┬──────────────────────┬──────────────────────────────┬───────────────────┬─────────────┐ +│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/*" │ (wildcard) │ (wildcard) │ (wildcard) │ (wildcard) │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/core/settle.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/core/buildFullPath.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/helpers/isAbsoluteURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/helpers/buildURL.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/helpers/combineURLs.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/adapters/http.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/adapters/xhr.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/unsafe/utils.js" │ 💀 Resolution failed │ ❌ No types │ ❌ No types │ ❌ No types │ +│ │ │ ⚠️ ESM (dynamic import only) │ │ │ +├─────────────────────────────────────────┼──────────────────────┼──────────────────────────────┼───────────────────┼─────────────┤ +│ "axios/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ +└─────────────────────────────────────────┴──────────────────────┴──────────────────────────────┴───────────────────┴─────────────┘ ``` diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md b/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md index cd6a0cd..c823832 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz --exclude-entrypoints macros -f ascii.md @@ -69,10 +69,10 @@ bundler: 🟢 "vue/dist/*" -node10: ❓ (wildcard) -node16 (from CJS): ❓ (wildcard) -node16 (from ESM): ❓ (wildcard) -bundler: ❓ (wildcard) +node10: (wildcard) +node16 (from CJS): (wildcard) +node16 (from ESM): (wildcard) +bundler: (wildcard) *********************************** diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md b/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md index 6dec028..cb0f6de 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz --include-entrypoints .foo -f ascii.md @@ -69,10 +69,10 @@ bundler: 🟢 "vue/dist/*" -node10: ❓ (wildcard) -node16 (from CJS): ❓ (wildcard) -node16 (from ESM): ❓ (wildcard) -bundler: ❓ (wildcard) +node10: (wildcard) +node16 (from CJS): (wildcard) +node16 (from ESM): (wildcard) +bundler: (wildcard) *********************************** diff --git a/packages/cli/test/snapshots/vue@3.3.4.tgz.md b/packages/cli/test/snapshots/vue@3.3.4.tgz.md index 0eb725d..0e24006 100644 --- a/packages/cli/test/snapshots/vue@3.3.4.tgz.md +++ b/packages/cli/test/snapshots/vue@3.3.4.tgz.md @@ -13,31 +13,31 @@ vue v3.3.4 💀 Import failed to resolve to type declarations or JavaScript files. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/NoResolution.md -┌───────────────────────┬──────────────────────┬───────────────────┬──────────────────────────────┬───────────────┐ -│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue" │ 🟢 │ 🟢 (CJS) │ 🥴 Internal resolution error │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/server-renderer" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/compiler-sfc" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/jsx-runtime" │ 🟢 │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/jsx-dev-runtime" │ 💀 Resolution failed │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/jsx" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/dist/*" │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ ❓ (wildcard) │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/macros-global" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼───────────────┤ -│ "vue/ref-macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ -└───────────────────────┴──────────────────────┴───────────────────┴──────────────────────────────┴───────────────┘ +┌───────────────────────┬──────────────────────┬───────────────────┬──────────────────────────────┬────────────┐ +│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue" │ 🟢 │ 🟢 (CJS) │ 🥴 Internal resolution error │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/server-renderer" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/compiler-sfc" │ 🟢 │ 🟢 (CJS) │ 🟢 (ESM) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/jsx-runtime" │ 🟢 │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/jsx-dev-runtime" │ 💀 Resolution failed │ 🟢 (CJS) │ 🎭 Masquerading as CJS │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/jsx" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/dist/*" │ (wildcard) │ (wildcard) │ (wildcard) │ (wildcard) │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/macros-global" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +├───────────────────────┼──────────────────────┼───────────────────┼──────────────────────────────┼────────────┤ +│ "vue/ref-macros" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ +└───────────────────────┴──────────────────────┴───────────────────┴──────────────────────────────┴────────────┘ ``` From 5c0caf76b4d728e9f673a2e11b78d7e1323e5c4a Mon Sep 17 00:00:00 2001 From: Andrew Branch Date: Sat, 7 Oct 2023 23:15:09 -0700 Subject: [PATCH 6/6] Update changeset --- .changeset/young-years-sort.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.changeset/young-years-sort.md b/.changeset/young-years-sort.md index f3510f4..2d89dd1 100644 --- a/.changeset/young-years-sort.md +++ b/.changeset/young-years-sort.md @@ -5,3 +5,4 @@ - Refactor internal checks API. This fixes duplication of some problems from the problems array, instead ensuring a single problem instance is visible from each relevant resolution. - Improve problem type API. Renames many fields on individual problem types. - Move module kind data off of `EntrypointResolutionAnalysis` and onto a top-level map in `programInfo`, a new top-level field on `Analysis`. +- Remove `Wildcard` problem kind.