esbuild-plugin-obfuscator
Advanced tools
Comparing version 1.2.2 to 1.2.4
{ | ||
"name": "esbuild-plugin-obfuscator", | ||
"version": "1.2.2", | ||
"version": "1.2.4", | ||
"description": "An esbuild plugin that obfuscates JavaScript using javascript-obfuscator.", | ||
@@ -30,3 +30,3 @@ "main": "esbuild-plugin-obfuscator.js", | ||
"dependencies": { | ||
"esbuild": "^0.24.0", | ||
"esbuild": "^0.24.2", | ||
"javascript-obfuscator": "^4.1.1", | ||
@@ -33,0 +33,0 @@ "micromatch": "^4.0.8" |
@@ -1,2 +0,2 @@ | ||
# esbuild-obfuscator-plugin | ||
# esbuild-plugin-obfuscator | ||
@@ -10,3 +10,3 @@ A plugin for [esbuild](https://esbuild.github.io/) that obfuscates JavaScript using [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator). This plugin allows developers to selectively obfuscate JavaScript files during the build process, enhancing security by making the code more difficult to read and understand. | ||
```bash | ||
npm install esbuild-obfuscator-plugin --save-dev | ||
npm install esbuild-plugin-obfuscator --save-dev | ||
``` | ||
@@ -16,3 +16,3 @@ | ||
To use the `esbuild-obfuscator-plugin`, import it in your build script and configure it according to your needs. Below is an example of how to set up the plugin with `esbuild`: | ||
To use the `esbuild-plugin-obfuscator`, import it in your build script and configure it according to your needs. Below is an example of how to set up the plugin with `esbuild`: | ||
@@ -23,3 +23,3 @@ ### Example | ||
import esbuild from 'esbuild'; | ||
import { ObfuscatorPlugin } from 'esbuild-obfuscator-plugin'; | ||
import { ObfuscatorPlugin } from 'esbuild-plugin-obfuscator'; | ||
@@ -26,0 +26,0 @@ // Run esbuild with the obfuscator plugin and micromatch file filtering |
Updatedesbuild@^0.24.2