You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@the-grid/immutable

Package Overview
Dependencies
Maintainers
11
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-grid/immutable - npm Package Compare versions

Comparing version

to
1.1.11

17

lib/struct/Struct.js

@@ -31,3 +31,4 @@ 'use strict';

var defaultConfig = {
defaultCache: true
defaultCache: true,
cacheByHashCode: false
};

@@ -53,2 +54,3 @@

var defaultCache = _config.defaultCache;
var cacheByHashCode = _config.cacheByHashCode;

@@ -366,3 +368,3 @@ // cache

}
if (_val.hashCode && typeof _val.hashCode === 'function') {
if (cacheByHashCode && _val.hashCode && typeof _val.hashCode === 'function') {
cachePathCursor += ' ';

@@ -376,3 +378,3 @@ cachePathCursor += _val.hashCode();

cachePathCursor += _val;
} else if (_val._HASH_CODE) {
} else if (cacheByHashCode && _val._HASH_CODE) {
cachePathCursor += ' ';

@@ -429,3 +431,3 @@ cachePathCursor += _val._HASH_CODE;

}
if (_val2.hashCode && typeof _val2.hashCode === 'function') {
if (cacheByHashCode && _val2.hashCode && typeof _val2.hashCode === 'function') {
cachePathCursor += ' ';

@@ -439,3 +441,3 @@ cachePathCursor += _val2.hashCode();

cachePathCursor += _val2;
} else if (_val2._HASH_CODE) {
} else if (cacheByHashCode && _val2._HASH_CODE) {
cachePathCursor += ' ';

@@ -449,3 +451,2 @@ cachePathCursor += _val2._HASH_CODE;

}
//computedParams = computedParams.concat(depVals)
}

@@ -473,3 +474,3 @@

}
if (_val3.hashCode && typeof _val3.hashCode === 'function') {
if (cacheByHashCode && _val3.hashCode && typeof _val3.hashCode === 'function') {
cachePathCursor += ' ';

@@ -483,3 +484,3 @@ cachePathCursor += _val3.hashCode();

cachePathCursor += _val3;
} else if (_val3._HASH_CODE) {
} else if (cacheByHashCode && _val3._HASH_CODE) {
cachePathCursor += ' ';

@@ -486,0 +487,0 @@ cachePathCursor += _val3._HASH_CODE;

{
"name": "@the-grid/immutable",
"version": "1.1.10",
"version": "1.1.11",
"description": "Describe struct here",

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