diff --git a/.circleci/config.yml b/.circleci/config.yml index 5038ba89917ee..a2f7ae03496c3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -774,10 +774,10 @@ jobs: # support in the generated code. # Keep this in sync with `OLDEST_SUPPORTED_NODE` in `feature_matrix.py` - install-node-version: - node_version: "10.19.0" + node_version: "12.20.0" - run-tests: - title: "node (oldest / 10.19.0)" - extra-cflags: "-sMIN_NODE_VERSION=101900" + title: "node (oldest / 12.20.0)" + extra-cflags: "-sMIN_NODE_VERSION=122000" # We include most but not all of the nodefs and node rawfs tests here. # test_fs_nodefs_rw, test_fs_nodefs_statvfs, and test_unistd_io_nodefs_bigint fail. test_targets: " diff --git a/site/source/docs/tools_reference/settings_reference.rst b/site/source/docs/tools_reference/settings_reference.rst index ebdfa0d3593c5..671826622dac2 100644 --- a/site/source/docs/tools_reference/settings_reference.rst +++ b/site/source/docs/tools_reference/settings_reference.rst @@ -2955,7 +2955,7 @@ Specifies minimum node version to target for the generated code. This is distinct from the minimum version required run the emscripten compiler. This version aligns with the current Ubuuntu TLS 20.04 (Focal). Version is encoded in MMmmVV, e.g. 181401 denotes Node 18.14.01. -Minimum supported value is 101900, which was released 2020-02-05 (see +Minimum supported value is 122000, which was released 2020-11-25 (see feature_matrix.py). Default value: 160000 diff --git a/src/settings.js b/src/settings.js index db19c959bc2e7..53e1585b1fd75 100644 --- a/src/settings.js +++ b/src/settings.js @@ -1929,7 +1929,7 @@ var MIN_CHROME_VERSION = 85; // distinct from the minimum version required run the emscripten compiler. // This version aligns with the current Ubuuntu TLS 20.04 (Focal). // Version is encoded in MMmmVV, e.g. 181401 denotes Node 18.14.01. -// Minimum supported value is 101900, which was released 2020-02-05 (see +// Minimum supported value is 122000, which was released 2020-11-25 (see // feature_matrix.py). var MIN_NODE_VERSION = 160000; diff --git a/test/common.py b/test/common.py index b896162400ce0..8e928fda69804 100644 --- a/test/common.py +++ b/test/common.py @@ -1188,7 +1188,7 @@ def setUp(self): nodejs = self.get_nodejs() if nodejs: node_version = shared.get_node_version(nodejs) - if node_version < (11, 0, 0): + if node_version < (13, 1, 0): self.node_args.append('--unhandled-rejections=strict') self.node_args.append('--experimental-wasm-se') else: diff --git a/tools/feature_matrix.py b/tools/feature_matrix.py index b9253e81337be..5f29a7f13fe09 100644 --- a/tools/feature_matrix.py +++ b/tools/feature_matrix.py @@ -21,9 +21,8 @@ OLDEST_SUPPORTED_CHROME = 45 # September 1, 2015 OLDEST_SUPPORTED_FIREFOX = 40 # August 11, 2015 OLDEST_SUPPORTED_SAFARI = 101000 # September 20, 2016 -# 10.19.0 is the oldest version of node that we do any testing with. # Keep this in sync with the test-node-compat in .circleci/config.yml. -OLDEST_SUPPORTED_NODE = 101900 +OLDEST_SUPPORTED_NODE = 122000 class Feature(IntEnum):