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

cosy-js

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosy-js - npm Package Compare versions

Comparing version 0.4.12 to 0.4.13

19

lib/snuggle/cosy/control.js

@@ -56,3 +56,3 @@ // Generated by CoffeeScript 1.3.3

function Control(frame, fn, args) {
var apply, arg, index, ns, parts, _base, _base1, _i, _j, _len, _len1, _name, _ref2, _ref3,
var apply, arg, index, ns, parts, _base, _base1, _base2, _base3, _i, _j, _len, _len1, _name, _name1, _ref2, _ref3, _ref4, _ref5,
_this = this;

@@ -93,2 +93,11 @@ this.frame = frame;

parts = /^([&])?(@|%)(.*)$/.exec(arg);
if (isRef(args[index])) {
if ((_ref2 = (_base = args[index].metadata).controls) == null) {
_base.controls = {};
}
if ((_ref3 = (_base1 = args[index].metadata.controls)[_name = this.instance]) == null) {
_base1[_name] = {};
}
args[index].metadata.controls[this.instance].passRef = true;
}
if ((parts != null) && parts[2] === '@' && (parts[3] != null)) {

@@ -101,7 +110,7 @@ args[index] = this.props[parts[3]];

if (isRef(args[index])) {
if ((_ref2 = (_base = args[index].metadata).controls) == null) {
_base.controls = {};
if ((_ref4 = (_base2 = args[index].metadata).controls) == null) {
_base2.controls = {};
}
if ((_ref3 = (_base1 = args[index].metadata.controls)[_name = this.instance]) == null) {
_base1[_name] = {};
if ((_ref5 = (_base3 = args[index].metadata.controls)[_name1 = this.instance]) == null) {
_base3[_name1] = {};
}

@@ -108,0 +117,0 @@ if ((parts != null) && parts[1] === '&') {

{
"name": "cosy-js",
"version": "0.4.12",
"version": "0.4.13",
"description": "A cosy little library.",

@@ -5,0 +5,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

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