proxyquire
Advanced tools
Comparing version 2.0.1 to 2.0.2
'use strict' | ||
/* global describe before after it */ | ||
/* | ||
@@ -6,0 +4,0 @@ * These examples demonstrate how to use proxyquire with Sinon.JS (<http://sinonjs.org/>). |
{ | ||
"name": "proxyquire", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Proxies nodejs require in order to allow overriding dependencies during testing.", | ||
@@ -27,6 +27,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"mocha": "^3.5.3", | ||
"mocha": "^5.2.0", | ||
"native-hello-world": "^1.0.0", | ||
"should": "~3.3", | ||
"sinon": "~1.9", | ||
"should": "~13.2", | ||
"sinon": "~6.1", | ||
"standard": "^11.0.0" | ||
@@ -37,4 +37,9 @@ }, | ||
"module-not-found-error": "^1.0.0", | ||
"resolve": "~1.5.0" | ||
"resolve": "~1.8.1" | ||
}, | ||
"standard": { | ||
"env": [ | ||
"mocha" | ||
] | ||
} | ||
} |
@@ -1,4 +0,7 @@ | ||
# proxyquire [![Build Status](https://secure.travis-ci.org/thlorenz/proxyquire.svg)](http://travis-ci.org/thlorenz/proxyquire) | ||
# proxyquire [![Build Status](https://secure.travis-ci.org/thlorenz/proxyquire.svg?branch=master)](http://travis-ci.org/thlorenz/proxyquire) | ||
[![NPM](https://nodei.co/npm/proxyquire.png?downloads=true&stars=true)](https://nodei.co/npm/proxyquire/) | ||
<span> | ||
<a href="https://nodei.co/npm/proxyquire/"><img src="https://nodei.co/npm/proxyquire.png?downloads=true&stars=true"></a> | ||
<a href="https://www.patreon.com/bePatron?u=8663953"><img alt="become a patron" src="https://c5.patreon.com/external/logo/become_a_patron_button.png" height="69px"></a> | ||
</span> | ||
@@ -5,0 +8,0 @@ Proxies nodejs's require in order to make overriding dependencies during testing easy while staying **totally unobtrusive**. |
'use strict' | ||
/* global describe, it */ | ||
var assert = require('assert') | ||
@@ -6,0 +4,0 @@ var realFoo = require('./samples/foo') |
'use strict' | ||
/* global describe, it */ | ||
var assert = require('assert') | ||
@@ -6,0 +4,0 @@ var proxyquire = require('..') |
'use strict' | ||
/* global describe, it */ | ||
var assert = require('assert') | ||
@@ -6,0 +4,0 @@ |
'use strict' | ||
/* jshint asi:true */ | ||
/* global describe, it */ | ||
@@ -5,0 +4,0 @@ var proxyquire = require('..') |
'use strict' | ||
/* global describe, before, it */ | ||
var proxyquire = require('..').noCallThru() | ||
@@ -6,0 +4,0 @@ |
'use strict' | ||
/* global describe, it */ | ||
var assert = require('assert') | ||
@@ -6,0 +4,0 @@ var realFoo = require('./samples/global/foo') |
/* jshint asi:true */ | ||
/* global describe, before, it */ | ||
'use strict' | ||
@@ -4,0 +3,0 @@ |
'use strict' | ||
/* global describe, before, it */ | ||
var assert = require('assert') | ||
@@ -6,0 +4,0 @@ var proxyquire = require('..') |
'use strict' | ||
/* global describe, it */ | ||
var assert = require('assert') | ||
@@ -6,0 +4,0 @@ var proxyquire = require('..') |
'use strict' | ||
/* jshint asi:true */ | ||
/* global describe, it */ | ||
@@ -6,0 +5,0 @@ var proxyquire = require('..') |
'use strict' | ||
/* jshint asi:true */ | ||
/* global describe, it */ | ||
@@ -5,0 +4,0 @@ var assert = require('assert') |
'use strict' | ||
/* jshint asi:true */ | ||
/* global describe, before, it */ | ||
@@ -5,0 +4,0 @@ var assert = require('assert') |
/* jshint asi:true */ | ||
/* global describe, before, beforeEach, it */ | ||
'use strict' | ||
@@ -4,0 +3,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
489
64615
1378
+ Addedresolve@1.8.1(transitive)
- Removedresolve@1.5.0(transitive)
Updatedresolve@~1.8.1