Skip to content

Commit 23fe5ab

Browse files
committedApr 23, 2024
fix: drop support for node < v14.18.0 due to formidable node:fs scope import statement (per #1800)
1 parent 03de30c commit 23fe5ab

File tree

6 files changed

+4
-27
lines changed

6 files changed

+4
-27
lines changed
 

‎.github/workflows/ci.yml

-14
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- node-version: 10.x
18-
test-on-old-node: 1
19-
- node-version: 12.x
20-
test-on-old-node: 1
21-
# test-on-brower: 1
2217
- node-version: 14.x
2318
- node-version: 16.x
2419
- node-version: 18.x
@@ -37,17 +32,8 @@ jobs:
3732
# npm cache files are stored in `~/.npm` on Linux/macOS
3833
path: ~/.npm
3934
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
40-
- name: Install Dependencies On Old Node ${{ matrix.node-version }}
41-
if: ${{ matrix.test-on-old-node == '1' }}
42-
run: node ci/remove-deps-4-old-node.js && yarn install --ignore-scripts
43-
- name: Install Dependencies On Node ${{ matrix.node-version }}
44-
if: ${{ matrix.test-on-old-node != '1' }}
45-
run: yarn install
4635
- name: Build
4736
run: npm run build
48-
- name: Build On Old Node
49-
if: ${{ matrix.test-on-old-node == '1' }}
50-
run: npm run build:test
5137
- name: Test On Node ${{ matrix.node-version }}
5238
env:
5339
BROWSER: ${{ matrix.test-on-brower }}

‎.lib.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"presets": [
33
["@babel/env", {
44
"targets": {
5-
"node": "6.4.0",
5+
"node": "14.18.0",
66
"browsers": [ "defaults, not ie 11" ]
77
}
88
}]

‎.test.babelrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"presets": [
33
["@babel/env", {
44
"targets": {
5-
"node": "6.4.0",
5+
"node": "14.18.0",
66
"browsers": [ "defaults, not ie 11" ]
77
}
88
}]

‎.travis.yml

-9
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,9 @@ node_js:
44
- '18'
55
- '16'
66
- '14'
7-
- '12'
87
after_success: npm run coverage
98

109
env:
1110
global:
1211
- SAUCE_USERNAME='shtylman-superagent'
1312
- SAUCE_ACCESS_KEY='39a45464-cb1d-4b8d-aa1f-83c7c04fa673'
14-
15-
matrix:
16-
include:
17-
- node_js: "10"
18-
env: BROWSER=1
19-
include:
20-
- node_js: "12"
21-
env: HTTP2_TEST=1

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ If you are using [browserify][], [webpack][], [rollup][], or another bundler, th
112112

113113
## Supported Platforms
114114

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

118118
```sh

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"zuul": "^3.12.0"
7070
},
7171
"engines": {
72-
"node": ">=6.4.0 <13 || >=14"
72+
"node": ">=14.18.0"
7373
},
7474
"files": [
7575
"dist/*.js",

0 commit comments

Comments
 (0)
Please sign in to comment.