vue-cli-plugin-paratus
Advanced tools
Comparing version 0.0.31 to 0.0.33
@@ -8,6 +8,2 @@ const filesToDelete = [ | ||
// assert entryFile as main.ts | ||
// https://github.com/vuejs/vue-cli/issues/3049 | ||
const entryFile = 'src/main.ts' | ||
module.exports = (api, options) => { | ||
@@ -33,14 +29,2 @@ // add normalize | ||
}) | ||
// delint this one file to avoid a lint warning | ||
api.afterInvoke(() => { | ||
const fs = require('fs') | ||
const contentMain = fs.readFileSync(api.resolve(api.entryFile), { | ||
encoding: 'utf-8', | ||
}) | ||
const lines = contentMain.replace(';', '').replace('(h)', 'h') | ||
fs.writeFileSync(api.entryFile, lines, { | ||
encoding: 'utf-8', | ||
}) | ||
}) | ||
} |
{ | ||
"name": "vue-cli-plugin-paratus", | ||
"version": "0.0.31", | ||
"version": "0.0.33", | ||
"description": "A vue-cli plugin to do my usual prep; it’s probably not for you", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
34374
90