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.2 to 11.2.0

20

lib/props.js

@@ -408,3 +408,3 @@ (function() {

//-----------------------------------------------------------------------------------------------------------
this.keys = function(owner, cfg) {
this.keys = (owner, cfg) => {
return [...(this._walk_keys(owner, this._get_keys_cfg(cfg)))];

@@ -414,3 +414,3 @@ };

//-----------------------------------------------------------------------------------------------------------
this.has_any_keys = function(owner, cfg) {
this.has_any_keys = (owner, cfg) => {
var key, ref;

@@ -425,3 +425,3 @@ ref = this._walk_keys(owner, this._get_keys_cfg(cfg));

//-----------------------------------------------------------------------------------------------------------
this.walk_keys = function(owner, cfg) {
this.walk_keys = (owner, cfg) => {
return this._walk_keys(owner, this._get_keys_cfg(cfg));

@@ -483,2 +483,16 @@ };

//-----------------------------------------------------------------------------------------------------------
this.xray = (owner, base = {}) => {
var k, ref;
ref = this._walk_keys(owner, {
hidden: true,
symbols: true,
builtins: false
});
for (k of ref) {
base[k] = owner[k];
}
return base;
};
//===========================================================================================================

@@ -485,0 +499,0 @@ // TREE

2

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

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

@@ -47,2 +47,8 @@

* **`GUY.props.xray: ( owner, host ) ->`**—A little bit the inverse to `GUY.props.hide()`, it will return an
object with all key/value pairs set that were found on `owner` after applying `GUY.props.keys owner, {
hidden: true, symbols: true, builtins: false, }`. When `host` is set, that value will be used to store the
key/value pairs in, possibly overwriting existing keys. This method is useful for printing and debugging
objects with non-enumerable and/or symbol keys.
* **`GUY.props.def_oneoff: ()`**

@@ -49,0 +55,0 @@

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