🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ag-reactive

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-reactive - npm Package Compare versions

Comparing version

to
1.0.4

22

index.js

@@ -7,2 +7,24 @@ "use strict";

var ReactiveKey = '__reactive';
var consoleLog = console.log;
function unwrap(value) {
if (isRaw(value))
return value;
if (Array.isArray(value)) {
return value.map(unwrap);
}
else {
var obj = {};
for (var key in value) {
obj[key] = unwrap(value[key]);
}
return obj;
}
}
console.log = function () {
var d = [];
for (var _i = 0; _i < arguments.length; _i++) {
d[_i] = arguments[_i];
}
consoleLog.apply(void 0, unwrap(d));
};
function isRaw(value) {

@@ -9,0 +31,0 @@ return typeof value === 'string'

2

package.json
{
"name": "ag-reactive",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "author": "",