Huge News!Announcing our $40M Series B led by Abstract Ventures.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 4.3.1 to 4.3.2

16

bindAll.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var isFunction = require("lodash/isFunction");
var utils_1 = require("./utils");

@@ -53,8 +54,11 @@ /**

if (include && key !== 'constructor' && !instance.hasOwnProperty(key)) {
Object.defineProperty(instance, key, {
configurable: true,
enumerable: descriptor.enumerable,
value: utils_1.copyMetadata(instance[key].bind(instance), instance[key]),
writable: descriptor.writable
});
var value = instance[key];
if (isFunction(value)) {
Object.defineProperty(instance, key, {
configurable: true,
enumerable: descriptor.enumerable,
value: utils_1.copyMetadata(value.bind(instance), value),
writable: descriptor.writable
});
}
}

@@ -61,0 +65,0 @@ }

@@ -5,2 +5,12 @@ # Change Log

<a name="4.3.2"></a>
## [4.3.2](https://github.com/steelsojka/lodash-decorators/compare/v4.3.1...v4.3.2) (2017-05-19)
### Bug Fixes
* **bindAll:** guard against getters that aren't functions ([08fa50b](https://github.com/steelsojka/lodash-decorators/commit/08fa50b))
<a name="4.3.1"></a>

@@ -7,0 +17,0 @@ ## [4.3.1](https://github.com/steelsojka/lodash-decorators/compare/v4.3.0...v4.3.1) (2017-05-06)

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

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

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

Sorry, the diff of this file is not supported yet

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