New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

formerly

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formerly - npm Package Compare versions

Comparing version

to
0.2.0

@@ -31,3 +31,3 @@ 'use strict';

this.references().forEach(function (name) {
return _this.unsubscribers.push(_this.context.onValue(name, function () {
return _this.unsubscribers.push(_this.context.onValue(_this.context.getAbsoluteName(name), function () {
return _this.forceUpdate();

@@ -42,5 +42,2 @@ }));

},
getName: function getName() {
return this.context.getAbsoluteName(this.props.in);
},
references: function references() {

@@ -56,7 +53,7 @@ var props = this.props;

this.references().forEach(function (_n) {
var name = _this2.context.getAbsoluteName(_n);
this.references().forEach(function (relativeName) {
var name = _this2.context.getAbsoluteName(relativeName);
var value = _this2.context.getValue(name);
if (value === undefined) return;
state[name] = value;
state[relativeName] = value;
});

@@ -63,0 +60,0 @@

{
"name": "formerly",
"version": "0.2.0-0",
"version": "0.2.0",
"description": "yet another form abstraction library for react",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet