Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "ntils", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "一个 Node & Browser 工具函数集", | ||
@@ -5,0 +5,0 @@ "main": "./lib/ntils.js", |
@@ -12,3 +12,3 @@ | ||
export function getType(obj) { | ||
let str = toString(obj); | ||
var str = toString(obj); | ||
return (/^\[object (.+)\]$/i.exec(str))[1]; | ||
@@ -25,3 +25,3 @@ } | ||
export function isNull(obj) { | ||
let type = getType(obj); | ||
var type = getType(obj); | ||
return type === 'Undefined' || type === 'Null'; | ||
@@ -111,3 +111,3 @@ }; | ||
}; | ||
export const hasProperty = has; | ||
export var hasProperty = has; | ||
@@ -114,0 +114,0 @@ /** |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
152928