New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sinon

Package Overview
Dependencies
Maintainers
4
Versions
208
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinon - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

pkg/sinon-4.0.2.js

12

History.md
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

4

lib/sinon/color.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc