From 2c46265206969d83ad369bc894f5e138da89307e Mon Sep 17 00:00:00 2001 From: Avindra Goolcharan Date: Tue, 3 Oct 2017 15:01:07 -0400 Subject: [PATCH] Dependencies: change tilde to caret Most immediately, this will fix https://github.com/Medium/phantomjs/issues/745 and will obviate the need for constant fixes like https://github.com/Medium/phantomjs/pull/742 https://github.com/Medium/phantomjs/pull/679 https://github.com/Medium/phantomjs/pull/732 https://github.com/Medium/phantomjs/pull/698 https://github.com/Medium/phantomjs/pull/653 Particularly, this will be helpful from a maintenance perspective, as these dependencies will likely have multiple security patches in the future. This change will also allow `npm` / `yarn` to better dedupe dependencies. --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 90c1b686c..8daf6d151 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phantomjs-prebuilt", - "version": "2.1.15", + "version": "2.1.16", "keywords": [ "phantomjs", "headless", @@ -39,15 +39,15 @@ "test": "nodeunit --reporter=minimal test/tests.js && eslint ." }, "dependencies": { - "es6-promise": "~4.0.3", - "extract-zip": "~1.6.5", - "fs-extra": "~1.0.0", - "hasha": "~2.2.0", - "kew": "~0.7.0", - "progress": "~1.1.8", - "request": "~2.81.0", - "request-progress": "~2.0.1", - "which": "~1.2.10" + "es6-promise": "^4.0.3", + "extract-zip": "^1.6.5", + "fs-extra": "^1.0.0", + "hasha": "^2.2.0", + "kew": "^0.7.0", + "progress": "^1.1.8", + "request": "^2.81.0", + "request-progress": "^2.0.1", + "which": "^1.2.10" }, "devDependencies": { "eslint": "2.7.0",