From f6766018936eb303493133a3905568b6f9783327 Mon Sep 17 00:00:00 2001 From: Prateeksha Singh Date: Thu, 24 May 2018 13:39:03 +0530 Subject: [PATCH] [dep] remove vulnerable livereload dependency --- package.json | 9 +++------ yarn.lock | 27 --------------------------- 2 files changed, 3 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 3289a63..bb0f2ca 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "watch": "rollup -c --watch", - "reload": "livereload 'dist/' -d", "dev": "npm-run-all --parallel watch reload" }, "repository": { @@ -39,19 +38,18 @@ "babel-plugin-istanbul": "^4.1.5", "babel-preset-env": "^1.6.1", "babel-preset-latest": "^6.24.1", - "clean-css": "^4.1.11", "babel-register": "^6.26.0", + "clean-css": "^4.1.11", "coveralls": "^3.0.0", "cross-env": "^5.1.4", "cssnano": "^3.10.0", "eslint": "^4.18.2", "fs": "0.0.1-security", - "livereload": "^0.6.3", "mocha": "^5.0.5", "node-sass": "^4.7.2", "npm-run-all": "^4.1.1", - "postcss": "^6.0.21", "nyc": "^11.6.0", + "postcss": "^6.0.21", "postcss-cssnext": "^3.0.2", "postcss-nested": "^2.1.2", "precss": "^3.1.2", @@ -65,6 +63,5 @@ "rollup-plugin-uglify-es": "0.0.1", "rollup-watch": "^4.3.1" }, - "dependencies": { - } + "dependencies": {} } diff --git a/yarn.lock b/yarn.lock index bd0cf00..77acd6d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2720,14 +2720,6 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -livereload@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/livereload/-/livereload-0.6.3.tgz#d97f6b133db6c70eff575abc7460f10cd35f6f76" - dependencies: - chokidar "^1.7.0" - opts ">= 1.2.0" - ws "^1.1.1" - load-json-file@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" @@ -3266,14 +3258,6 @@ optionator@^0.8.2: type-check "~0.3.2" wordwrap "~1.0.0" -options@>=0.0.5: - version "0.0.6" - resolved "https://registry.yarnpkg.com/options/-/options-0.0.6.tgz#ec22d312806bb53e731773e7cdaefcf1c643128f" - -"opts@>= 1.2.0": - version "1.2.6" - resolved "https://registry.yarnpkg.com/opts/-/opts-1.2.6.tgz#d185c0425cfdeb9da1d182908b65b5c0238febb3" - os-homedir@^1.0.0, os-homedir@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" @@ -5045,10 +5029,6 @@ uid-number@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81" -ultron@1.0.x: - version "1.0.2" - resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa" - union-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" @@ -5200,13 +5180,6 @@ write@^0.2.1: dependencies: mkdirp "^0.5.1" -ws@^1.1.1: - version "1.1.5" - resolved "https://registry.yarnpkg.com/ws/-/ws-1.1.5.tgz#cbd9e6e75e09fc5d2c90015f21f0c40875e0dd51" - dependencies: - options ">=0.0.5" - ultron "1.0.x" - xtend@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af"