vite-plugin-javascript-obfuscator
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "vite-plugin-javascript-obfuscator", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A Vite Plugin for javascript-obfuscator", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
@@ -28,2 +28,3 @@ # vite-plugin-javascript-obfuscator | ||
compact: true, | ||
debugProtection: true, | ||
controlFlowFlattening: false, | ||
@@ -54,2 +55,3 @@ // ... [See more options](https://github.com/javascript-obfuscator/javascript-obfuscator) | ||
// compact: true, | ||
// debugProtection: true, | ||
// controlFlowFlattening: false, | ||
@@ -67,6 +69,6 @@ // ... [See more options](https://github.com/javascript-obfuscator/javascript-obfuscator) | ||
| :------------: | :-------: | :-----: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| **`include`** | `Array|String|RegExp|Function` | `[/\.(jsx?|tsx?|cjs|mjs|vue|svelte|astro)$/]` | Configure this option to include files | | ||
| **`exclude`** | `Array|String|RegExp|Function` | `[/node_modules/, /\.nuxt/]`| Configure this option to exclude files | | ||
| **`include`** | `Array\|String\|RegExp\|Function` | `[/\.(jsx?\|tsx?\|cjs\|mjs\|vue\|svelte\|astro)$/]` | Configure this option to include files | | ||
| **`exclude`** | `Array\|String\|RegExp\|Function` | `[/node_modules/, /\.nuxt/]`| Configure this option to exclude files | | ||
| **`options`** | `Object` | javascript-obfuscator default options | [See more options](https://github.com/javascript-obfuscator/javascript-obfuscator) | | ||
| **`apply`** | `'serve' | 'build' | ((this: void, config: UserConfig, env: ConfigEnv) => boolean)`| both serve and build. `() => true` | By default plugins are invoked for both serve and build. In cases where a plugin needs to be conditionally applied only during serve or build, use the apply property to only invoke them during `vite build` or `vite serve` | | ||
| **`apply`** | `'serve' \| 'build' \| ((this: void, config: UserConfig, env: ConfigEnv) => boolean)`| both serve and build. `() => true` | By default plugins are invoked for both serve and build. In cases where a plugin needs to be conditionally applied only during serve or build, use the apply property to only invoke them during `vite build` or `vite serve` | | ||
| **`debugger`** | `Boolean` | `false` | Used for debugging, Print out the path of matching or excluding files. | |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11076
72
0