@stdlib/utils-define-property
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -39,14 +39,9 @@ /** | ||
function hasDefinePropertySupport() { | ||
var bool; | ||
if ( defineProperty === null ) { | ||
return false; | ||
} | ||
// Test basic support... | ||
try { | ||
defineProperty( {}, 'x', {} ); | ||
bool = true; | ||
return true; | ||
} catch ( err ) { // eslint-disable-line no-unused-vars | ||
bool = false; | ||
return false; | ||
} | ||
return bool; | ||
} | ||
@@ -53,0 +48,0 @@ |
{ | ||
"name": "@stdlib/utils-define-property", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Define (or modify) an object property.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48536
358