Skip to content

Commit

Permalink
fix: dropped Node 6/8
Browse files Browse the repository at this point in the history
refs 80206

- updated engines keyword for public facing packages
- have not added the engines keyword to our internal packages
- customers won't be able to install v2 if they have enabled engine strict flag and use Node < 10

BREAKING CHANGE: v2 has dropped support for Node 6/8.
  • Loading branch information
kirrg001 authored and kirrg001 committed Apr 4, 2022
1 parent 2e885d6 commit 0e6fd0e
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/autoprofile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@
"node-gyp-fallback.js",
"CHANGELOG.md"
],
"engines": {
"node": ">=6.4.0"
},
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-fargate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
"no-code2": "2.0.0"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.4.0"
}
}
3 changes: 3 additions & 0 deletions packages/aws-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
"sensor",
"tracing"
],
"engines": {
"node": ">=10.4.0"
},
"contributors": [
{
"name": "Bastian Krol",
Expand Down
3 changes: 3 additions & 0 deletions packages/collector/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"type": "git",
"url": "git+https://github.com/instana/nodejs.git"
},
"engines": {
"node": ">=10.4.0"
},
"scripts": {
"audit": "bin/prepare-audit.sh && npm audit --production; AUDIT_RESULT=$?; git checkout package-lock.json; exit $AUDIT_RESULT",
"test": "NODE_ENV=debug USE_OPENTRACING_DEBUG_IMPL=true mocha --sort --config=test/.mocharc.json test/globalHooks_test.js $(find test -iname '*test.js' -not -path '*node_modules*')",
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@
"no-code2": "2.0.0"
},
"engines": {
"node": ">=8.6.0"
"node": ">=10.4.0"
}
}
3 changes: 3 additions & 0 deletions packages/opentelemetry-exporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"src",
"CHANGELOG.md"
],
"engines": {
"node": ">=10.4.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/instana/nodejs.git"
Expand Down

0 comments on commit 0e6fd0e

Please sign in to comment.