diff --git a/test/acceptance/workspaces/npm-package-with-git-url/.snyk b/test/acceptance/workspaces/npm-package-with-git-url/.snyk index 487b2861e2..a7b2aa4d2b 100644 --- a/test/acceptance/workspaces/npm-package-with-git-url/.snyk +++ b/test/acceptance/workspaces/npm-package-with-git-url/.snyk @@ -1,8 +1,10 @@ # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. -version: v1.14.1 +version: v1.25.0 ignore: {} # patches apply the minimum changes required to fix a vulnerability patch: 'npm:qs:20170213': - npm-package-with-git-url > qs: patched: '2018-11-04T12:47:13.696Z' + - patchable-vuln > qs: + patched: '2022-07-27T17:50:19.368Z' diff --git a/test/acceptance/workspaces/npm-package-with-git-url/package.json b/test/acceptance/workspaces/npm-package-with-git-url/package.json index 6ed02bf9a3..716bfa94fd 100644 --- a/test/acceptance/workspaces/npm-package-with-git-url/package.json +++ b/test/acceptance/workspaces/npm-package-with-git-url/package.json @@ -3,9 +3,13 @@ "version": "1.0.0", "description": "", "main": "index.js", - "scripts": {}, + "scripts": { + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, "dependencies": { - "patchable-vuln": "git+ssh://git@github.com/snyk-fixtures/patchable-vuln.git" + "patchable-vuln": "git+ssh://git@github.com/snyk-fixtures/patchable-vuln.git", + "@snyk/protect": "latest" }, "keywords": [], "author": "",