Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/scripts/clone-parallel.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import { dirname, join } from "node:path";

// Submodule commit SHAs - updated automatically by .github/workflows/update_submodules.yml
// NOTE: Prettier version is now pinned to `v3.8.0` (not updated by workflow above), Update manually as needed
const TEST262_SHA = "dd6138f9bc1aa2c3ba9cbf54452049b9a92c4e13";
const BABEL_SHA = "92c052dc449eeb7d9562d5852d1ea295d6c86eca";
const TYPESCRIPT_SHA = "95e3aaa90341b516e868bf2300b1da5d07103f1e";
const TEST262_SHA = "3180f5a9f68a9e22b68ab8572d4465846e872709";
const BABEL_SHA = "ad32683b51cf77ff5271c1a0fbe9c3541183dc45";
const TYPESCRIPT_SHA = "ad04bf7488384a5dcdf7d250ccb8e5263021a8ff";
const PRETTIER_SHA = "812a4d0071270f61a7aa549d625b618be7e09d71";
const ESTREE_CONFORMANCE_SHA = "32501475c99fc022a93c80bc6ce1a607f21ecc66";
const ESTREE_CONFORMANCE_SHA = "a53e1b22356aae3c859753ea249390deee9f015e";
const NODE_COMPAT_TABLE_SHA = "499beb6f1daa36f10c26b85a7f3ec3b3448ded23";

const repoRoot = join(import.meta.dirname, "..", "..");
Expand Down
8 changes: 7 additions & 1 deletion napi/parser/test/parse-raw.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,13 @@ const test262FixturePaths = [];
for (let path of await readdir(ACORN_TEST262_DIR_PATH, { recursive: true })) {
if (!path.endsWith(".json")) continue;
path = path.slice(0, -2);
if (test262FailPaths.has(path) || path.startsWith("language/comments/hashbang/")) continue;
if (
test262FailPaths.has(path) ||
path.startsWith("language/comments/hashbang/") ||
path.includes("annexB/language/expressions/assignmenttargettype")
) {
continue;
}
test262FixturePaths.push(path);
}

Expand Down
2 changes: 1 addition & 1 deletion tasks/coverage/snapshots/codegen_babel.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commit: 92c052dc
commit: ad32683b

codegen_babel Summary:
AST Parsed : 2224/2224 (100.00%)
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/codegen_test262.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: dd6138f9
commit: 3180f5a9

codegen_test262 Summary:
AST Parsed : 46746/46746 (100.00%)
Positive Passed: 46746/46746 (100.00%)
AST Parsed : 46777/46777 (100.00%)
Positive Passed: 46777/46777 (100.00%)
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/codegen_typescript.snap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
commit: 95e3aaa9
commit: ad04bf74

codegen_typescript Summary:
AST Parsed : 9840/9840 (100.00%)
Positive Passed: 9840/9840 (100.00%)
AST Parsed : 9834/9834 (100.00%)
Positive Passed: 9834/9834 (100.00%)
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/estree_test262.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: dd6138f9
commit: 3180f5a9

estree_test262 Summary:
AST Parsed : 46490/46490 (100.00%)
Positive Passed: 46481/46490 (99.98%)
AST Parsed : 46521/46521 (100.00%)
Positive Passed: 46512/46521 (99.98%)
Mismatch: tasks/coverage/test262/test/language/expressions/assignment/fn-name-lhs-cover.js

Mismatch: tasks/coverage/test262/test/language/expressions/assignment/target-cover-id.js
Expand Down
16 changes: 13 additions & 3 deletions tasks/coverage/snapshots/estree_typescript.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
commit: 95e3aaa9
commit: ad04bf74

estree_typescript Summary:
AST Parsed : 9773/9773 (100.00%)
Positive Passed: 9755/9773 (99.82%)
AST Parsed : 9761/9761 (100.00%)
Positive Passed: 9738/9761 (99.76%)
Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/ambientWithStatements.ts
A 'return' statement can only be used within a function body.
Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/constDeclarations-invalidContexts.ts
Lexical declaration cannot appear in a single-statement context
Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/constDeclarations-scopes.ts
Lexical declaration cannot appear in a single-statement context
Expect to Parse: tasks/coverage/typescript/tests/cases/compiler/constDeclarations-validContexts.ts
Lexical declaration cannot appear in a single-statement context
Mismatch: tasks/coverage/typescript/tests/cases/compiler/moduleDetectionIsolatedModulesCjsFileScope.ts

Mismatch: tasks/coverage/typescript/tests/cases/compiler/moduleNodeImportRequireEmit.ts
Expand Down Expand Up @@ -39,3 +47,5 @@ Mismatch: tasks/coverage/typescript/tests/cases/conformance/node/esmModuleExport

