Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

extes

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extes - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

21

object.esm.js

@@ -12,8 +12,13 @@ /**

Object.defineProperties = ObjectDefineProperties;
Object.assignProperties = ObjectAssignProperties;
Object.merge = ObjectMerge;
Object.generate = ObjectGenerate;
Object.typeof = TypeOf;
Object.assignConstant = function(dst, src){
return ObjectAssignProperties(dst, src);
};
function ObjectDefineProperty(object, prop_name, prop_attr) {

@@ -27,2 +32,18 @@ _ObjectDefineProperty(object, prop_name, prop_attr);

}
function ObjectAssignProperties(object, props, attr={configurable:false, enumerable:false, writable:false}) {
for( const prop in props ) {
if ( (props.hasOwnProperty && !props.hasOwnProperty(prop)) ||
(props[prop] === undefined)
) { continue; }
_ObjectDefineProperty(object, prop, {
value:props[prop],
configurable:!!attr.configurable,
enumerable:!!attr.enumerable,
writable:!!attr.writable
});
}
return object;
}
function ObjectMerge(target, source) {

@@ -29,0 +50,0 @@ if ( Object(target) !== target ) {

2

package.json
{
"name": "extes",
"version": "1.0.5",
"version": "1.0.6",
"description": "A tiny library that extends native js with some handy tools",

@@ -5,0 +5,0 @@ "main": "index.mjs",

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