Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 1.0.3 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": "",

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