Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Releases: TremayneChrist/ProtectJS

v3.1.0

15 Oct 15:13
Compare
Choose a tag to compare
  • Improved test coverage
  • Allowed functions to be modified, breaking access to private properties
  • Changed the way the module is exported

ProtectJS v3.1.0-alpha.0

26 Feb 17:42
Compare
Choose a tag to compare
Pre-release

This pre-release includes prototype support for ES6 classes

ProtectJS v3.0.1

03 Sep 22:01
Compare
Choose a tag to compare

Prevent access from other protected objects

ProtectJS v3.0.0

16 Aug 20:53
Compare
Choose a tag to compare

Release Notes

New features

  • Uses Object.defineProperty which removes the use of function rewrites
  • Performance improvement as it is using native get/set
  • Includes in-depth testing for future improvements and reliability
  • Support for both constructed objects (prototype) and literals
  • Support for Browser and Node
  • Support for all property types, not just functions. Now you can protect anything!

Breaking changes

  • setTimeout/setInterval can no longer be used to call private properties.
  • protect function no longer returns the protected object as this is now reserved for future enhancements.
  • Extend is no longer supported
  • Override is no longer supported
  • Options have been removed
  • Obfuscation support has been removed

ProtectJS v2.0.1

25 Jun 13:24
Compare
Choose a tag to compare

Added support for setInterval()

Removed releases from package

ProtectJS v2.0.0

22 Apr 12:59
Compare
Choose a tag to compare

Initial GitHub Release

Extend protected objects
Override protected objects
Fix - Private method call fails from within a setTimeout
Bug fixes