Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.0.4 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",

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