Skip to content

Commit

Permalink
deps: improve package dependencies using caret (^)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohansebas committed Jan 16, 2025
1 parent 82c9cb5 commit e5e4e59
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ jobs:
nvm install --alias=npm 0.10
nvm use ${{ matrix.node-version }}
sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")"
npm config set strict-ssl false
npm install --global --prefix "$(which node)/../.." npm@2
sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")"
fi
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,26 @@
"repository": "expressjs/compression",
"keywords": ["compression", "gzip", "deflate", "middleware", "express", "brotli", "http", "stream"],
"dependencies": {
"bytes": "3.1.2",
"compressible": "~2.0.18",
"debug": "2.6.9",
"negotiator": "~0.6.4",
"on-headers": "~1.0.2",
"safe-buffer": "5.2.1",
"vary": "~1.1.2"
"bytes": "^3.1.2",
"compressible": "^2.0.18",
"debug": "^2.6.9",
"negotiator": "^0.6.4",
"on-headers": "^1.0.2",
"safe-buffer": "^5.2.1",
"vary": "^1.1.2"
},
"devDependencies": {
"after": "0.8.2",
"eslint": "7.32.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-markdown": "2.2.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.2.0",
"eslint-plugin-standard": "4.1.0",
"mocha": "9.2.2",
"nyc": "15.1.0",
"supertest": "6.2.3"
"after": "^0.8.2",
"eslint": "^7.32.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-markdown": "^2.2.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-standard": "^4.1.0",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"supertest": "^6.2.3"
},
"files": [
"LICENSE",
Expand Down

0 comments on commit e5e4e59

Please sign in to comment.