Skip to content

Conversation

@RaisinTen
Copy link
Member

Fixes: #41816
Signed-off-by: Darshan Sen [email protected]

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/startup

@aduh95
Copy link
Contributor

I think if a user use --experimental-fetch, they do want the global fetch. If #41811 lands, then it would make sense to make the default value of --experimental-fetch equal to no_browser_globals, but until then I don't think we should restrict it more.

@targos
Copy link
Member

@aduh95 I think no_browser_globals is here because there were issues with Electron and globals that exist both in Node.js and Chromium. If a user has --experimental-fetch in their NODE_OPTIONS, it could still be a problem.

@aduh95
Copy link
Contributor

If we're doing this, the same check should be added for

functionsetupWebCrypto(){
if(!getOptionValue('--experimental-global-webcrypto')){
return;
}

@panvapanva added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 14, 2022
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 14, 2022
@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@RaisinTenRaisinTen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 15, 2022
@MesteeryMesteery added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 16, 2022
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 16, 2022
@nodejs-github-botnodejs-github-bot merged commit a82c1a1 into nodejs:masterFeb 16, 2022
@nodejs-github-bot
Copy link
Collaborator

Landed in a82c1a1

@RaisinTenRaisinTen deleted the lib/stop-installing-fetch-if-no_browser_globals-is-true branch February 17, 2022 04:49
nodejs-github-bot pushed a commit that referenced this pull request Feb 17, 2022
Refs: #41969 (comment) PR-URL: #41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
bengl pushed a commit to bengl/node that referenced this pull request Feb 21, 2022
Fixes: nodejs#41816 Signed-off-by: Darshan Sen <[email protected]> PR-URL: nodejs#41969 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
bengl pushed a commit to bengl/node that referenced this pull request Feb 21, 2022
Refs: nodejs#41969 (comment) PR-URL: nodejs#41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
bengl pushed a commit to bengl/node that referenced this pull request Feb 21, 2022
Fixes: nodejs#41816 Signed-off-by: Darshan Sen <[email protected]> PR-URL: nodejs#41969 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
bengl pushed a commit that referenced this pull request Feb 21, 2022
Fixes: #41816 Signed-off-by: Darshan Sen <[email protected]> PR-URL: #41969 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
bengl pushed a commit that referenced this pull request Feb 21, 2022
Refs: #41969 (comment) PR-URL: #41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
@benglbengl mentioned this pull request Feb 21, 2022
bengl pushed a commit that referenced this pull request Feb 21, 2022
Fixes: #41816 Signed-off-by: Darshan Sen <[email protected]> PR-URL: #41969 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
bengl pushed a commit that referenced this pull request Feb 21, 2022
Refs: #41969 (comment) PR-URL: #41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
bengl pushed a commit that referenced this pull request Feb 22, 2022
Fixes: #41816 Signed-off-by: Darshan Sen <[email protected]> PR-URL: #41969 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
bengl pushed a commit that referenced this pull request Feb 22, 2022
Refs: #41969 (comment) PR-URL: #41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
@danielleadams

This comment was marked as resolved.

@aduh95
Copy link
Contributor

no_browser_globals is not available on v16.x because #40532 never landed there.

danielleadams pushed a commit that referenced this pull request Apr 21, 2022
Refs: #41969 (comment) PR-URL: #41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
danielleadams pushed a commit that referenced this pull request Apr 24, 2022
Refs: #41969 (comment) PR-URL: #41971 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Nitzan Uziely <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
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.needs-ciPRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fetch should not be installed if no_browser_globals==true

10 participants

@RaisinTen@nodejs-github-bot@aduh95@targos@danielleadams@panva@Linkgoron@benjamingr@lpinca@Mesteery