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

fishery

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fishery - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

2

dist/merge.d.ts

@@ -8,2 +8,2 @@ export declare const merge: {

};
export declare const mergeCustomizer: (_object: any, srcVal: any) => any[] | undefined;
export declare const mergeCustomizer: (objValue: any, srcVal: any, key: 'string', object: any) => any[] | undefined;

@@ -9,6 +9,9 @@ "use strict";

exports.merge = lodash_mergewith_1.default;
exports.mergeCustomizer = function (_object, srcVal) {
exports.mergeCustomizer = function (objValue, srcVal, key, object) {
if (Array.isArray(srcVal)) {
return srcVal;
}
else if (srcVal === undefined) {
object[key] = srcVal;
}
};
{
"name": "fishery",
"version": "1.3.1",
"version": "1.4.0",
"description": "A library for setting up JavaScript factories to help build objects as test data, with full TypeScript support",

@@ -22,5 +22,6 @@ "keywords": [

"test": "jest",
"test:all": "yarn test && yarn pretty:check",
"testinit": "jest --init",
"pretty": "prettier --write '{*,.*,lib/**/*}.{ts,json,md}'",
"verifyPretty": "prettier --check '{*,.*,lib/**/*}.{ts,json,md}'"
"pretty:check": "prettier --check '{*,.*,lib/**/*}.{ts,json,md}'"
},

@@ -27,0 +28,0 @@ "repository": {

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