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

hem-compiler-jade

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hem-compiler-jade - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

index.js
exports.compile = function(path) {
return "var jade = require('hem-compiler-jade/node_modules/jade/lib/runtime'); module.exports = "+
return "module.exports = "+
require('jade').compile(

@@ -11,4 +11,4 @@ require('fs').readFileSync(path, 'utf8'),

}
).toString()
)
}
{
"name": "hem-compiler-jade",
"version": "0.1.2",
"version": "0.1.3",
"description": "jade support for hem",

@@ -5,0 +5,0 @@ "keywords": ["jade", "hem", "template"],

@@ -14,4 +14,5 @@ # Jade compiler for hem

2. Add `"hem-compiler-jade/node_modules/jade/lib/runtime"` to the
`dependencies` section of your `slug.json`.
2. Add `"node_modules/hem-compiler-jade/node_modules/jade/runtime.js"`
(or simply `"node_modules/jade/runtime.js"` if jade is in your `package.json`)
to the `libs` section of your `slug.json`.

@@ -18,0 +19,0 @@ 3. Add `"jade": "hem-compiler-jade"` to the `compilers` section of your

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