Socket
Socket
Sign inDemoInstall

webpack-javascript-obfuscator-plugin

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-javascript-obfuscator-plugin - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

dist/utils/spinner.js

@@ -8,7 +8,3 @@ "use strict";

module.exports = function () {
this.spinner = ora({// spinner: {
// interval: 80, // Optional
// frames: ['-', '+', '-']
// }
});
this.spinner = ora('Loading unicorns');

@@ -15,0 +11,0 @@ this.start = function (message, color) {

2

package.json
{
"name": "webpack-javascript-obfuscator-plugin",
"version": "1.0.5",
"version": "1.0.6",
"description": "一个简易的webpack加密javascript的插件",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

/*
* @Author: spark
* @Date: 2021-01-28 17:03:50
* @LastEditTime: 2021-02-04 10:32:27
* @LastEditTime: 2021-02-04 10:53:36
* @LastEditors: spark

@@ -56,3 +56,3 @@ * @Description: 趣看天下前端开发

compiler.hooks.run.tap(pluginName, function () {
progress.start("AST加密构建过程开始!", "blue");
progress.warn("AST加密构建过程开始!", "blue");
});

@@ -78,7 +78,7 @@

};
progress.setText(filename + ": AST加密完成");
progress.warn(filename + ": AST加密完成");
}
}
}
progress.succeed("加密进程结束");
progress.warn("加密进程结束");
callback();

@@ -85,0 +85,0 @@ });

@@ -21,3 +21,3 @@ var ora = require("ora");

};
this.warn = function (message, color) {
this.warn = function (message, color = 'yellow') {
this.spinner.warn(chalk[color](message));

@@ -24,0 +24,0 @@ };

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