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

vigour-util

Package Overview
Dependencies
Maintainers
2
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vigour-util - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

16

define.js

@@ -22,5 +22,14 @@ 'use strict'

definition = { value: definition }
} else {
if ('val' in definition) {
definition.value = definition.val
delete definition.val
}
}
definition.configurable = true
Object.defineProperty(this, key, definition)
if (definition.writable && 'value' in definition) {
this[key] = definition.value
} else {
definition.configurable = true
Object.defineProperty(this, key, definition)
}
}

@@ -32,2 +41,3 @@ }

function extend (target, val) {
// support deep
for (let key in val) {

@@ -46,2 +56,4 @@ if (typeof val[key] !== 'function') {

const args = new Array(len + 1)
// optimize by checking arguments.length, make an option with variable arguments
// default just ignores those (so its fast)
args[0] = target

@@ -48,0 +60,0 @@ for (let i = 0; i < len; i++) {

2

package.json
{
"name": "vigour-util",
"version": "3.0.2",
"version": "3.0.3",
"author": "Vigour.io <dev@vigour.io>",

@@ -5,0 +5,0 @@ "scripts": {

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