Skip to content

Commit

Permalink
fix!: drop Node.js v14 (#729)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The minimum supported Node.js version is now v16.20.0.

* chore(browserify): force-bump version

The next release should be v17.0.0
  • Loading branch information
boneskull committed Oct 5, 2023
1 parent 3f7c381 commit 10c667b
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
// note that this name is "node" while the plugin is named "n".
// probably for historical reasons, but this may eventually break.
node: {
version: '14.17.0', // should be set to minimum node version supported
version: '16.20.0', // should be set to minimum node version supported
allowModules: ['deep-equal'], // something weird about this dependency
},
react: {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x]
env:
FORCE_COLOR: 1
steps:
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages/aa": "3.1.5",
"packages/allow-scripts": "2.5.1",
"packages/browserify": "15.9.1",
"packages/browserify": "16.0.0",
"packages/core": "14.4.1",
"packages/lavapack": "5.4.1",
"packages/node": "7.3.1",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"typescript": "^5.2.2"
},
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"scripts": {
"build": "npm run --workspaces --if-present build && npm run build:types",
Expand Down
2 changes: 1 addition & 1 deletion packages/aa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"author": "kumavis",
"engines": {
"node": ">=14.0.0"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/allow-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"author": "",
"homepage": "https://github.com/LavaMoat/LavaMoat/tree/main/packages/allow-scripts",
"engines": {
"node": ">=14.0.0"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"ava": {
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/browserify/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "lavamoat-browserify",
"version": "15.9.1",
"version": "16.0.0",
"description": "browserify plugin for sandboxing dependencies with LavaMoat",
"main": "src/index.js",
"directories": {
"lib": "lib",
"test": "test"
},
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"dependencies": {
"@lavamoat/aa": "^3.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"lib": "lib"
},
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"dependencies": {
"json-stable-stringify": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/lavapack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"main": "src/index.js",
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"dependencies": {
"JSONStream": "^1.3.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"homepage": "https://github.com/LavaMoat/lavamoat#readme",
"description": "",
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/perf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"serve": "^14.2.0"
},
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/preinstall-always-fail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"author": "",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/survey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
},
"devDependencies": {},
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/tofu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"homepage": "https://github.com/LavaMoat/LavaMoat/blob/main/packages/tofu/README.md",
"engines": {
"node": ">=14.0.0"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/viz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"lavamoat-viz": "./bin/index.js"
},
"engines": {
"node": ">=14.0.0 <=20.x"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
},
"files": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion packages/yarn-plugin-allow-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
},
"packageManager": "yarn@3.1.1",
"engines": {
"node": ">=14.0.0"
"node": "^16.20.0 || ^18.0.0 || ^20.0.0"
}
}

0 comments on commit 10c667b

Please sign in to comment.