From ec8776da6fa77628e12718bb38cee687303d4137 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Fri, 17 May 2019 15:23:59 -0400 Subject: [PATCH] esm: remove experimental status from JSON modules The HTML spec has officially landed JSON Modules and as such I think we can move them out of the "experimental" status. They will still be behind the `--experimental-modules` flag until the entire esm implementation moves out of experimental. Refs: https://html.spec.whatwg.org/#creating-a-json-module-script --- doc/api/cli.md | 7 ------- doc/api/esm.md | 23 ++++----------------- doc/node.1 | 3 --- lib/internal/modules/esm/default_resolve.js | 7 ++----- src/node_options.cc | 9 -------- src/node_options.h | 1 - test/es-module/test-esm-json-cache.mjs | 2 +- test/es-module/test-esm-json.mjs | 3 ++- 8 files changed, 9 insertions(+), 46 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index a8a18620fb3152..1c45593e3bcd2f 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -148,13 +148,6 @@ the ability to import a directory that has an index file. Please see [customizing esm specifier resolution][] for example usage. -### `--experimental-json-modules` - - -Enable experimental JSON support for the ES Module loader. - ### `--experimental-modules`