Socket
Socket
Sign inDemoInstall

vite-plugin-javascript-obfuscator

Package Overview
Dependencies
88
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

2

package.json
{
"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. |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc