Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update to cjs-module-lexer@1.1.0 #37712

Closed
wants to merge 2 commits into from

Conversation

guybedford
Copy link
Contributor

This update includes the following new features:

This update is fully backwards compatible with 1.0.0.

Ideally we should aim to backport this change as much as possible to maximise compatibility. Hopefully to Node.js 14 at least, not sure if Node.js 12 will be possible at this point.

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Mar 11, 2021
@guybedford
Copy link
Contributor Author

@nodejs/modules

@richardlau richardlau added lts-watch-v12.x semver-minor PRs that contain new features and should be released in the next minor version. labels Mar 11, 2021
@richardlau
Copy link
Member

Wasn't there a reference the the cjs-module-lexer version in the docs somewhere that needs to be updated?

@guybedford
Copy link
Contributor Author

@richardlau yes there is, thanks for remembering, added.

@aduh95
Copy link
Contributor

aduh95 commented Mar 11, 2021

Should we have a update-cjs-module-lexer.sh script that does that to make sure we don't forget the doc link next time?

@guybedford
Copy link
Contributor Author

@aduh95 I'm open to any tooling here, although in theory this project shouldn't be updated too often due to the risk of compatibility divergence between Node.js versions.

Copy link
Member

@MylesBorins MylesBorins left a comment

Choose a reason for hiding this comment

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

RSLGTM

Copy link
Member

@GeoffreyBooth GeoffreyBooth left a comment

Choose a reason for hiding this comment

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

RSLGTM

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@Trott Trott left a comment

Choose a reason for hiding this comment

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

Rubber-stamp LGTM

@MylesBorins
Copy link
Member

As v12.x is now in maintenance I think the odds of doing a Semver-Minor is quite low. Would you consider this Semver-Minor from a Node.js perspective (adding new features) or Semver-Patch (Fixing broken experience)?

@bmeck
Copy link
Member

bmeck commented Mar 12, 2021

@MylesBorins this is broken experience if you read the changes to the lexer. It is about some babel output etc. not correctly being processed.

@MylesBorins
Copy link
Member

@bmeck with that in mind I think while it was Semver-Minor for the lexer the update should be considered Semver-Patch for Node.js and we should backport and include in the next 12.x maintenance release.

Thoughts folks?

@bmeck
Copy link
Member

bmeck commented Mar 12, 2021

I think especially given #37718 it should be back ported if it isn't a feature addition. Having 14 and 12 go out of sync over this would be very strange to me.

@richardlau
Copy link
Member

As v12.x is now in maintenance I think the odds of doing a Semver-Minor is quite low. Would you consider this Semver-Minor from a Node.js perspective (adding new features) or Semver-Patch (Fixing broken experience)?

We want to put out #37603 in a 12.x release and that's semver-minor. There are also some (3 as of now) open semver-minor v12.x backports: https://github.com/nodejs/node/pulls?q=is%3Apr+is%3Aopen+label%3Av12.x+label%3Asemver-minor
So we are going to do at least one more semver-minor for 12.x, regardless of the semverness of this PR.

guybedford added a commit that referenced this pull request Mar 17, 2021
PR-URL: #37712
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@guybedford
Copy link
Contributor Author

Landed in 10a8dc0.

@guybedford guybedford closed this Mar 17, 2021
@bricss bricss mentioned this pull request Mar 17, 2021
danielleadams pushed a commit that referenced this pull request Mar 17, 2021
PR-URL: #37712
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
danielleadams added a commit that referenced this pull request Mar 17, 2021
PR-URL: #37766

Notable changes:

* crypto:
  * add optional callback to crypto.sign and crypto.verify (Filip Skokan) #37500
  * support JWK objects in create\*Key (Filip Skokan) #37254
* deps:
  * update to cjs-module-lexer@1.1.0 (Guy Bedford) #37712
  * switch openssl to quictls/openssl (James M Snell) #37601
* fs:
  * improve fsPromises writeFile performance (Nitzan Uziely) #37610
  * improve fsPromises readFile performance (Nitzan Uziely) #37608
* lib:
  * implement AbortSignal.abort() (James M Snell) #37693
* node-api:
  * define version 8 (Gabriel Schulhof) #37652
* worker:
  * add setEnvironmentData/getEnvironmentData (James M Snell) #37486
danielleadams added a commit that referenced this pull request Mar 17, 2021
PR-URL: #37766

Notable changes:

* crypto:
  * add optional callback to crypto.sign and crypto.verify (Filip Skokan) #37500
  * support JWK objects in create\*Key (Filip Skokan) #37254
* deps:
  * update to cjs-module-lexer@1.1.0 (Guy Bedford) #37712
  * switch openssl to quictls/openssl (James M Snell) #37601
* fs:
  * improve fsPromises writeFile performance (Nitzan Uziely) #37610
  * improve fsPromises readFile performance (Nitzan Uziely) #37608
* lib:
  * implement AbortSignal.abort() (James M Snell) #37693
* node-api:
  * define version 8 (Gabriel Schulhof) #37652
* worker:
  * add setEnvironmentData/getEnvironmentData (James M Snell) #37486
richardlau pushed a commit that referenced this pull request Mar 17, 2021
PR-URL: #37712
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@richardlau richardlau mentioned this pull request Mar 18, 2021
@danielleadams
Copy link
Member

Removing lts-watch-v14.x since 1.1.1 has already been backported here: #38002

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. semver-minor PRs that contain new features and should be released in the next minor version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet