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

babel-plugin-virtual-jade

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-virtual-jade - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

build/index.js

@@ -52,3 +52,5 @@ 'use strict';

var jadeContent = _fs2.default.readFileSync(path, 'utf8');
return (0, _virtualJade2.default)(jadeContent);
return (0, _virtualJade2.default)(jadeContent, {
filename: path
});
};

@@ -55,0 +57,0 @@

{
"name": "babel-plugin-virtual-jade",
"version": "1.0.0",
"version": "1.1.0",
"description": "A Babel 6 plugin for inlining virtual-jade templates into js",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -33,3 +33,5 @@ import * as babylon from 'babylon';

const jadeContent = fs.readFileSync(path, 'utf8');
return vjade(jadeContent);
return vjade(jadeContent, {
filename: path,
});
};

@@ -36,0 +38,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