nemo-observable-util
Advanced tools
Comparing version 5.3.5 to 5.3.6
@@ -715,4 +715,15 @@ 'use strict'; | ||
var hasOwnProperty$1 = Object.prototype.hasOwnProperty; | ||
var wellKnownSymbols = new Set(Object.getOwnPropertyNames(Symbol).map(function (key) { return Symbol[key]; }).filter(function (value) { return typeof value === 'symbol'; })); | ||
var wellKnownSymbols = new Set(); | ||
Object.getOwnPropertyNames(Symbol).forEach(function (key) { | ||
try { | ||
var value = Symbol[key]; | ||
if (typeof value === 'symbol') { | ||
wellKnownSymbols.add(value); | ||
} | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
}); | ||
// intercept get operations on observables to know which reaction uses their properties | ||
@@ -719,0 +730,0 @@ function get(target, key, receiver) { |
@@ -653,4 +653,15 @@ 'use strict'; | ||
const hasOwnProperty$1 = Object.prototype.hasOwnProperty; | ||
const wellKnownSymbols = new Set(Object.getOwnPropertyNames(Symbol).map(key => Symbol[key]).filter(value => typeof value === 'symbol')); | ||
const wellKnownSymbols = new Set(); | ||
Object.getOwnPropertyNames(Symbol).forEach(key => { | ||
try { | ||
const value = Symbol[key]; | ||
if (typeof value === 'symbol') { | ||
wellKnownSymbols.add(value); | ||
} | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
}); | ||
// intercept get operations on observables to know which reaction uses their properties | ||
@@ -657,0 +668,0 @@ function get(target, key, receiver) { |
@@ -711,4 +711,15 @@ var connectionStore = new WeakMap(); | ||
var hasOwnProperty$1 = Object.prototype.hasOwnProperty; | ||
var wellKnownSymbols = new Set(Object.getOwnPropertyNames(Symbol).map(function (key) { return Symbol[key]; }).filter(function (value) { return typeof value === 'symbol'; })); | ||
var wellKnownSymbols = new Set(); | ||
Object.getOwnPropertyNames(Symbol).forEach(function (key) { | ||
try { | ||
var value = Symbol[key]; | ||
if (typeof value === 'symbol') { | ||
wellKnownSymbols.add(value); | ||
} | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
}); | ||
// intercept get operations on observables to know which reaction uses their properties | ||
@@ -715,0 +726,0 @@ function get(target, key, receiver) { |
@@ -649,4 +649,15 @@ const connectionStore = new WeakMap(); | ||
const hasOwnProperty$1 = Object.prototype.hasOwnProperty; | ||
const wellKnownSymbols = new Set(Object.getOwnPropertyNames(Symbol).map(key => Symbol[key]).filter(value => typeof value === 'symbol')); | ||
const wellKnownSymbols = new Set(); | ||
Object.getOwnPropertyNames(Symbol).forEach(key => { | ||
try { | ||
const value = Symbol[key]; | ||
if (typeof value === 'symbol') { | ||
wellKnownSymbols.add(value); | ||
} | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
}); | ||
// intercept get operations on observables to know which reaction uses their properties | ||
@@ -653,0 +664,0 @@ function get(target, key, receiver) { |
{ | ||
"name": "nemo-observable-util", | ||
"version": "5.3.5", | ||
"version": "5.3.6", | ||
"description": "Simple transparent reactivity with 100% language coverage. Made with ES6 Proxies.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs.es5.js", |
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
130023
3010