From 7af808c3b45a882878e92ffbfc4848b4f536e775 Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Tue, 25 Nov 2025 18:08:43 +0100 Subject: [PATCH 1/2] deps: use tilde notation and update certain dependencies --- HISTORY.md | 7 +++++++ package.json | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 07ee6b4..ab2b18d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,10 @@ +unreleased +=================== + +* deps: use tilde notation for dependencies +* deps: http-errors@~2.0.1 +* deps: statuses@~2.0.2 + 0.19.1 / 2024-10-09 =================== diff --git a/package.json b/package.json index acd3fa1..7de92be 100644 --- a/package.json +++ b/package.json @@ -22,13 +22,13 @@ "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "2.0.0", + "fresh": "~0.5.2", + "http-errors": "~2.0.1", "mime": "1.6.0", "ms": "2.1.3", - "on-finished": "2.4.1", + "on-finished": "~2.4.1", "range-parser": "~1.2.1", - "statuses": "2.0.1" + "statuses": "~2.0.2" }, "devDependencies": { "after": "0.8.2", From 9427719372fd8c13dd37712cb7d1c6a52206f09a Mon Sep 17 00:00:00 2001 From: Phillip Barta Date: Tue, 25 Nov 2025 18:11:52 +0100 Subject: [PATCH 2/2] ci: restore ci --- .github/workflows/ci.yml | 47 ++++++++++++++++++++++++++++++++++------ .npmrc | 1 + 2 files changed, 41 insertions(+), 7 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c5b941..ddd6306 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: name: - Node.js 0.8 @@ -30,6 +31,14 @@ jobs: - Node.js 15.x - Node.js 16.x - Node.js 17.x + - Node.js 18.x + - Node.js 19.x + - Node.js 20.x + - Node.js 21.x + - Node.js 22.x + - Node.js 23.x + - Node.js 24.x + - Node.js 25.x include: - name: Node.js 0.8 @@ -75,37 +84,64 @@ jobs: - name: Node.js 8.x node-version: "8.16" - npm-i: mocha@7.2.0 + npm-i: mocha@7.2.0 nyc@14.1.1 supertest@6.1.6 - name: Node.js 9.x node-version: "9.11" - npm-i: mocha@7.2.0 + npm-i: mocha@7.2.0 nyc@14.1.1 supertest@6.1.6 - name: Node.js 10.x node-version: "10.24" - npm-i: mocha@8.4.0 + npm-i: mocha@8.4.0 supertest@6.1.6 - name: Node.js 11.x node-version: "11.15" - npm-i: mocha@8.4.0 + npm-i: mocha@8.4.0 supertest@6.1.6 - name: Node.js 12.x node-version: "12.22" + npm-i: supertest@6.1.6 - name: Node.js 13.x node-version: "13.14" + npm-i: supertest@6.1.6 - name: Node.js 14.x node-version: "14.19" - name: Node.js 15.x node-version: "15.14" + npm-i: supertest@6.1.6 - name: Node.js 16.x node-version: "16.14" - name: Node.js 17.x node-version: "17.7" + + - name: Node.js 18.x + node-version: 18 + + - name: Node.js 19.x + node-version: 19 + + - name: Node.js 20.x + node-version: 20 + + - name: Node.js 21.x + node-version: 21 + + - name: Node.js 22.x + node-version: 22 + + - name: Node.js 23.x + node-version: 23 + + - name: Node.js 24.x + node-version: 24 + + - name: Node.js 25.x + node-version: 25 steps: - uses: actions/checkout@v2 @@ -122,9 +158,6 @@ jobs: fi dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH" - - name: Configure npm - run: npm config set shrinkwrap false - - name: Remove npm module(s) ${{ matrix.npm-rm }} run: npm rm --silent --save-dev ${{ matrix.npm-rm }} if: matrix.npm-rm != '' diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..9cf9495 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +package-lock=false \ No newline at end of file