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

@formily/shared

Package Overview
Dependencies
Maintainers
2
Versions
243
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formily/shared - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3-beta.0

3

lib/compare.js

@@ -113,5 +113,2 @@ "use strict";

}
if (a && b && typeof a === 'function' && typeof b === 'function') {
return a.toString() === b.toString();
}
return a !== a && b !== b;

@@ -118,0 +115,0 @@ }

3

lib/merge.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var big_data_1 = require("./big-data");
var isEmpty_1 = require("./isEmpty");
function defaultIsMergeableObject(value) {

@@ -55,2 +56,4 @@ return isNonNullObject(value) && !isSpecial(value);

function getKeys(target) {
if (!isEmpty_1.isValid(target))
return [];
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));

@@ -57,0 +60,0 @@ }

{
"name": "@formily/shared",
"version": "1.2.2",
"version": "1.2.3-beta.0",
"license": "MIT",

@@ -21,3 +21,3 @@ "main": "lib",

},
"gitHead": "5f10da195e878aecce3b030a0ebb1dc177ce19a0",
"gitHead": "b4f0725dc22db31ac55e77c359793403129dc333",
"scripts": {

@@ -24,0 +24,0 @@ "build": "tsc --declaration"

@@ -129,6 +129,2 @@ import { isFn, isArr } from './types'

if (a && b && typeof a === 'function' && typeof b === 'function') {
return a.toString() === b.toString()
}
return a !== a && b !== b

@@ -135,0 +131,0 @@ }

import { BigData } from './big-data'
import { isValid } from './isEmpty'

@@ -67,2 +68,3 @@ function defaultIsMergeableObject(value: any) {

function getKeys(target: any) {
if (!isValid(target)) return []
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))

@@ -69,0 +71,0 @@ }

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