Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quibble

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quibble - npm Package Compare versions

Comparing version 0.5.3 to 0.5.5

6

example/package.json

@@ -5,9 +5,9 @@ {

"scripts": {
"test": "mocha -R spec --recursive test/helper.js test/lib/",
"test:debug": "yarn test -- --debug-brk"
"test": "mocha -R spec --recursive test/helper.js test/lib/"
},
"devDependencies": {
"chai": "^3.3.0",
"mocha": "^2.3.3"
"mocha": "^2.3.3",
"quibble": "file:.."
}
}
{
"name": "quibble",
"version": "0.5.3",
"version": "0.5.5",
"description": "Makes it easy to replace require'd dependencies.",

@@ -9,7 +9,6 @@ "homepage": "https://github.com/testdouble/quibble",

"style": "standard --fix",
"test:example": "cd example && yarn install && yarn test",
"test:dependents": "dont-break --timeout 400",
"test:example": "cd example && npm it",
"test:smells": "./test/require-smell-test.sh",
"test:ci": "yarn test && yarn style && yarn test:example && yarn test:smells && yarn test:dependents",
"preversion": "git pull --rebase && yarn test:ci",
"test:ci": "npm test && npm run style && npm run test:example && npm run test:smells",
"preversion": "git pull --rebase && npm run test:ci",
"postversion": "git push && git push --tags && npm publish"

@@ -24,7 +23,6 @@ },

"lodash": "^4.17.2",
"resolve": "^1.5.0"
"resolve": "^1.7.1"
},
"devDependencies": {
"core-assert": "^0.2.1",
"dont-break": "searls/dont-break",
"is-number": "^3.0.0",

@@ -31,0 +29,0 @@ "standard": "^10.0.3",

@@ -5,7 +5,9 @@ # quibble

Quibble is sorta like [proxyquire](https://github.com/thlorenz/proxyquire),
Quibble is a terser (and more magical) alternative to packages like
[proxyquire](https://github.com/thlorenz/proxyquire),
[sandboxed-module](https://github.com/felixge/node-sandboxed-module) and
[mockery](https://github.com/mfncooper/mockery). Using `quibble` you can replace
how `require` will behave for a given path, with its intended use being almost
solely unit testing. It is almost-but-not-quite a private dependency of
[mockery](https://github.com/mfncooper/mockery) for mocking out dependencies
in tests of Node.js modules. Using `quibble` you can replace
how `require()` will behave for a given path. Its intended use is squarely
focused on unit testing. It is almost-but-not-quite a private dependency of
[testdouble.js](https://github.com/testdouble/testdouble.js), as it

@@ -12,0 +14,0 @@ implements the `td.replace()` function's module-replacement behavior.

Sorry, the diff of this file is not supported yet

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