diff --git a/resources/infyom/infyom-generator-templates/vuejs/js/.snyk b/resources/infyom/infyom-generator-templates/vuejs/js/.snyk new file mode 100644 index 0000000..7f28068 --- /dev/null +++ b/resources/infyom/infyom-generator-templates/vuejs/js/.snyk @@ -0,0 +1,34 @@ +# 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': + - laravel-elixir > gulp-less > less > request > hawk > hoek: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-less > less > request > hawk > boom > hoek: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-less > less > request > hawk > sntp > hoek: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-less > less > request > hawk > cryptiles > boom > hoek: + patched: '2022-10-06T17:55:01.224Z' + 'npm:lodash:20180130': + - laravel-elixir > gulp-phpspec > lodash: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > babelify > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-babel > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > vueify > babel > babel-core > babel-plugin-proto-to-assign > lodash: + patched: '2022-10-06T17:55:01.224Z' + 'npm:minimatch:20160620': + - laravel-elixir > browserify > glob > minimatch: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-phpunit > gulp > vinyl-fs > glob-stream > minimatch: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-if > gulp-match > minimatch: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-phpunit > gulp > vinyl-fs > glob-watcher > gaze > globule > minimatch: + patched: '2022-10-06T17:55:01.224Z' + - laravel-elixir > gulp-phpunit > gulp > vinyl-fs > glob-watcher > gaze > globule > glob > minimatch: + patched: '2022-10-06T17:55:01.224Z' diff --git a/resources/infyom/infyom-generator-templates/vuejs/js/package.json b/resources/infyom/infyom-generator-templates/vuejs/js/package.json index 83b48fe..77dd535 100644 --- a/resources/infyom/infyom-generator-templates/vuejs/js/package.json +++ b/resources/infyom/infyom-generator-templates/vuejs/js/package.json @@ -24,7 +24,13 @@ "webpack-dev-server": "^1.14.1" }, "dependencies": { - "laravel-elixir": "^3.0.0", - "bootstrap-sass": "^3.0.0" - } + "laravel-elixir": "^5.0.0", + "bootstrap-sass": "^3.0.0", + "@snyk/protect": "latest" + }, + "scripts": { + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "snyk": true }