Comparing version 2.1.1 to 2.1.2
@@ -6,3 +6,3 @@ { | ||
"type": "commonjs", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"main": "./index.js", | ||
@@ -9,0 +9,0 @@ "types": "./index.d.ts", |
@@ -34,4 +34,6 @@ 'use strict'; | ||
} else if (proxyStateMap.has(value)) { | ||
const [target2] = proxyStateMap.get(value); | ||
desc.value = createSnapshotDefault(target2, version); | ||
const [target2, ensureVersion] = proxyStateMap.get( | ||
value | ||
); | ||
desc.value = createSnapshotDefault(target2, ensureVersion()); | ||
} | ||
@@ -38,0 +40,0 @@ Object.defineProperty(snap, key, desc); |
@@ -254,2 +254,3 @@ 'use strict'; | ||
forEach(cb) { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -261,2 +262,3 @@ map.forEach((index) => { | ||
*values() { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -268,5 +270,7 @@ for (const index of map.values()) { | ||
keys() { | ||
this.epoch; | ||
return this.values(); | ||
}, | ||
*entries() { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -288,2 +292,3 @@ for (const index of map.values()) { | ||
intersection(other) { | ||
this.epoch; | ||
const otherSet = proxySet(other); | ||
@@ -299,2 +304,3 @@ const resultSet = proxySet(); | ||
isDisjointFrom(other) { | ||
this.epoch; | ||
const otherSet = proxySet(other); | ||
@@ -304,2 +310,3 @@ return this.size === other.size && [...this.values()].every((value) => !otherSet.has(value)); | ||
isSubsetOf(other) { | ||
this.epoch; | ||
const otherSet = proxySet(other); | ||
@@ -309,2 +316,3 @@ return this.size <= other.size && [...this.values()].every((value) => otherSet.has(value)); | ||
isSupersetOf(other) { | ||
this.epoch; | ||
const otherSet = proxySet(other); | ||
@@ -314,2 +322,3 @@ return this.size >= other.size && [...otherSet].every((value) => this.has(value)); | ||
symmetricDifference(other) { | ||
this.epoch; | ||
const resultSet = proxySet(); | ||
@@ -325,2 +334,3 @@ const otherSet = proxySet(other); | ||
union(other) { | ||
this.epoch; | ||
const resultSet = proxySet(); | ||
@@ -438,2 +448,3 @@ const otherSet = proxySet(other); | ||
forEach(cb) { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -445,2 +456,3 @@ map.forEach((index, key) => { | ||
*entries() { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -452,2 +464,3 @@ for (const [key, index] of map) { | ||
*keys() { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -459,2 +472,3 @@ for (const key of map.keys()) { | ||
*values() { | ||
this.epoch; | ||
const map = getMapForThis(this); | ||
@@ -461,0 +475,0 @@ for (const index of map.values()) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88493
1962