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.1 to 1.0.2

2

index.js

@@ -45,3 +45,3 @@ "use strict";

var value = ((_b = (_a = Object.getOwnPropertyDescriptor(raw, key)) === null || _a === void 0 ? void 0 : _a.get) !== null && _b !== void 0 ? _b : raw[key]);
obj.set({}, key, typeof value === 'function' ? value.apply(obj.proxy) : value);
obj.set({}, key, typeof value === 'function' ? value.bind(obj.proxy) : value);
}

@@ -48,0 +48,0 @@ return obj.proxy;

{
"name": "ag-reactive",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

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

@@ -76,5 +76,10 @@ "use strict";

}
if (!(prop in this.props))
return;
return this.props[prop].value;
if (prop in this.props)
return this.props[prop].value;
if (this.isArray) {
var api = ([])[prop];
if (typeof api === 'function') {
return api.bind(this.proxy);
}
}
};

@@ -81,0 +86,0 @@ ReactiveObject.prototype.tryGetNumber = function (prop) {

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