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

modelled-ui-transformer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modelled-ui-transformer - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

13

dist/index.js

@@ -50,6 +50,2 @@ "use strict";

if (me.property.type === "Identifier") {
var kv = {
type: "Literal",
value: "bindToPath"
};
object.properties.push(createProperty("object", me.object));

@@ -60,2 +56,11 @@ object.properties.push(createProperty("path", createLiteral(me.property.name)));

}
if (lv == "bindSelectionTo") {
if (x.value.type == "MemberExpression") {
var me = x.value;
if (me.property.type === "Identifier") {
object.properties.push(createProperty("selectionObject", me.object));
object.properties.push(createProperty("selectionPath", createLiteral(me.property.name)));
}
}
}
}

@@ -62,0 +67,0 @@ });

{
"name": "modelled-ui-transformer",
"version": "0.0.2",
"version": "0.0.3",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -57,6 +57,2 @@ /// <reference path="../typings/main.d.ts" />

if (me.property.type === "Identifier") {
var kv:ESTree.Literal = {
type: "Literal",
value: "bindToPath"
};
object.properties.push(createProperty("object", me.object));

@@ -66,4 +62,12 @@ object.properties.push(createProperty("path", createLiteral((<ESTree.Identifier>me.property).name)))

}
}
if (lv == "bindSelectionTo") {
if (x.value.type == "MemberExpression") {
var me = <ESTree.MemberExpression>x.value;
if (me.property.type === "Identifier") {
object.properties.push(createProperty("selectionObject", me.object));
object.properties.push(createProperty("selectionPath", createLiteral((<ESTree.Identifier>me.property).name)))
}
}
}
}

@@ -70,0 +74,0 @@ })

Sorry, the diff of this file is not supported yet

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