Skip to content

Commit d0662a6

Browse files
authored
Merge pull request #30 from elasticio/add-npm-audit
Add npm audit
2 parents 25ca878 + f982500 commit d0662a6

File tree

3 files changed

+25
-26
lines changed

3 files changed

+25
-26
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs: # a collection of steps
33
build: # runs not using Workflows must have a `build` job as entry point
44
working_directory: ~/elasticio-rest-node # directory where steps will run
55
docker: # run the steps with Docker
6-
- image: circleci/node:10.15 # ...with this image as the primary container; this is where all `steps` will run
6+
- image: circleci/node:12 # ...with this image as the primary container; this is where all `steps` will run
77
steps: # a collection of executable commands
88
- checkout # special step to check out source code to working directory
99
- run:
@@ -19,6 +19,9 @@ jobs: # a collection of steps
1919
key: dependency-cache-{{ checksum "package-lock.json" }}
2020
paths:
2121
- ./node_modules
22+
- run:
23+
name: "Running audit"
24+
command: npm audit --production --audit-level=high
2225
- run: # run tests
2326
name: test
2427
command: npm test

package-lock.json

Lines changed: 18 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "elasticio-rest-node",
33
"description": "elastic.io REST API client",
4-
"version": "1.2.6",
4+
"version": "1.2.7",
55
"author": "elastic.io GmbH <[email protected]>",
66
"engines": {
77
"node": ">=12.13.0"
@@ -13,10 +13,10 @@
1313
},
1414
"main": "./lib/client.js",
1515
"dependencies": {
16-
"lodash": "4.17.15",
16+
"lodash": "4.17.21",
1717
"q": "1.5.1",
1818
"request": "2.88.2",
19-
"requestretry": "4.1.0"
19+
"requestretry": "7.0.2"
2020
},
2121
"devDependencies": {
2222
"eslint": "6.8.0",

0 commit comments

Comments
 (0)