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
chore: drop Node6 support #4654
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
"main": "index.js", | ||
"repository": "github:GoogleChrome/puppeteer", | ||
"engines": { | ||
"node": ">=6.4.0" | ||
"node": ">=8.9.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As a practical concern, is there anything from 7 that would break us? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure. I picked 8 here since it's an LTS release with a clear lifetime. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok. Turns out this only produces a warning. |
||
}, | ||
"puppeteer": { | ||
"chromium_revision": "673587" | ||
|
@@ -15,14 +15,11 @@ | |
"funit": "BROWSER=firefox node test/test.js", | ||
"debug-unit": "node --inspect-brk test/test.js", | ||
"test-doclint": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js", | ||
"test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-node6-transformer && npm run test-types", | ||
"test": "npm run lint --silent && npm run coverage && npm run test-doclint && npm run test-types", | ||
"install": "node install.js", | ||
"lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe . || eslint .) && npm run tsc && npm run doc", | ||
"doc": "node utils/doclint/cli.js", | ||
"coverage": "cross-env COVERAGE=true npm run unit", | ||
"test-node6-transformer": "node utils/node6-transform/test/test.js", | ||
"build": "node utils/node6-transform/index.js && node utils/doclint/generate_types", | ||
"unit-node6": "node node6/test/test.js", | ||
"tsc": "tsc -p .", | ||
"prepublishOnly": "npm run build", | ||
"apply-next-version": "node utils/apply_next_version.js", | ||
|
@@ -63,7 +60,6 @@ | |
}, | ||
"browser": { | ||
"./lib/BrowserFetcher.js": false, | ||
"./node6/lib/Puppeteer": false, | ||
"ws": "./utils/browser/WebSocket", | ||
"fs": false, | ||
"child_process": false, | ||
|
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.
Let's codify the supported Node.js versions over time as well. We could say something like: