-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Node.js <10.x end of support postinstall script (#3727)
- Loading branch information
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"type": "feature", | ||
"category": "Node.js", | ||
"description": "Add postinstall script warning end-of-support for Node.js <10.x" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
var version = process.version; | ||
|
||
if (version && parseInt(version.substring(1, version.indexOf('.'))) < 10) { | ||
console.warn('The AWS SDK for JavaScript (v2) will no longer support Node.js ' + version | ||
+ '\nas of November 1, 2021. To continue receiving updates to AWS services' | ||
+ '\nand bug fixes please upgrade to Node.js 10.x or later.' | ||
+ '\n\nMore information can be found at: https://a.co/cf10B3y'); | ||
} |
82a02c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"node scripts/check-node-version.js"
this is the line that is causing my pipeline issues. Perhaps this fix is not compatible with nvm.