Skip to content

Commit

Permalink
fix: drop support for node < v14.18.0 due to formidable node:fs scope…
Browse files Browse the repository at this point in the history
… import statement (per #1800)
  • Loading branch information
titanism committed Apr 23, 2024
1 parent 03de30c commit 23fe5ab
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 27 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ jobs:
strategy:
matrix:
include:
- node-version: 10.x
test-on-old-node: 1
- node-version: 12.x
test-on-old-node: 1
# test-on-brower: 1
- node-version: 14.x
- node-version: 16.x
- node-version: 18.x
Expand All @@ -37,17 +32,8 @@ jobs:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies On Old Node ${{ matrix.node-version }}
if: ${{ matrix.test-on-old-node == '1' }}
run: node ci/remove-deps-4-old-node.js && yarn install --ignore-scripts
- name: Install Dependencies On Node ${{ matrix.node-version }}
if: ${{ matrix.test-on-old-node != '1' }}
run: yarn install
- name: Build
run: npm run build
- name: Build On Old Node
if: ${{ matrix.test-on-old-node == '1' }}
run: npm run build:test
- name: Test On Node ${{ matrix.node-version }}
env:
BROWSER: ${{ matrix.test-on-brower }}
Expand Down
2 changes: 1 addition & 1 deletion .lib.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["@babel/env", {
"targets": {
"node": "6.4.0",
"node": "14.18.0",
"browsers": [ "defaults, not ie 11" ]
}
}]
Expand Down
2 changes: 1 addition & 1 deletion .test.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["@babel/env", {
"targets": {
"node": "6.4.0",
"node": "14.18.0",
"browsers": [ "defaults, not ie 11" ]
}
}]
Expand Down
9 changes: 0 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,9 @@ node_js:
- '18'
- '16'
- '14'
- '12'
after_success: npm run coverage

env:
global:
- SAUCE_USERNAME='shtylman-superagent'
- SAUCE_ACCESS_KEY='39a45464-cb1d-4b8d-aa1f-83c7c04fa673'

matrix:
include:
- node_js: "10"
env: BROWSER=1
include:
- node_js: "12"
env: HTTP2_TEST=1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ If you are using [browserify][], [webpack][], [rollup][], or another bundler, th

## Supported Platforms

* Node: v6.x+
* Node: v14.18.0+
* Browsers (see [.browserslistrc](.browserslistrc)):

```sh
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"zuul": "^3.12.0"
},
"engines": {
"node": ">=6.4.0 <13 || >=14"
"node": ">=14.18.0"
},
"files": [
"dist/*.js",
Expand Down

0 comments on commit 23fe5ab

Please sign in to comment.