Skip to content

Conversation

@Mesteery
Copy link
Contributor

Use ERR_ILLEGAL_CONSTRUCTOR error instead of illegal constructor or
Illegal constructor TypeError.

@nodejs-github-bot nodejs-github-bot added lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Jul 28, 2021
@Mesteery Mesteery force-pushed the illegal-constructor-error branch from 20a7f1a to 55bf4af Compare July 28, 2021 07:54
Copy link
Member

@targos targos left a comment

Choose a reason for hiding this comment

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

LGTM, but can you try to keep the alphabetical order when destructuring ERR_ILLEGAL_CONSTRUCTOR ?

Use ERR_ILLEGAL_CONSTRUCTOR error instead of `illegal constructor` or
`Illegal constructor` TypeError.
@Mesteery Mesteery force-pushed the illegal-constructor-error branch from 55bf4af to 5fcc26c Compare July 28, 2021 08:06
@aduh95
Copy link
Contributor

aduh95 commented Jul 28, 2021

Adding dont-land-on-v12.x label as I believe all of these APIs are v14+ only. What should be the semverness of this kind of change?

@targos
Copy link
Member

targos commented Jul 28, 2021

What should be the semverness of this kind of change?

I'd say patch. The only place which had another code before this change is CryptoKey and that is still an experimental API.

@nodejs-github-bot

This comment has been minimized.

@RaisinTen RaisinTen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 31, 2021
@nodejs-github-bot
Copy link
Collaborator

@targos targos added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 1, 2021
@github-actions github-actions bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 1, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Aug 1, 2021

Landed in 7db86e7...2913211

@github-actions github-actions bot closed this Aug 1, 2021
nodejs-github-bot pushed a commit that referenced this pull request Aug 1, 2021
Use ERR_ILLEGAL_CONSTRUCTOR error instead of `illegal constructor` or
`Illegal constructor` TypeError.

PR-URL: #39556
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
@Mesteery Mesteery deleted the illegal-constructor-error branch August 1, 2021 14:25
danielleadams pushed a commit that referenced this pull request Aug 16, 2021
Use ERR_ILLEGAL_CONSTRUCTOR error instead of `illegal constructor` or
`Illegal constructor` TypeError.

PR-URL: #39556
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Darshan Sen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants