Socket
Socket
Sign inDemoInstall

nock-back-mocha

Package Overview
Dependencies
34
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

.eslintrc

6

index.js

@@ -5,3 +5,3 @@ 'use strict';

module.exports = function (fixtures, mode) {
module.exports = function (fixtures) {
var filenames = [];

@@ -20,9 +20,5 @@ return {

var previousMode = nock.back.currentMode;
nock.back.setMode(mode);
nock.back(filename, function (nockDone) {
this.currentTest.nockDone = function () {
nockDone();
nock.back.setMode(previousMode);
nock.back.fixtures = previousFixtures;

@@ -29,0 +25,0 @@ };

{
"name": "nock-back-mocha",
"version": "1.0.0",
"version": "1.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

@@ -19,5 +16,19 @@ "type": "git",

"homepage": "https://github.com/porchdotcom/nock-back-mocha#readme",
"scripts": {
"test": "./node_modules/.bin/mocha",
"lint": "./node_modules/.bin/eslint ."
},
"pre-commit": [
"lint",
"test"
],
"dependencies": {
"nock": "^2.10.0"
},
"devDependencies": {
"babel-eslint": "^4.1.1",
"eslint": "^1.3.1",
"mocha": "^2.3.0",
"pre-commit": "^1.1.1"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc