Skip to content

Commit

Permalink
Merge pull request #5563 from snyk/fix/deps-do-not-overwrite-values
Browse files Browse the repository at this point in the history
fix(container): support --exclude-app-vulns with oauth
  • Loading branch information
thisislawatts authored Nov 4, 2024
2 parents 91ae38e + 8d1b12c commit b854d95
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 117 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -960,14 +960,14 @@ jobs:
- restore_cache:
name: Restore npm cache
keys:
- prepare-build-npm-deps-{{ checksum "package-lock.json" }}
- prepare-build-npm-deps
- prepare-v1-build-npm-deps-{{ checksum "package-lock.json" }}
- prepare-v1-build-npm-deps
- run:
name: Installing dependencies
command: npm ci --no-audit --no-progress --cache .npm --prefer-offline
- save_cache:
name: Save npm cache
key: prepare-build-npm-deps-{{ checksum "package-lock.json" }}
key: prepare-v1-build-npm-deps-{{ checksum "package-lock.json" }}
paths:
- .npm
- run:
Expand Down
161 changes: 49 additions & 112 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
"semver": "^6.0.0",
"snyk-config": "^5.0.0",
"snyk-cpp-plugin": "2.24.0",
"snyk-docker-plugin": "6.13.2",
"snyk-docker-plugin": "6.13.11",
"snyk-go-plugin": "1.23.0",
"snyk-gradle-plugin": "4.6.0",
"snyk-module": "3.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ describe('container test projects behavior with --json flag', () => {

const jsonOutput = JSON.parse(stdout);
expect(Array.isArray(jsonOutput)).toBeTruthy();
expect(jsonOutput).toHaveLength(3);
expect(jsonOutput).toHaveLength(2);
expect(code).toEqual(0);
});
});

0 comments on commit b854d95

Please sign in to comment.