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

vue-cli-plugin-paratus

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-cli-plugin-paratus - npm Package Compare versions

Comparing version 0.0.3 to 0.0.31

12

generator/index.js

@@ -8,2 +8,6 @@ const filesToDelete = [

// assert entryFile as main.ts
// https://github.com/vuejs/vue-cli/issues/3049
const entryFile = 'src/main.ts'
module.exports = (api, options) => {

@@ -30,14 +34,10 @@ // add normalize

// assert entryFile as main.ts
// https://github.com/vuejs/vue-cli/issues/3049
const entryFile = 'src/main.ts'
// delint this one file to avoid a lint warning
api.afterInvoke(() => {
const fs = require('fs')
const contentMain = fs.readFileSync(api.resolve(entryFile), {
const contentMain = fs.readFileSync(api.resolve(api.entryFile), {
encoding: 'utf-8',
})
const lines = contentMain.replace(';', '').replace('(h)', 'h')
fs.writeFileSync(entryFile, lines, {
fs.writeFileSync(api.entryFile, lines, {
encoding: 'utf-8',

@@ -44,0 +44,0 @@ })

{
"name": "vue-cli-plugin-paratus",
"version": "0.0.3",
"version": "0.0.31",
"description": "A vue-cli plugin to do my usual prep; it’s probably not for you",

@@ -5,0 +5,0 @@ "repository": {

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