Skip to content

Conversation

@anonrig
Copy link
Member

Fixes#50878.

Thanks @joyeecheung for the tip on temporarily disable abort_on_uncaught_exception while checking for modules.

cc @nodejs/loaders @nodejs/cpp-reviewers

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem. labels Dec 1, 2023
@anonriganonrigforce-pushed the fix-contains-module-syntax branch 4 times, most recently from 7e81ca2 to 080b5c9CompareDecember 1, 2023 01:25
@anonriganonrigforce-pushed the fix-contains-module-syntax branch from 080b5c9 to 43020e5CompareDecember 1, 2023 01:28
@anonriganonrig added request-ci Add this label to start a Jenkins CI on a PR. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Dec 1, 2023
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 1, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@joyeecheung
Copy link
Member

The commit message is not quite accurate, it should be something like "disable uncaught exception abortion for ESM syntax detection"

@anonriganonrigforce-pushed the fix-contains-module-syntax branch from 43020e5 to ae34969CompareDecember 2, 2023 22:49
@anonriganonrig added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 2, 2023
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 2, 2023
@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@targostargos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want at least an answer on #50987 (comment)

@anonriganonrigforce-pushed the fix-contains-module-syntax branch from ae34969 to 86d275aCompareDecember 3, 2023 15:04
@anonrig
Copy link
MemberAuthor

I want at least an answer on #50987 (comment)

Sorry @targos. I missed your comment! It seems your suggestion is better. I applied the proposed changes.

@anonriganonrig added the request-ci Add this label to start a Jenkins CI on a PR. label Dec 3, 2023
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Dec 3, 2023
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@anonriganonrig added the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 3, 2023
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Dec 3, 2023
@nodejs-github-botnodejs-github-bot merged commit 951d00d into nodejs:mainDec 3, 2023
@nodejs-github-bot
Copy link
Collaborator

Landed in 951d00d

targos pushed a commit that referenced this pull request Dec 4, 2023
PR-URL: #50987 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
@targostargos mentioned this pull request Dec 4, 2023
Mateusz-Kopec pushed a commit to Mateusz-Kopec/node that referenced this pull request Mar 6, 2024
PR-URL: nodejs#50987 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
Mateusz-Kopec pushed a commit to Mateusz-Kopec/node that referenced this pull request Mar 6, 2024
PR-URL: nodejs#50987 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jacob Smith <[email protected]> Backport-PR-URL: nodejs#51989
@anonriganonrig added lts-watch-v18.x lts-watch-v20.x PRs that may need to be released in v20.x labels Mar 6, 2024
richardlau pushed a commit that referenced this pull request Mar 25, 2024
PR-URL: #50987 Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jacob Smith <[email protected]>
@richardlaurichardlau mentioned this pull request Mar 25, 2024
@targostargos removed the lts-watch-v20.x PRs that may need to be released in v20.x label Sep 30, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.needs-ciPRs that need a full CI run.vmIssues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] --abort-on-uncaught-exception causes containsModuleSyntax to improperly throw Uncaught SyntaxError: Cannot use import statement outside a module

7 participants

@anonrig@nodejs-github-bot@joyeecheung@GeoffreyBooth@targos@JakobJingleheimer@aduh95