@formily/shared
Advanced tools
Comparing version 1.2.2 to 1.2.3-beta.0
@@ -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 @@ } |
"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 @@ } |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
72069
2251
1