Skip to content

Commit b4943cd

Browse files
authoredMar 20, 2022
chore: 🔒 amqplib will use the security patched version of urlpar… (#675)
1 parent ee3fadd commit b4943cd

File tree

3 files changed

+28
-30
lines changed

3 files changed

+28
-30
lines changed
 

‎.github/workflows/test.yml

+19-20
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,34 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [main]
99
pull_request:
10-
branches: [ main ]
10+
branches: [main]
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
15+
services:
16+
rabbitmq:
17+
image: rabbitmq
18+
ports:
19+
- 5672:5672
1620

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

2226
steps:
23-
- uses: actions/checkout@v2
24-
- name: Use Node.js ${{ matrix.node-version }}
25-
uses: actions/setup-node@v2
26-
with:
27-
node-version: ${{ matrix.node-version }}
28-
cache: 'npm'
29-
30-
# Install all prerequisites
31-
- run: npm ci
32-
33-
# Need RabbitMQ to test against
34-
- name: Install rabbitmq
35-
run: |
36-
sudo apt-get install rabbitmq-server -y --fix-missing
37-
38-
# Run the tests
39-
- run: make test
27+
- uses: actions/checkout@v2
28+
- name: Use Node.js ${{ matrix.node-version }}
29+
uses: actions/setup-node@v2
30+
with:
31+
node-version: ${{ matrix.node-version }}
32+
cache: "npm"
33+
34+
# Install all prerequisites
35+
- run: npm ci
36+
37+
# Run the tests
38+
- run: make test

‎package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
{
32
"name": "amqplib",
43
"homepage": "http://squaremo.github.io/amqp.node/",
@@ -17,7 +16,7 @@
1716
"bluebird": "^3.7.2",
1817
"buffer-more-ints": "~1.0.0",
1918
"readable-stream": "1.x >=1.1.9",
20-
"url-parse": "~1.5.3"
19+
"url-parse": "~1.5.10"
2120
},
2221
"devDependencies": {
2322
"claire": "0.4.1",
@@ -36,4 +35,4 @@
3635
],
3736
"author": "Michael Bridgen <mikeb@squaremobius.net>",
3837
"license": "MIT"
39-
}
38+
}

0 commit comments

Comments
 (0)
Please sign in to comment.