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

jeeebot

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeeebot - npm Package Compare versions

Comparing version 0.0.11 to 0.0.13

24

generator.js

@@ -24,17 +24,15 @@ var _ = require("underscore-keypath");

_(this.descriptions).each(function (each) {
var lines = _(each.split(/[\r\n]+/g)).map(function (it){
return it.trim();
var lines = _(each.trim().split(/[\r\n]+/g)).map(function (it){
return indent + it.trim();
});
contents = contents.concat(lines);
if(lines.length == 1){
contents = contents.concat("/**" + lines[0] + " */");
}
else{
contents = contents.concat(["/**"], lines, ["*/"]);
}
});
if(contents.length == 1){
return "/// " + contents[0];
}
else{
var indented = _(contents).map(function (it){
return indent + it;
});
return ["/**"].concat(indented).concat(["*/"]).join("\n");
}
return contents.join("\n");
});

@@ -53,2 +51,4 @@

this.ok(JSON.stringify(this.options, null, " "));
model.prefix = this.options.fieldPrefix;

@@ -55,0 +55,0 @@ model.fieldStyle = this.options.fieldStyle;

@@ -25,4 +25,4 @@ #!/usr/bin/env node

var xcodeIO = require("./lib/xcode-io")();
this.options.inputs = xcodeIO.inputs;
this.options.output = xcodeIO.outputs[0];
options.inputs = xcodeIO.inputs;
options.output = xcodeIO.outputs[0];

@@ -29,0 +29,0 @@ var generator;

@@ -41,5 +41,8 @@ "use strict";

var xcodeInputs = resolve(createList(env, "SCRIPT_INPUT_FILE"));
var xcodeOutputs = createList(env, "SCRIPT_OUTPUT_FILE");
return {
"inputs" : pInputs.length > 0 ? pInputs : resolve(createList(env, "SCRIPT_INPUT_FILE")),
"outputs" : pOutputs || createList(env, "SCRIPT_OUTPUT_FILE")
"inputs" : xcodeInputs.length > 0 ? xcodeInputs : pInputs,
"outputs" : xcodeOutputs.length > 0 ? xcodeOutputs : pOutputs
};

@@ -46,0 +49,0 @@ };

@@ -7,3 +7,3 @@ {

"main" : "generator.js",
"version": "0.0.11",
"version": "0.0.13",

@@ -22,3 +22,3 @@ "scripts" : {

"glob" : "*",
"xpath" : "*",
"xpath" : "*",
"xmldom" : "*"

@@ -25,0 +25,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