| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7378b84 commit 9db3304
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -78,7 +78,7 @@ function emitLegacyIndexDeprecation(url, packageJSONUrl, base, main) { | |||
| 78 | 78 | basePath}.\n Automatic extension resolution of the "main" field is` + | |
| 79 | 79 | 'deprecated for ES modules.', | |
| 80 | 80 | 'DeprecationWarning', | |
| 81 | - 'DEP0150' | ||
| 81 | + 'DEP0151' | ||
| 82 | 82 | ); | |
| 83 | 83 | else | |
| 84 | 84 | process.emitWarning( | |
@@ -87,7 +87,7 @@ function emitLegacyIndexDeprecation(url, packageJSONUrl, base, main) { | |||
| 87 | 87 | StringPrototypeSlice(path, pkgPath.length)}", imported from ${basePath | |
| 88 | 88 | }.\nDefault "index" lookups for the main are deprecated for ES modules.`, | |
| 89 | 89 | 'DeprecationWarning', | |
| 90 | - 'DEP0150' | ||
| 90 | + 'DEP0151' | ||
| 91 | 91 | ); | |
| 92 | 92 | } | |
| 93 | 93 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments