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

nemo-observable-util

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nemo-observable-util - npm Package Compare versions

Comparing version 5.3.6 to 5.3.7

10

dist/cjs.es5.js

@@ -830,6 +830,14 @@ 'use strict';

var isIECompatibleMode = !window.Proxy.toString().includes('native code');
function createObservable(obj) {
// if it is a complex built-in object or a normal object, wrap it
var handlers = getHandlers(obj) || baseHandlers;
var observable = new Proxy(obj, handlers);
var filterHandlers = isIECompatibleMode ? {
get: handlers.get,
set: handlers.set,
apply: handlers.apply,
construct: handlers.construct
} : handlers;
var observable = new Proxy(obj, filterHandlers);
// save these to switch between the raw object and the wrapped object with ease later

@@ -836,0 +844,0 @@ rawToProxy.set(obj, observable);

@@ -766,6 +766,14 @@ 'use strict';

const isIECompatibleMode = !window.Proxy.toString().includes('native code');
function createObservable(obj) {
// if it is a complex built-in object or a normal object, wrap it
const handlers = getHandlers(obj) || baseHandlers;
const observable = new Proxy(obj, handlers);
const filterHandlers = isIECompatibleMode ? {
get: handlers.get,
set: handlers.set,
apply: handlers.apply,
construct: handlers.construct
} : handlers;
const observable = new Proxy(obj, filterHandlers);
// save these to switch between the raw object and the wrapped object with ease later

@@ -772,0 +780,0 @@ rawToProxy.set(obj, observable);

@@ -826,6 +826,14 @@ var connectionStore = new WeakMap();

var isIECompatibleMode = !window.Proxy.toString().includes('native code');
function createObservable(obj) {
// if it is a complex built-in object or a normal object, wrap it
var handlers = getHandlers(obj) || baseHandlers;
var observable = new Proxy(obj, handlers);
var filterHandlers = isIECompatibleMode ? {
get: handlers.get,
set: handlers.set,
apply: handlers.apply,
construct: handlers.construct
} : handlers;
var observable = new Proxy(obj, filterHandlers);
// save these to switch between the raw object and the wrapped object with ease later

@@ -832,0 +840,0 @@ rawToProxy.set(obj, observable);

@@ -762,6 +762,14 @@ const connectionStore = new WeakMap();

const isIECompatibleMode = !window.Proxy.toString().includes('native code');
function createObservable(obj) {
// if it is a complex built-in object or a normal object, wrap it
const handlers = getHandlers(obj) || baseHandlers;
const observable = new Proxy(obj, handlers);
const filterHandlers = isIECompatibleMode ? {
get: handlers.get,
set: handlers.set,
apply: handlers.apply,
construct: handlers.construct
} : handlers;
const observable = new Proxy(obj, filterHandlers);
// save these to switch between the raw object and the wrapped object with ease later

@@ -768,0 +776,0 @@ rawToProxy.set(obj, observable);

2

package.json
{
"name": "nemo-observable-util",
"version": "5.3.6",
"version": "5.3.7",
"description": "Simple transparent reactivity with 100% language coverage. Made with ES6 Proxies.",

@@ -5,0 +5,0 @@ "main": "dist/cjs.es5.js",

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