You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

jscrambler

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.6 to 0.7.0

2

lib/cli.js

@@ -22,5 +22,7 @@ 'use strict';

domainLock: false,
domainLockWarningFunction: false,
dotNotationElimination: true,
exceptionsList: false,
expirationDate: false,
expirationDateWarningFunction: false,
functionOutlining: true,

@@ -27,0 +29,0 @@ functionReorder: true,

10

package.json
{
"name": "jscrambler",
"description": "JScrambler API client.",
"version": "0.6.6",
"version": "0.7.0",
"homepage": "https://github.com/jscrambler/node-jscrambler",

@@ -30,6 +30,6 @@ "author": {

"dependencies": {
"commander": "^2.6.0",
"commander": "^2.5.1",
"flavored-path": "0.0.8",
"fs-extra": "^0.12.0",
"glob": "^4.2.1",
"glob": "^4.3.4",
"jszip": "^2.4.0",

@@ -45,4 +45,4 @@ "lodash.assign": "^2.4.1",

"q": "^1.1.2",
"rc": "^0.5.5",
"snake-case": "^1.0.1",
"rc": "^0.5.4",
"snake-case": "^1.1.0",
"temp": "^0.8.1"

@@ -49,0 +49,0 @@ },

# JScrambler Client for Node.js
- [RC config](#rc-config)
- [RC configuration](#rc-configuration)
- [CLI](#cli)

@@ -21,5 +21,7 @@ - [Required Fields](#required-fields)

- [domain_lock](#domain_lock)
- [domain_lock_warning_function](#domain_lock_warning_function)
- [dot_notation_elimination](#dot_notation_elimination)
- [exceptions_list](#exceptions_list)
- [expiration_date](#expiration_date)
- [expiration_date_warning_function](#expiration_date_warning_function)
- [function_outlining](#function_outlining)

@@ -65,35 +67,37 @@ - [function_reorder](#function_reorder)

--help output usage information
-V, --version output the version number
-c, --config [config] JScrambler configuration options
-o, --output [output] Output directory. If not specified the output is printed.
-a, --access-key <accessKey> Access key
-s, --secret-key <secretKey> Secret key
-h, --host [host] Hostname
-p, --port [port] Port
-v, --api-version [apiVersion] Version
--asserts-elimination [assertsElimination] Remove function definitions and function calls with a given name.
--browser-os-lock [browserOsLock] Locks a JavaScript application to run only on a specific Browser or Operating System.
--constant-folding Simplifies constant expressions at compile-time to make your code faster at run-time.
--dead-code Randomly injects dead code into the source code.
--dead-code-elimination Removes dead code and void code from your JavaScript.
--debugging-code-elimination [debuggingCodeElimination Removes statements and public variable declarations used to control the output of debugging messages that help you debug your code.
--dictionary-compression further shrink your source code
--domain-lock [domainLock] Locks your project to a list of domains you specify.
--dot-notation-elimination Transforms dot notation to subscript notation.
--exceptions-list [exceptionsList] list of exceptions that will never be replaced or used to create new declarations
--expiration-date [expirationDate] Sets your JavaScript to expire after a date (YYYY/MM/DD) of your choosing.
--function-outlining Turns statements into new function declarations.
--function-reorder Randomly reorders your source code's function declarations.
--ignore-files [ignoreFiles] Define a list of files (relative paths) that JScrambler must ignore.
--literal-hooking [literalHooking] Replaces literals by a randomly sized chain of ternary operators.
--literal-duplicates Replaces literal duplicates by a symbol.
--member-enumeration Replaces Browser and HTML DOM objects by a member enumeration.
--mode [mode] protection mode starter|mobile|html5|nodejs
--name-prefix [namePrefix] Set a prefix to be appended to the new names generated by JScrambler.
--rename-all Renames all identifiers found at your source code.
--rename-local Renames local names only.
--self-defending thwarting code tampering attempts by using anti-tampering and anti-debugging techniques.
--string-splitting [stringSplitting] split strings based on percentage of occurence in the source code input
--whitespace enable whitespace
--help
-V, --version
-c, --config [config]
-o, --output [output]
-a, --access-key <accessKey>
-s, --secret-key <secretKey>
-h, --host [host]
-p, --port [port]
-v, --api-version [apiVersion]
--asserts-elimination [assertsElimination]
--browser-os-lock [browserOsLock]
--constant-folding
--dead-code
--dead-code-elimination
--debugging-code-elimination [debuggingCodeElimination]
--dictionary-compression
--domain-lock [domainLock]
--domain-lock-warning-function [domainLockWarningFunction]
--dot-notation-elimination
--exceptions-list [exceptionsList]
--expiration-date [expirationDate]
--expiration-date-warning-function [expirationDateWarningFunction]
--function-outlining
--function-reorder
--ignore-files [ignoreFiles]
--literal-hooking [literalHooking]
--literal-duplicates
--member-enumeration
--mode [mode]
--name-prefix [namePrefix]
--rename-all
--rename-local
--self-defending
--string-splitting [stringSplitting]
--whitespace

@@ -123,3 +127,3 @@

```
where `config.json` is an object optionally containing any of the JScrambler options listed [here](#jscrambler-options).
where `config.json` is an object optionally containing any of the JScrambler options listed [here](#jscrambler-options), using the structure described [in the RC configuration](#rc-config).

@@ -237,2 +241,9 @@

### domain_lock_warning_function
Type: `String`
`name` - your domain lock warning function.
Executes a function whenever there's a domain lock violation.
### dot_notation_elimination

@@ -259,2 +270,9 @@ Type: `String`

### expiration_date_warning_function
Type: `String`
`name` - your expiration date warning function.
Executes a function whenever there's an expiration date violation.
### function_outlining

@@ -261,0 +279,0 @@ Type: `String`

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc