Comparing version 4.0.1 to 4.0.2
4.0.2 / 2017-10-25 | ||
================== | ||
* Update 'nise' to latest version (#1593) | ||
* Use supports-color module to test if system supports colors | ||
* Upgrade mocha to v4.0.0 | ||
* Make samsam a development dependency | ||
* Make native-promise-only a development dependency | ||
4.0.1 / 2017-10-04 | ||
================== | ||
* Upgrade nise and lolex versions | ||
* Remove obsoleted lib/sinon/sandbox-stub.js | ||
* Upgrade nise and lolex versions (#1579) | ||
@@ -8,0 +16,0 @@ 4.0.0 / 2017-09-26 |
"use strict"; | ||
var canColor = typeof process !== "undefined"; | ||
var supportsColor = require("supports-color"); | ||
function colorize(str, color) { | ||
if (!canColor) { | ||
if (!supportsColor) { | ||
return str; | ||
@@ -8,0 +8,0 @@ } |
{ | ||
"name": "sinon", | ||
"description": "JavaScript test spies, stubs and mocks.", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"homepage": "http://sinonjs.org/", | ||
@@ -24,2 +24,3 @@ "author": "Christian Johansen", | ||
"test": "run-s test-node test-headless test-webworker", | ||
"check-dependencies": "dependency-check package.json --unused --no-dev", | ||
"build": "./build.js", | ||
@@ -29,7 +30,6 @@ "lint": "eslint .", | ||
"pretest-webworker": "npm run build", | ||
"prebuild": "rimraf pkg", | ||
"prebuild": "rimraf pkg && npm run check-dependencies", | ||
"prepublishOnly": "npm run build", | ||
"preversion": "./scripts/preversion.sh", | ||
"postversion": "./scripts/postversion.sh", | ||
"eslint-pre-commit": "./scripts/eslint-pre-commit" | ||
"postversion": "./scripts/postversion.sh" | ||
}, | ||
@@ -44,7 +44,4 @@ "lint-staged": { | ||
"lolex": "^2.1.3", | ||
"native-promise-only": "^0.8.1", | ||
"nise": "^1.1.1", | ||
"path-to-regexp": "^1.7.0", | ||
"samsam": "^1.1.3", | ||
"text-encoding": "0.6.4", | ||
"nise": "^1.2.0", | ||
"supports-color": "^4.4.0", | ||
"type-detect": "^4.0.0" | ||
@@ -54,2 +51,3 @@ }, | ||
"browserify": "^14.0.0", | ||
"dependency-check": "^2.9.1", | ||
"eslint": "^4.6.1", | ||
@@ -61,5 +59,6 @@ "eslint-config-sinon": "^1.0.0", | ||
"mocaccino": "^2.0.0", | ||
"mocha": "^3.1.2", | ||
"mocha": "^4.0.0", | ||
"mochify": "^3.0.0", | ||
"mochify-istanbul": "^2.4.1", | ||
"native-promise-only": "^0.8.1", | ||
"npm-run-all": "^4.0.2", | ||
@@ -72,3 +71,4 @@ "phantomic": "^1.4.0", | ||
"referee": "^1.2.0", | ||
"rimraf": "^2.5.3" | ||
"rimraf": "^2.5.3", | ||
"samsam": "^1.1.3" | ||
}, | ||
@@ -75,0 +75,0 @@ "eslintConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6617805
7
68593
6
21
+ Addedsupports-color@^4.4.0
+ Addedhas-flag@2.0.0(transitive)
+ Addedsupports-color@4.5.0(transitive)
- Removednative-promise-only@^0.8.1
- Removedpath-to-regexp@^1.7.0
- Removedsamsam@^1.1.3
- Removedtext-encoding@0.6.4
- Removednative-promise-only@0.8.1(transitive)
- Removedtext-encoding@0.6.4(transitive)
Updatednise@^1.2.0