diff --git a/.snyk b/.snyk new file mode 100644 index 0000000..9a8d926 --- /dev/null +++ b/.snyk @@ -0,0 +1,10 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.1 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-LODASH-567746: + - angular-cli-ghpages > gh-pages > async > lodash: + patched: '2024-04-14T14:20:33.283Z' + id: SNYK-JS-LODASH-567746 + path: angular-cli-ghpages > gh-pages > async > lodash diff --git a/package.json b/package.json index eef75a7..cf3960a 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,9 @@ "lint": "ng lint", "e2e": "ng e2e", "build-gh-pages": "npm run set-version && ng build --prod", - "set-version": "node ./src/version-generator.js" + "set-version": "node ./src/version-generator.js", + "prepare": "npm run snyk-protect", + "snyk-protect": "snyk-protect" }, "private": true, "dependencies": { @@ -17,14 +19,14 @@ "@angular/cdk": "7.3.7", "@angular/common": "7.2.15", "@angular/compiler": "7.2.15", - "@angular/core": "7.2.15", + "@angular/core": "11.0.5", "@angular/flex-layout": "7.0.0-beta.24", "@angular/forms": "7.2.15", "@angular/material": "7.3.7", "@angular/platform-browser": "7.2.15", "@angular/platform-browser-dynamic": "7.2.15", "@angular/router": "7.2.15", - "angular-cli-ghpages": "0.5.3", + "angular-cli-ghpages": "0.6.0", "core-js": "3.1.1", "filesaver.js": "1.3.4", "immutable": "4.0.0-rc.12", @@ -38,7 +40,8 @@ "ngx-json-viewer": "2.4.0", "rxjs": "6.5.2", "tslib": "1.9.3", - "zone.js": "0.9.1" + "zone.js": "0.9.1", + "@snyk/protect": "latest" }, "devDependencies": { "@angular-devkit/build-angular": "0.13.9", @@ -62,5 +65,6 @@ "ts-node": "8.1.0", "tslint": "5.16.0", "typescript": "3.2.2" - } + }, + "snyk": true }