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.6.8 to 0.6.9

test/fixtures/node_modules/is-number/index.js

2

example/package-lock.json

@@ -15,3 +15,3 @@ {

"..": {
"version": "0.6.7",
"version": "0.6.8",
"integrity": "sha512-L3/bDHWjHm9zdG0Aqj7lhmp6Q5RFjXeitO9CGzWKP83d6BlGS0lLo9oswxgq62gwuIF7apT9tO0dw9kNuvb9eg==",

@@ -18,0 +18,0 @@ "dev": true,

@@ -74,3 +74,3 @@ var Module = require('module')

var absolutePath = absolutePathFor(relativePath, parentFileName)
var resolvedPath = nodeResolve(absolutePath)
var resolvedPath = nodeResolve(absolutePath, { basedir: path.dirname(parentFileName) })
return resolvedPath || absolutePath

@@ -196,5 +196,5 @@ }

var nodeResolve = function (request) {
var nodeResolve = function (request, options) {
try {
return resolve.sync(request)
return resolve.sync(request, options)
} catch (e) {}

@@ -201,0 +201,0 @@ }

{
"name": "quibble",
"version": "0.6.8",
"version": "0.6.9",
"description": "Makes it easy to replace require'd dependencies.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/testdouble/quibble",

@@ -124,2 +124,8 @@ const quibble = require('../../lib/quibble')

},
'requiring-a-node-module': function () {
quibble('./some-other-thing')
const quibbledRequiresANodeModule = require('../fixtures/requires-a-node-module')
assert.equal(quibbledRequiresANodeModule(), false)
},
afterEach: function () {

@@ -126,0 +132,0 @@ quibble.reset()

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