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

ranma

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ranma - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

16

cmdify.js

@@ -40,10 +40,10 @@ var type = require('./type');

if(mmb.name() == JsNode.MMBEXPR) {
var leaves = mmb.leaves();
if(leaves[0].name() == JsNode.PRMREXPR
&& leaves[0].leaves()[0].name() == JsNode.TOKEN
&& leaves[0].leaves()[0].token().content() == 'define') {
end = leaves[0];
while(end.next()) {
end = end.next();
}
var token = mmb;
while(token.name() == JsNode.MMBEXPR) {
token = token.leaf(0);
}
if(token.name() == JsNode.PRMREXPR
&& token.leaf(0).name() == JsNode.TOKEN
&& token.leaf(0).token().content() == 'define') {
end = mmb.leaf(mmb.size() - 1);
end = end.token();

@@ -50,0 +50,0 @@ res.end = end.sIndex() + end.content().length;

{
"name": "ranma",
"version": "0.0.11",
"version": "0.0.12",
"description": "A converter between CommonJS/AMD/CMD/other",

@@ -37,5 +37,8 @@ "maintainers": [

"dependencies": {
"homunculus": "0.1.11"
"homunculus": "0.1.14"
},
"main": "./index",
"spm": {
"main": "./index"
},
"engines": {

@@ -42,0 +45,0 @@ "node": ">= 0.10.0"

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