Socket
Socket
Sign inDemoInstall

js-confuser

Package Overview
Dependencies
6
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345Next

1.7.1

Diff

michaelxf
published 1.7.0 •

Changelog

Source

1.7.0

Updates

  • Fixed #89

    • Flatten to not break functions with invalid identifier names
  • Fixed #88

    • Stack to not break functions with syncing arguments
  • Fixed #91

    • Minify to preserve function.length property
  • Fixed #95

    • Rename Variables optimized to obfuscate much faster
  • Added documentation pages for RGF and Control Flow Flattening

  • Removed eval option in favor of rgf option.

    • Removed the "all" option from rgf.
  • Removed nameRecycling option

michaelxf
published 1.6.0 •

Changelog

Source

1.6.0

Website Redesign + Updates

The website is now redesigned and live at js-confuser.com!

  • Check out the source code for the website here: https://github.com/MichaelXF/js-confuser-website
New feature

selfDefending

Prevents the use of code beautifiers or formatters against your code.

Identical to Obfuscator.io's Self Defending

Improvements
  • Fixed #56

    • Calculator improved to apply to more operators
  • ES5 to handle destructuring member expressions

  • Improved Control Flow Flattening techniques

    • Outlining expressions
    • Control object to store numbers and strings
  • Updated the String concealing encoding algorithm

  • Optimizations / Small fixes

michaelxf
published 1.5.9 •

Changelog

Source

1.5.9

Big update

This updates comes with many bug fixes:

  • Fixed #72
    • ES5 to handle Class Fields

Note: The ES5 option is not meant to replace Babel. It is only intended to undo ES6 features the obfuscator may have added to your code.

  • Fixed #74

    • Anti Tooling to not break Symbols
  • Fixed #75

    • Minify to properly handle Object constructors
  • Fixed #76

    • Minify to not cause syntax errors when objects used ^, `, [, ] as property keys
  • Fixed #77

    • Dispatcher to not break code that uses generic names like toString and hasOwnProperty
  • Fixed #78

    • Object Extraction to not error on objects with spread elements
  • Fixed #79

    • JsConfuser now supports BigInt literals
  • Fixed #80

    • Rename Variables to not break code that had var and let variables in the same scope
  • Fixed #81

    • Control Flow Flattening to not break typeof expressions
  • Fixed #82

    • String Concealing to not break class constructors
michaelxf
published 1.5.8 •

Changelog

Source

1.5.8

Several fixes

  • Fixed #46

    • Updated the validation on lock options
  • Fixed #68

    • Name Recycling fixed to not break certain function declarations
  • Fixed #69, #70 and #71

    • Import statements to be properly handled
  • Slight improvements to String Concealing

michaelxf
published 1.5.7 •

Changelog

Source

1.5.7

Countermeasures function fixes

This update focuses on fixing Countermeasures bugs

The countermeasures is custom callback function to invoke when a lock is triggered.

  • Fixed #66

    • RGF to properly handle the countermeasures function
  • Added additional code to prevent an infinite loop from occurring

  • Slight improvements to RGF

michaelxf
published 1.5.6 •

Changelog

Source

1.5.6

Website changed and RGF fixes

The website is back at a different domain now: https://master--hungry-shannon-c1ce6b.netlify.app/

This update focuses on fixing RGF bugs

  • Fixed #64

    • RGF to properly handle Arrow functions and function expressions
  • RGF will no longer change getter/setter methods

  • RGF will no longer change class methods

  • RGF now works when using mangled variable names

  • Minify will remove unreachable code following a Throw statement

michaelxf
published 1.5.5 •

Changelog

Source

1.5.5

Updates

  • Fixed #53

    • Shuffle to not use common variable names like x
  • Fixed #60

    • Rename Variables to properly handle function parameters
  • Fixed #62

    • Rename Variables to properly handle catch-clause parameters
michaelxf
published 1.5.4 •

Changelog

Source

1.5.4

Small fix

  • Fixed #45
    • Opaque predicates fixed to not this cause error
michaelxf
published 1.5.3 •

Changelog

Source

1.5.3

Shuffle fix

  • Fixed #48
    • Shuffle was re-assigning const variables, fixed in this version.
2345Next
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