From d96238071b62ce7a55e8a6b87799333247b61a32 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 7 May 2020 05:45:59 -0300 Subject: [PATCH] fix: package.json, package-lock.json & .snyk to reduce vulnerabilities The following vulnerabilities are fixed with a Snyk patch: - https://snyk.io/vuln/SNYK-JS-LODASH-567746 --- package.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 62f950e..7fd7caf 100644 --- a/package.json +++ b/package.json @@ -225,7 +225,8 @@ "uuid": "^3.1.0", "which": "^1.3.0", "winston": "^2.4.0", - "yaml-front-matter": "3.4.1" + "yaml-front-matter": "3.4.1", + "snyk": "^1.319.1" }, "activationHooks": [ "core:loaded-shell-environment" @@ -464,11 +465,12 @@ "scripts": { "build-options": "node script/build-options.js", "docs": "npm run build-options && coffee docs/", - "prepare": "npm run docs", + "prepare": "npm run snyk-protect && npm run docs", "lint": "coffeelint src/ spec/", "code-docs": "codo && open docs/code/index.html", "pretest": "npm run lint", - "test": "atom --test spec" + "test": "atom --test spec", + "snyk-protect": "snyk protect" }, "config": { "next-update": { @@ -493,5 +495,6 @@ "underscore-plus", "prettydiff2" ] - } + }, + "snyk": true }