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

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.3 to 1.0.4

dist/utils/spinner.js

10

dist/index.js

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

* @Date: 2021-01-28 17:03:50
* @LastEditTime: 2021-02-02 17:13:22
* @LastEditTime: 2021-02-04 10:32:27
* @LastEditors: spark

@@ -16,2 +16,4 @@ * @Description: 趣看天下前端开发

var Spinner = require("./utils/spinner");
var pluginName = "JavaScriptObfuscatorPlugin";

@@ -57,4 +59,5 @@

var progress = new Spinner();
compiler.hooks.run.tap(pluginName, function () {
console.log("\nwebpack AST加密构建过程开始!\n");
progress.start("AST加密构建过程开始!", "blue");
});

@@ -79,3 +82,3 @@ compiler.hooks.emit.tapAsync(pluginName, function (compilation, callback) {

};
console.log("\n" + filename + ": AST加密完成\n");
progress.setText(filename + ": AST加密完成");
}

@@ -86,2 +89,3 @@ })();

progress.succeed("加密进程结束");
callback();

@@ -88,0 +92,0 @@ });

{
"name": "webpack-javascript-obfuscator-plugin",
"version": "1.0.3",
"version": "1.0.4",
"description": "一个简易的webpack加密javascript的插件",

@@ -8,3 +8,3 @@ "main": "dist/index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"build": "rimraf dist && babel index.js -d dist"
"build": "rimraf dist && babel src -d dist"
},

@@ -11,0 +11,0 @@ "keywords": [

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