| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 95391fe commit 9fab73c
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2737,13 +2737,16 @@ change the value has been deprecated and will be disabled in the future. | |||
| 2737 | 2737 | ### DEP0151: Main index lookup and extension searching | |
| 2738 | 2738 | <!-- YAML | |
| 2739 | 2739 | changes: | |
| 2740 | + - version: REPLACEME | ||
| 2741 | + pr-url: https://github.com/nodejs/node/pull/37206 | ||
| 2742 | + description: Runtime deprecation. | ||
| 2740 | 2743 | - version: v15.8.0 | |
| 2741 | 2744 | pr-url: https://github.com/nodejs/node/pull/36918 | |
| 2742 | 2745 | description: Documentation-only deprecation | |
| 2743 | 2746 | with `--pending-deprecation` support. | |
| 2744 | 2747 | --> | |
| 2745 | 2748 | ||
| 2746 | - Type: Documentation-only (supports [`--pending-deprecation`][]) | ||
| 2749 | + Type: Runtime | ||
| 2747 | 2750 | ||
| 2748 | 2751 | Previously, `index.js` and extension searching lookups would apply to | |
| 2749 | 2752 | `import 'pkg'` main entry point resolution, even when resolving ES modules. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -91,8 +91,6 @@ function emitFolderMapDeprecation(match, pjsonUrl, isExports, base) { | |||
| 91 | 91 | } | |
| 92 | 92 | ||
| 93 | 93 | function emitLegacyIndexDeprecation(url, packageJSONUrl, base, main) { | |
| 94 | - if (!pendingDeprecation) | ||
| 95 | - return; | ||
| 96 | 94 | const { format } = defaultGetFormat(url); | |
| 97 | 95 | if (format !== 'module') | |
| 98 | 96 | return; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments