diff --git a/node_modules/before-after-hook/.snyk b/node_modules/before-after-hook/.snyk new file mode 100644 index 0000000000..be38c0ff93 --- /dev/null +++ b/node_modules/before-after-hook/.snyk @@ -0,0 +1,22 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + 'npm:hoek:20180212': + - istanbul-coveralls > coveralls > request > hawk > hoek: + patched: '2023-04-24T16:51:41.179Z' + - istanbul-coveralls > coveralls > request > hawk > boom > hoek: + patched: '2023-04-24T16:51:41.179Z' + - istanbul-coveralls > coveralls > request > hawk > sntp > hoek: + patched: '2023-04-24T16:51:41.179Z' + - istanbul-coveralls > coveralls > request > hawk > cryptiles > boom > hoek: + patched: '2023-04-24T16:51:41.179Z' + 'npm:minimatch:20160620': + - gaze-cli > gaze > globule > minimatch: + patched: '2023-04-24T16:51:41.179Z' + - gaze-cli > gaze > globule > glob > minimatch: + patched: '2023-04-24T16:51:41.179Z' + 'npm:tunnel-agent:20170305': + - istanbul-coveralls > coveralls > request > tunnel-agent: + patched: '2023-04-24T16:51:41.179Z' diff --git a/node_modules/before-after-hook/package.json b/node_modules/before-after-hook/package.json index ddd5acbe72..8869bb3cfb 100644 --- a/node_modules/before-after-hook/package.json +++ b/node_modules/before-after-hook/package.json @@ -22,7 +22,9 @@ "validate:ts": "tsc --strict --target es6 index.d.ts", "postvalidate:ts": "tsc --noEmit --strict --target es6 test/typescript-validate.ts", "presemantic-release": "npm run build", - "semantic-release": "semantic-release" + "semantic-release": "semantic-release", + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "repository": { "type": "git", @@ -39,7 +41,9 @@ "url": "https://github.com/gr2m/before-after-hook/issues" }, "homepage": "https://github.com/gr2m/before-after-hook#readme", - "dependencies": {}, + "dependencies": { + "@snyk/protect": "latest" + }, "devDependencies": { "browserify": "^16.0.0", "gaze-cli": "^0.2.0", @@ -47,7 +51,7 @@ "istanbul-coveralls": "^1.0.3", "mkdirp": "^0.5.1", "rimraf": "^2.4.4", - "semantic-release": "^15.0.0", + "semantic-release": "^20.0.1", "simple-mock": "^0.8.0", "standard": "^13.0.1", "tap-min": "^2.0.0", @@ -66,5 +70,6 @@ ] } ] - } + }, + "snyk": true } \ No newline at end of file