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

transvueify-plugin-babel

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

transvueify-plugin-babel - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

index.js
const babel = require('babel-core');
module.exports = function(compiledVueFile) {
module.exports = function(compiledVueFile, filename) {
if (!compiledVueFile.script) {
return compiledVueFile;
}
const babelOutput = babel.transform(compiledVueFile.script.content);
const babelOutput = babel.transform(compiledVueFile.script.content, {filename});
compiledVueFile.script.content = babelOutput.code;
return compiledVueFile;
};
{
"name": "transvueify-plugin-babel",
"version": "0.0.1",
"version": "0.0.2",
"description": "A babel plugin for transvueify",

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

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