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

broccoli-coffee

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-coffee - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

4

CHANGELOG.md
# master
# 0.3.0
* Add support for literate CoffeeScript (`.litcoffee` and `.coffee.md`)
# 0.2.0

@@ -4,0 +8,0 @@

10

index.js

@@ -14,7 +14,11 @@ var Filter = require('broccoli-filter')

CoffeeScriptFilter.prototype.extensions = ['coffee']
CoffeeScriptFilter.prototype.extensions = ['coffee', 'litcoffee', 'coffee.md']
CoffeeScriptFilter.prototype.targetExtension = 'js'
CoffeeScriptFilter.prototype.processString = function (string) {
var coffeeScriptOptions = { bare: this.bare }
CoffeeScriptFilter.prototype.processString = function (string, srcFile) {
var coffeeScriptOptions = {
bare: this.bare,
literate: coffeeScript.helpers.isLiterate(srcFile)
}
try {

@@ -21,0 +25,0 @@ return coffeeScript.compile(string, coffeeScriptOptions)

{
"name": "broccoli-coffee",
"description": "CoffeeScript filter for Broccoli",
"version": "0.2.0",
"version": "0.3.0",
"author": "Jo Liss <joliss42@gmail.com>",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -18,2 +18,5 @@ # broccoli-coffee

All `.coffee` files (as well as `.litcoffee` and `.coffee.md`) will be
replaced with compiled `.js` files.
### Options

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