![electron-roller[bot]](/assets/img/avatar_default.png)
* chore: bump node in DEPS to v16.17.0
* chore: fixup asar patch
* lib: use null-prototype objects for property descriptors
https://github.com/nodejs/node/pull/43270
* src: make SecureContext fields private
https://github.com/nodejs/node/pull/43173
* crypto: remove Node.js-specific webcrypto extensions
https://github.com/nodejs/node/pull/43310
* test: refactor to top-level await
https://github.com/nodejs/node/pull/43500
* deps: cherry-pick two libuv fixes
https://github.com/nodejs/node/pull/43950
* src: slim down env-inl.h
https://github.com/nodejs/node/pull/43745
* util: add AggregateError.prototype.errors to inspect output
https://github.com/nodejs/node/pull/43646
* esm: improve performance & tidy tests
https://github.com/nodejs/node/pull/43784
* src: NodeArrayBufferAllocator delegates to v8's allocator
https://github.com/nodejs/node/pull/43594
* chore: update patch indices
* chore: update filenames
* src: refactor IsSupportedAuthenticatedMode
https://github.com/nodejs/node/pull/42368
* src: add --openssl-legacy-provider option
https://github.com/nodejs/node/pull/40478
* lib,src: add source map support for global eval
https://github.com/nodejs/node/pull/43428
* trace_events: trace net connect event
https://github.com/nodejs/node/pull/43903
* deps: update ICU to 71.1
https://github.com/nodejs/node/pull/42655
This fails the test because it's missing 3841093
* lib: give names to promisified exists() and question()
https://github.com/nodejs/node/pull/43218
* crypto: add CFRG curves to Web Crypto API
https://github.com/nodejs/node/pull/42507
* src: fix memory leak for v8.serialize
https://github.com/nodejs/node/pull/42695
This test does not work for Electron as they do not use V8's
ArrayBufferAllocator.
* buffer: fix atob input validation
https://github.com/nodejs/node/pull/42539
* src: fix ssize_t error from nghttp2.h
https://github.com/nodejs/node/pull/44393
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
33 lines
1.6 KiB
Diff
33 lines
1.6 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: John Kleinschmidt <jkleinsc@electronjs.org>
|
|
Date: Thu, 26 May 2022 17:08:33 -0400
|
|
Subject: JSON.parse errors made user-friendly
|
|
|
|
Update tests for https://chromium-review.googlesource.com/c/v8/v8/+/3513684
|
|
|
|
diff --git a/test/es-module/test-esm-data-urls.js b/test/es-module/test-esm-data-urls.js
|
|
index 5be45d0f7af3b6dd483fe3b185c76e41a1bf533b..c20dd4f9067203bf40d35c92c2ef1bb27ec14b99 100644
|
|
--- a/test/es-module/test-esm-data-urls.js
|
|
+++ b/test/es-module/test-esm-data-urls.js
|
|
@@ -76,7 +76,7 @@ function createBase64URL(mime, body) {
|
|
import('data:application/json;foo="test,",0',
|
|
{ assert: { type: 'json' } }), {
|
|
name: 'SyntaxError',
|
|
- message: /Unexpected end of JSON input/
|
|
+ message: 'data:application/json;foo="test,",0: Unterminated string in JSON at position 3'
|
|
});
|
|
}
|
|
{
|
|
diff --git a/test/es-module/test-esm-invalid-pjson.js b/test/es-module/test-esm-invalid-pjson.js
|
|
index f3a38018637aa349ad79617ab9835e61d7058fe9..bc78b870c84c4baedecdd7ffc1157c86c307cebf 100644
|
|
--- a/test/es-module/test-esm-invalid-pjson.js
|
|
+++ b/test/es-module/test-esm-invalid-pjson.js
|
|
@@ -18,7 +18,7 @@ describe('ESM: Package.json', { concurrency: true }, () => {
|
|
stderr.includes(
|
|
`[ERR_INVALID_PACKAGE_CONFIG]: Invalid package config ${invalidJson} ` +
|
|
`while importing "invalid-pjson" from ${entry}. ` +
|
|
- `Unexpected token } in JSON at position ${12 + checkoutEOL.length * 2}`
|
|
+ `Expected ':' after property name in JSON at position ${12 + checkoutEOL.length * 2}`
|
|
),
|
|
stderr
|
|
);
|