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

jestor

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jestor - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

4

dist/jestor.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
function jestor(jestMock) {

@@ -60,3 +58,3 @@ const rules = [];

const arg = args[i];
return arg !== null && typeof arg.asymmetricMatch === 'function'
return arg != null && typeof arg.asymmetricMatch === 'function'
? arg.asymmetricMatch(actualArg)

@@ -63,0 +61,0 @@ : equals(arg, actualArg);

{
"name": "jestor",
"version": "1.0.7",
"version": "1.0.8",
"description": "Utility for creating mock implementation, defining how Jest mocks should behave",

@@ -41,15 +41,15 @@ "type": "commonjs",

"devDependencies": {
"@arkweid/lefthook": "0.7.7",
"@evilmartians/lefthook": "1.2.9",
"@bhovhannes/shared-config": "0.0.1",
"@commitlint/cli": "14.1.0",
"@rollup/plugin-typescript": "8.3.0",
"@types/jest": "27.0.2",
"jest": "27.3.1",
"@commitlint/cli": "17.4.4",
"@rollup/plugin-typescript": "11.0.0",
"@types/jest": "29.4.0",
"jest": "29.4.2",
"npm-run-all": "4.1.5",
"prettier": "2.4.1",
"rollup": "2.59.0",
"ts-jest": "27.0.7",
"tslib": "2.3.1",
"typescript": "4.4.4"
"prettier": "2.8.4",
"rollup": "3.15.0",
"ts-jest": "29.0.5",
"tslib": "2.5.0",
"typescript": "4.9.5"
}
}

@@ -8,3 +8,3 @@ /// <reference types="jest" />

}
declare type JestorRuleGetter = (ruleBuilder: {
type JestorRuleGetter = (ruleBuilder: {
whenCalledWith(...args: any[]): IJestorBehavior;

@@ -11,0 +11,0 @@ }) => unknown;

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