ProtectJS icon indicating copy to clipboard operation
ProtectJS copied to clipboard

Private methods & properties in JavaScript

Results 8 ProtectJS issues
Sort by recently updated
recently updated
newest added

Add support for object properties.. ``` var obj = { name: 'Test Object', deep: { name: 'Another object' } } ``` Support depth option #7

enhancement
good first issue

Add support for internal asynchronous calls `animationFrame` `setTimeout` `setInterval` `ajax` `promises` `callbacks`

enhancement

- [x] Protect the prototype - [ ] Allow constructor to have private access - [ ] Support static properties

Hi @TremayneChrist I have found an error when there are two or more instances of different types. The error can be described with the next source code example: ``` function...

bug

ProtectJS can not protect the prototype and all of its instances at the same time. When protect prototype and an instance separately, the prototypes methods can access the instance protected...

- Deep object protection - Freeze - Seal - Protection prefix - Mode (undefined/throw) - Keys to protect ```js { deep: numberOfLevels || true, freeze: true, seal: true, protectionPrefix: '__',...

enhancement

```javascript class ES6_Object { constructor () { ... } get something () { ... } set something () { ... } someFunction () { ... } static otherFunction () {...

enhancement