Skip to content

Commit 7dc0c34

Browse files
committed
Drop support for Node.js < 0.10
1 parent 5aa85a7 commit 7dc0c34

File tree

3 files changed

+7
-26
lines changed

3 files changed

+7
-26
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ on:
66

77
jobs:
88
test:
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
1212
name:
13-
- Node.js 0.6
14-
- Node.js 0.8
1513
- Node.js 0.10
1614
- Node.js 0.12
1715
- io.js 1.x
@@ -33,12 +31,6 @@ jobs:
3331
- Node.js 17.x
3432

3533
include:
36-
- name: Node.js 0.6
37-
node-version: "0.6"
38-
39-
- name: Node.js 0.8
40-
node-version: "0.8"
41-
4234
- name: Node.js 0.10
4335
node-version: "0.10"
4436

@@ -102,23 +94,7 @@ jobs:
10294
- name: Install Node.js ${{ matrix.node-version }}
10395
shell: bash -eo pipefail -l {0}
10496
run: |
105-
if [[ "${{ matrix.node-version }}" == 0.6* ]]; then
106-
sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev
107-
export CC=/usr/bin/gcc-4.8
108-
export CXX=/usr/bin/g++-4.8
109-
fi
11097
nvm install --default ${{ matrix.node-version }}
111-
if [[ "${{ matrix.node-version }}" == 0.* && "$(cut -d. -f2 <<< "${{ matrix.node-version }}")" -lt 10 ]]; then
112-
nvm install --alias=npm 0.10
113-
nvm use ${{ matrix.node-version }}
114-
if [[ "$(npm -v)" == 1.1.* ]]; then
115-
nvm exec npm npm install -g npm@1.1
116-
ln -fs "$(which npm)" "$(dirname "$(nvm which npm)")/npm"
117-
else
118-
sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")"
119-
fi
120-
npm config set strict-ssl false
121-
fi
12298
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
12399
124100
- name: Configure npm

HISTORY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
unreleased
2+
==========
3+
4+
* Drop support for Node.js < 0.10
5+
16
2.3.3 / 2022-03-06
27
==================
38

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"index.js"
3636
],
3737
"engines": {
38-
"node": ">= 0.6"
38+
"node": ">= 0.10"
3939
},
4040
"scripts": {
4141
"bench": "node benchmark/index.js",

0 commit comments

Comments
 (0)