Mismatch: tasks/coverage/typescript/tests/cases/conformance/nonjsExtensions/declarationFilesForNodeNativeModules.ts

Expect to Parse: tasks/coverage/typescript/tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserStatementIsNotAMemberVariableDeclaration1.ts
A 'return' statement can only be used within a function body.
2 changes: 1 addition & 1 deletion tasks/coverage/snapshots/formatter_babel.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commit: 92c052dc
commit: ad32683b

formatter_babel Summary:
AST Parsed : 2224/2224 (100.00%)
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/formatter_test262.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: dd6138f9
commit: 3180f5a9

formatter_test262 Summary:
AST Parsed : 46746/46746 (100.00%)
Positive Passed: 46737/46746 (99.98%)
AST Parsed : 46777/46777 (100.00%)
Positive Passed: 46768/46777 (99.98%)
Mismatch: tasks/coverage/test262/test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR-LF.js

Mismatch: tasks/coverage/test262/test/built-ins/Function/prototype/toString/line-terminator-normalisation-CR.js
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/formatter_typescript.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: 95e3aaa9
commit: ad04bf74

formatter_typescript Summary:
AST Parsed : 9840/9840 (100.00%)
Positive Passed: 9788/9840 (99.47%)
AST Parsed : 9834/9834 (100.00%)
Positive Passed: 9782/9834 (99.47%)
Mismatch: tasks/coverage/typescript/tests/cases/compiler/amdLikeInputDeclarationEmit.ts

Mismatch: tasks/coverage/typescript/tests/cases/compiler/castExpressionParentheses.ts
Expand Down
2 changes: 1 addition & 1 deletion tasks/coverage/snapshots/minifier_babel.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commit: 92c052dc
commit: ad32683b

minifier_babel Summary:
AST Parsed : 1783/1783 (100.00%)
Expand Down
6 changes: 3 additions & 3 deletions tasks/coverage/snapshots/minifier_test262.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: dd6138f9
commit: 3180f5a9

minifier_test262 Summary:
AST Parsed : 44335/44335 (100.00%)
Positive Passed: 44328/44335 (99.98%)
AST Parsed : 44366/44366 (100.00%)
Positive Passed: 44359/44366 (99.98%)
Compress: tasks/coverage/test262/test/intl402/Temporal/PlainDate/prototype/toLocaleString/lone-options-accepted.js

Compress: tasks/coverage/test262/test/intl402/Temporal/PlainMonthDay/prototype/toLocaleString/lone-options-accepted.js
Expand Down
2 changes: 1 addition & 1 deletion tasks/coverage/snapshots/parser_babel.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
commit: 92c052dc
commit: ad32683b

parser_babel Summary:
AST Parsed : 2224/2224 (100.00%)
Expand Down
20 changes: 9 additions & 11 deletions tasks/coverage/snapshots/parser_test262.snap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
commit: dd6138f9
commit: 3180f5a9

parser_test262 Summary:
AST Parsed : 46746/46746 (100.00%)
Positive Passed: 46746/46746 (100.00%)
AST Parsed : 46777/46777 (100.00%)
Positive Passed: 46777/46777 (100.00%)
Negative Passed: 4588/4588 (100.00%)

× '0'-prefixed octal literals and octal escape sequences are deprecated
Expand Down Expand Up @@ -26679,13 +26679,12 @@ Negative Passed: 4588/4588 (100.00%)
╰────

× Identifier `f` has already been declared
╭─[test262/test/language/statements/await-using/redeclaration-error-from-within-strict-mode-function-await-using.js:15:49]
14 │ $DONOTEVALUATE();
15 │ (async function() { 'use strict'; { await using f = null; var f; } })
╭─[test262/test/language/statements/await-using/redeclaration-error-from-within-strict-mode-function-await-using.js:16:49]
15 │ $DONOTEVALUATE();
16 │ (async function() { 'use strict'; { await using f = null; var f; } })
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `f` has already been declared here
16 │
╰────

× Using declarations may not have binding patterns.
Expand Down Expand Up @@ -39328,13 +39327,12 @@ Negative Passed: 4588/4588 (100.00%)
╰────

× Identifier `f` has already been declared
╭─[test262/test/language/statements/using/redeclaration-error-from-within-strict-mode-function-using.js:15:37]
14 │ $DONOTEVALUATE();
15 │ (function() { 'use strict'; { using f = null; var f; } })
╭─[test262/test/language/statements/using/redeclaration-error-from-within-strict-mode-function-using.js:16:37]
15 │ $DONOTEVALUATE();
16 │ (function() { 'use strict'; { using f = null; var f; } })
· ┬ ┬
· │ ╰── It can not be redeclared here
· ╰── `f` has already been declared here
16 │
╰────

× Cannot use `await` as an identifier in an async context
Expand Down
Loading
Loading