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

guy

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guy - npm Package Compare versions

Comparing version 11.1.1 to 11.1.2

19

lib/props.js
(function() {
'use strict';
var GUY_props, H, builtins, def, def_oneoff, hide, no_such_value, rpr;
var GUY_props, H, builtins, def, def_oneoff, get, hide, no_such_value, rpr;

@@ -372,3 +372,14 @@ //###########################################################################################################

//-----------------------------------------------------------------------------------------------------------
this.get = (target, key, fallback = this._misfit) => {
get = function(target, key, fallback) {
var arity;
switch (arity = arguments.length) {
case 2:
fallback = this._misfit;
break;
case 3:
null;
break;
default:
throw new Error(`^guy.props.get@1^ expected 2 or 3 arguments, got ${arity}`);
}
if (this.has(target, key)) {

@@ -383,4 +394,6 @@ return target[key];

this.get = get.bind(this);
//-----------------------------------------------------------------------------------------------------------
this._get_keys_cfg = function(cfg) {
this./* avoiding fat-arrow function so we can use `arguments` */_get_keys_cfg = function(cfg) {
var has_hidden;

@@ -387,0 +400,0 @@ has_hidden = (cfg != null ? cfg : {}).hidden != null;

2

package.json
{
"name": "guy",
"version": "11.1.1",
"version": "11.1.2",
"description": "npm dependencies checker",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

Sorry, the diff of this file is not supported yet

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