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

docpad-plugin-coffeemugg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docpad-plugin-coffeemugg - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

5

out/coffeemugg.plugin.js

@@ -40,4 +40,7 @@ // Generated by CoffeeScript 1.6.3

g_context = cm.CMContext(cmOptions);
g_context.context = this;
g_context.templateData = templateData;
g_context.context = this;
g_context.content = templateData.content;
g_context.document = templateData.document;
g_context.documentModel = templateData.documentModel;
opts.content = g_context.render(content).toString();

@@ -44,0 +47,0 @@ return next();

2

package.json
{
"name": "docpad-plugin-coffeemugg",
"version": "2.0.1",
"version": "2.0.2",
"description": "Adds support for CoffeeMugg compilation to DocPad",

@@ -5,0 +5,0 @@ "homepage": "http://docpad.org/plugin/coffeemugg",

@@ -33,6 +33,10 @@ # CoffeeMugg Plugin for [DocPad](http://docpad.org)

Coffeemuggs methods are all in the @ object so to obtain the docpad object or templateData etc.. you can use
Coffeemuggs methods are all in the @\this scope so to obtain the docpad object or templateData etc.. you can use
```coffeescript
@context.docpad or @templateData etc..
@context.docpad
@templateData
@content
@document
@documentModel
```

@@ -43,3 +47,3 @@

```coffeescript
partial('my-partial', false, @templateData)
partial('my-partial', false, {@templateData} )
```

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