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

jsdc

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsdc - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

2

package.json
{
"name": "jsdc",
"version": "0.5.5",
"version": "0.5.6",
"description": "compiler ecmascript6 to ecmascript5",

@@ -5,0 +5,0 @@ "maintainers": [

@@ -50,2 +50,18 @@ var homunculus = require('homunculus');

}
else if(prmr.name() == JsNode.PRMREXPR
&& (parent.name() == JsNode.RETSTMT
|| parent.name() == JsNode.ARGLIST)) {
if(node.size() == 1) {
var first = node.first();
if(first.name() == JsNode.TOKEN) {
if(!start) {
this.jsdc.appendBefore(':' + first.token().content());
}
}
else if(first.name() == JsNode.METHOD) {
first = first.first();
this.method[first.nid()] = true;
}
}
}
}

@@ -52,0 +68,0 @@ },

@@ -50,2 +50,18 @@ define(function(require, exports, module){var homunculus = require('homunculus');

}
else if(prmr.name() == JsNode.PRMREXPR
&& (parent.name() == JsNode.RETSTMT
|| parent.name() == JsNode.ARGLIST)) {
if(node.size() == 1) {
var first = node.first();
if(first.name() == JsNode.TOKEN) {
if(!start) {
this.jsdc.appendBefore(':' + first.token().content());
}
}
else if(first.name() == JsNode.METHOD) {
first = first.first();
this.method[first.nid()] = true;
}
}
}
}

@@ -52,0 +68,0 @@ },

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