This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
Releases: TremayneChrist/ProtectJS
Releases · TremayneChrist/ProtectJS
v3.1.0
ProtectJS v3.1.0-alpha.0
This pre-release includes prototype support for ES6 classes
ProtectJS v3.0.1
Prevent access from other protected objects
ProtectJS v3.0.0
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
Added support for setInterval()
Removed releases from package
ProtectJS v2.0.0
Initial GitHub Release
Extend protected objects
Override protected objects
Fix - Private method call fails from within a setTimeout
Bug fixes