From 15a94e67b1c8db1a3b6e05abf6cda4ab8df15b93 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Sun, 28 Jul 2024 13:33:05 -0300 Subject: [PATCH] lib,src: drop --experimental-network-imports PR-URL: https://github.com/nodejs/node/pull/53822 Reviewed-By: Matteo Collina Reviewed-By: Geoffrey Booth Reviewed-By: Marco Ippolito Reviewed-By: James M Snell Reviewed-By: Stephen Belanger Reviewed-By: Antoine du Hamel Reviewed-By: Joyee Cheung --- doc/api/cli.md | 13 - doc/api/errors.md | 17 - doc/api/esm.md | 68 +--- doc/api/module.md | 3 +- doc/node.1 | 3 - lib/internal/errors.js | 4 - lib/internal/modules/esm/get_format.js | 23 -- lib/internal/modules/esm/load.js | 31 +- lib/internal/modules/esm/loader.js | 5 +- lib/internal/modules/esm/resolve.js | 89 +---- src/node_options.cc | 4 - src/node_options.h | 1 - .../test-esm-experimental-warnings.mjs | 1 - test/es-module/test-http-imports-cli.mjs | 48 --- test/es-module/test-http-imports.mjs | 311 ------------------ .../test-require-module-special-import.js | 11 - test/fixtures/es-modules/network-import.mjs | 1 - 17 files changed, 10 insertions(+), 623 deletions(-) delete mode 100644 test/es-module/test-http-imports-cli.mjs delete mode 100644 test/es-module/test-http-imports.mjs delete mode 100644 test/es-module/test-require-module-special-import.js delete mode 100644 test/fixtures/es-modules/network-import.mjs diff --git a/doc/api/cli.md b/doc/api/cli.md index 44f25162721f7a..053aebe7d2b6c0 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -988,18 +988,6 @@ changes: Specify the `module` containing exported [module customization hooks][]. `module` may be any string accepted as an [`import` specifier][]. -### `--experimental-network-imports` - - - -> Stability: 1 - Experimental - -Enable experimental support for the `https:` protocol in `import` specifiers. - ### `--experimental-network-inspection`