🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@stdlib/utils-define-property

Package Overview
Dependencies
Maintainers
4
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/utils-define-property - npm Package Compare versions

Comparing version

to
0.0.5

9

lib/has_define_property_support.js

@@ -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",