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

ljs

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ljs - npm Package Compare versions

Comparing version 0.2.5 to 0.3.0

CHANGELOG.md

18

bin/ljs.js

@@ -45,16 +45,7 @@ #!/usr/bin/env node

function toBool(x) {
if (x === "true") {
return true;
} else if (x === "false") {
return false;
} else {
return true;
}
}
program.usage("[options] file.js");
program.version(pkgJson.version);
program.option("-o, --output <file>", "Output file");
program.option("-c, --code <switch>", "Include code in output file", toBool);
program.option("--no-code", "Don't include code in the output file");
program.option("--no-meld", "Don't meld consecutive line-breaks into single");

@@ -80,2 +71,7 @@ function cli(argv) {

// Meld
if (program.meld) {
litContents = litContents.replace(/\n\n+/g, "\n\n");
}
// Output

@@ -82,0 +78,0 @@ if (program.output) {

{
"name": "ljs",
"description": "Generate docs from your source",
"version": "0.2.5",
"version": "0.3.0",
"homepage": "https://github.com/phadej/ljs",

@@ -35,3 +35,3 @@ "author": {

"devDependencies": {
"eslint": "^0.8.2",
"eslint": "^0.10.2",
"jscs": "^1.6.2",

@@ -49,6 +49,6 @@ "jshint": "~2.5.1"

"esprima": "~1.2.2",
"commander": "~2.3.0",
"glob": "~4.0.2",
"commander": "~2.5.1",
"glob": "~4.3.1",
"underscore": "~1.7.0"
}
}

@@ -28,11 +28,11 @@ # ljs

## Release History
- 0.2.5 Use eslint and jscs. Update underscore
- 0.2.4 Use commander
- 0.2.3 Strip only empty lines from beginning of code blocks
- 0.2.2 Whitespace handling for included files
- 0.2.1 Dependencies update
- 0.2.0 Initial release
- **0.3.0** &mdash; *2014-12-21* &mdash; `--no-code` &amp; `--no-meld`
- **0.2.5** &mdash; *2014-10-11* &mdash; Use eslint and jscs. Update underscore
- **0.2.4** &mdash; *2014-07-18* &mdash; Use commander
- **0.2.3** &mdash; *2014-07-03* &mdash; Strip only empty lines from beginning of code blocks
- **0.2.2** &mdash; *2014-07-02* &mdash; Whitespace handling for included files
- **0.2.1** &mdash; *2014-07-01* &mdash; Dependencies update
- **0.2.0** &mdash; *2014-05-25* &mdash; Initial release
- Split out of [grunt-literate](https://github.com/phadej/grunt-literate) 0.1.5

@@ -53,3 +53,2 @@

The MIT License (MIT)

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