From 4e874674560fc881b551974e0e886d3e9c2b23d8 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Wed, 14 Feb 2024 17:29:28 -0800 Subject: [PATCH] Editorial: Adapt to new HostEnsureCanCompileStrings As of https://github.com/tc39/ecma262/pull/3222 the signature of HostEnsureCanCompileStrings changed. This adapts to the new signature by pulling in the latest version of ecma262-biblio and adding the missing arguments. Closes: #367 --- package.json | 2 +- spec.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8dd0048..c8d3fda 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "watch": "npm run build -- --watch" }, "devDependencies": { - "@tc39/ecma262-biblio": "=2.1.2639", + "@tc39/ecma262-biblio": "=2.1.2687", "ecmarkup": "^18.0.0" } } diff --git a/spec.html b/spec.html index c9ba55b..3062b19 100644 --- a/spec.html +++ b/spec.html @@ -311,7 +311,7 @@

...
- 1. Perform ? HostEnsureCanCompileStrings(_evalRealm_). + 1. Perform ? HostEnsureCanCompileStrings(_evalRealm_, « », _sourceText_, *false*). 1. Perform the following substeps in an implementation-defined order, possibly interleaving parsing and error detection: 1. Let _script_ be ParseText(StringToCodePoints(_sourceText_), |Script|). 1. If _script_ is a List of errors, throw a *SyntaxError* exception.