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

coffee-fmt

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee-fmt - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

6

Coffeescript.js

@@ -81,3 +81,3 @@ var FrontendFactory = require('./frontend/FrontendFactory')

}
console.log(s);
printf("%s", s);
throw new Error(s);

@@ -142,6 +142,6 @@ break;

} catch (e) {
console.log('***** Internal translator error *****');
console.log(e.stack);
// console.log('***** Internal translator error *****');
// console.log(e.stack);
throw e;
}
};

@@ -12,2 +12,3 @@ /**

, EOL = require('../../constants').get("EOL")
, EOF = require('../../constants').get("EOF")
, extract

@@ -91,2 +92,7 @@ , extractString

}
if (currentChar === EOF) {
this.type = ERROR
this.value = "Unterminated string literal."
return null;
}
currentChar = this.nextChar();

@@ -110,2 +116,7 @@ }

}
if (currentChar === EOF) {
this.type = ERROR
this.value = "Unterminated string literal."
return null;
}
currentChar = this.nextChar();

@@ -112,0 +123,0 @@ }

{
"name": "coffee-fmt",
"version": "0.10.1",
"version": "0.10.2",
"description": "a `gofmt` inspired Coffeescript formatter/beautifier.",

@@ -5,0 +5,0 @@ "author": "Steven R. Terpe <srterpe@gmail.com> (https://github.com/sterpe)",

@@ -32,3 +32,7 @@ # coffee-fmt

coffee = fmt.format(coffee, options);
try {
coffee = fmt.format(coffee, options);
} catch (e) {
//Whoops...something went wrong, error details logged to console.
}

@@ -35,0 +39,0 @@ console.log(coffee);

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