diff --git a/integration/hello_world__closure/.snyk b/integration/hello_world__closure/.snyk new file mode 100644 index 000000000000..52315d7263d9 --- /dev/null +++ b/integration/hello_world__closure/.snyk @@ -0,0 +1,12 @@ +# 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:minimatch:20160620': + - google-closure-compiler > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2022-10-06T21:18:50.639Z' + - google-closure-compiler > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2022-10-06T21:18:50.639Z' + - google-closure-compiler > gulp > vinyl-fs > glob-stream > minimatch: + patched: '2022-10-06T21:18:50.639Z' diff --git a/integration/hello_world__closure/package.json b/integration/hello_world__closure/package.json index fd304c758664..188e69ff3527 100644 --- a/integration/hello_world__closure/package.json +++ b/integration/hello_world__closure/package.json @@ -6,14 +6,15 @@ "@angular/animations": "file:../../dist/packages-dist/animations", "@angular/common": "file:../../dist/packages-dist/common", "@angular/compiler": "file:../../dist/packages-dist/compiler", - "@angular/compiler-cli": "file:../../dist/packages-dist/compiler-cli", - "@angular/core": "file:../../dist/packages-dist/core", + "@angular/compiler-cli": "9.0.0", + "@angular/core": "11.0.5", "@angular/platform-browser": "file:../../dist/packages-dist/platform-browser", "@angular/platform-server": "file:../../dist/packages-dist/platform-server", - "google-closure-compiler": "20180716.0.0", + "google-closure-compiler": "20190528.1.0", "rxjs": "file:../../node_modules/rxjs", "typescript": "file:../../node_modules/typescript", - "zone.js": "file:../../node_modules/zone.js" + "zone.js": "file:../../node_modules/zone.js", + "@snyk/protect": "latest" }, "devDependencies": { "@types/jasmine": "2.5.41", @@ -27,6 +28,9 @@ "test": "ngc && yarn run closure && concurrently \"yarn run serve\" \"yarn run protractor\" --kill-others --success first", "serve": "lite-server -c e2e/browser.config.json", "preprotractor": "tsc -p e2e", - "protractor": "protractor e2e/protractor.config.js" - } + "protractor": "protractor e2e/protractor.config.js", + "prepare": "yarn run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "snyk": true }