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

eyes.utils

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eyes.utils - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

src/ArgumentGuard.js

1

index.js

@@ -0,1 +1,2 @@

exports.ArgumentGuard = require('./src/ArgumentGuard');
exports.GeneralUtils = require('./src/GeneralUtils');

@@ -2,0 +3,0 @@ exports.ImageUtils = require('./src/ImageUtils');

2

package.json
{
"name": "eyes.utils",
"version": "0.0.15",
"version": "0.0.16",
"description": "General purpose Javascript utilities.",

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

@@ -52,7 +52,5 @@ /*

GeneralUtils.mixin = function (to, from) {
var index;
var protos = [];
var proto = Object.getPrototypeOf(from);
var index, protos = [], proto = from;
while (!!proto) {
protos.push(proto);
protos.push(Object.getOwnPropertyNames(proto));
proto = Object.getPrototypeOf(proto);

@@ -62,3 +60,3 @@ }

for (index = protos.length - 2; index >= 0; index--) {
Object.getOwnPropertyNames(protos[index]).forEach(function(method) {
protos[index].forEach(function(method) {
//noinspection JSUnfilteredForInLoop

@@ -65,0 +63,0 @@ if (!to[method] && typeof from[method] === 'function' && method !== 'constructor') {

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