New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lodash-decorators

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-decorators - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A collection of decorators using lodash at it's core.",
"version": "0.4.4",
"version": "0.4.5",
"engines": {

@@ -8,0 +8,0 @@ "node": ">=0.12.0"

@@ -16,2 +16,11 @@ 'use strict';

var _lodashLangIsObject = require('lodash/lang/isObject');
var _lodashLangIsObject2 = _interopRequireDefault(_lodashLangIsObject);
/**
* Assigns all properties, including non-enumerable properties over
* to the destination object.
*/
function assignAll(to, from) {

@@ -29,3 +38,9 @@ var excludes = arguments[2] === undefined ? [] : arguments[2];

var srcDtor = Object.getOwnPropertyDescriptor(from, _name);
Object.defineProperty(to, _name, srcDtor);
if ((0, _lodashLangIsObject2['default'])(srcDtor)) {
Object.defineProperty(to, _name, srcDtor);
} else {
// Fallback to regular assignment
to[_name] = from[_name];
}
}

@@ -32,0 +47,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