diff --git a/LICENSE b/LICENSE index 7bdbb07eae5b39..2831dc3b5ee4f3 100644 --- a/LICENSE +++ b/LICENSE @@ -1360,6 +1360,24 @@ The externally maintained libraries used by Node.js are: OR OTHER DEALINGS IN THE SOFTWARE. """ +- caja, located at lib/internal/freeze_intrinsics.js, is licensed as follows: + """ + Adapted from SES/Caja - Copyright (C) 2011 Google Inc. + Copyright (C) 2018 Agoric + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + """ + - brotli, located at deps/brotli, is licensed as follows: """ Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. diff --git a/doc/api/cli.md b/doc/api/cli.md index 71e36a4c12b561..831b9624d1d7ae 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -177,6 +177,25 @@ added: v6.0.0 Force FIPS-compliant crypto on startup. (Cannot be disabled from script code.) (Same requirements as `--enable-fips`.) +### `--frozen-intrinsics` + + +> Stability: 1 - Experimental + +Enable experimental frozen intrinsics like `Array` and `Object`. + +Support is currently only provided for the root context and no guarantees are +currently provided that `global.Array` is indeed the default intrinsic +reference. + +**Code breakage is highly likely with this flag**, especially since limited +support for subclassing builtins is provided currently due to ECMA-262 bug +https://github.com/tc39/ecma262/pull/1320. + +Both of the above may change in future updates, which will be breaking changes. + ### `--http-parser=library`