Skip to content

Commit

Permalink
chore: 🔒 amqplib will use the security patched version of urlpar… (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
suhail-n authored Mar 20, 2022
1 parent ee3fadd commit b4943cd
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 30 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,34 @@ name: Node.js CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
build:

runs-on: ubuntu-latest
services:
rabbitmq:
image: rabbitmq
ports:
- 5672:5672

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

# Install all prerequisites
- run: npm ci

# Need RabbitMQ to test against
- name: Install rabbitmq
run: |
sudo apt-get install rabbitmq-server -y --fix-missing
# Run the tests
- run: make test
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

# Install all prerequisites
- run: npm ci

# Run the tests
- run: make test
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"name": "amqplib",
"homepage": "http://squaremo.github.io/amqp.node/",
Expand All @@ -17,7 +16,7 @@
"bluebird": "^3.7.2",
"buffer-more-ints": "~1.0.0",
"readable-stream": "1.x >=1.1.9",
"url-parse": "~1.5.3"
"url-parse": "~1.5.10"
},
"devDependencies": {
"claire": "0.4.1",
Expand All @@ -36,4 +35,4 @@
],
"author": "Michael Bridgen <mikeb@squaremobius.net>",
"license": "MIT"
}
}

0 comments on commit b4943cd

Please sign in to comment.