Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-hazy

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-hazy - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

2

package.json
{
"name": "grunt-hazy",
"description": "A grunt plugin that encrypt/encode/obfuscate your javascript and php files.",
"version": "0.1.5",
"version": "0.1.6",
"homepage": "https://github.com/ralphcrisostomo/grunt-hazy",

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

@@ -70,7 +70,15 @@ # grunt-hazy

#### JAVASCRIPT
In this example, we have the basic setup. So if the `sample.js` file has the content :
```js
// Still on development! :)
console.log('wasap');
```
The generated result would be :
```js
$=~[];$={___:++$,$$$$:(![]+"")[$],__$:++$,$_$_:(![]+"")[$],_$_:++$,$_$$:({}+"")[$],$$_$:($[$]+"")[$],_$$:++$,$$$_:(!""+"")[$],$__:++$,$_$:++$,$$__:({}+"")[$],$$_:++$,$$$:++$,$___:++$,$__$:++$};$.$_=($.$_=$+"")[$.$_$]+($._$=$.$_[$.__$])+($.$$=($.$+"")[$.__$])+((!$)+"")[$._$$]+($.__=$.$_[$.$$_])+($.$=(!""+"")[$.__$])+($._=(!""+"")[$._$_])+$.$_[$.$_$]+$.__+$._$+$.$;$.$$=$.$+(!""+"")[$._$$]+$.__+$._+$.$+$.$$;$.$=($.___)[$.$_][$.$_];$.$($.$($.$$+"\""+$.$$__+$._$+"\\"+$.__$+$.$_$+$.$$_+"\\"+$.__$+$.$$_+$._$$+$._$+(![]+"")[$._$_]+$.$$$_+"."+(![]+"")[$._$_]+$._$+"\\"+$.__$+$.$__+$.$$$+"('\\"+$.__$+$.$$_+$.$$$+$.$_$_+"\\"+$.__$+$.$$_+$._$$+$.$_$_+"\\"+$.__$+$.$$_+$.___+"');"+"\"")())();
```
### Usage Examples

@@ -151,3 +159,3 @@ #### BASIC SETUP

## Release History
0.1.5: Added javascript encoder
0.1.0: Initial release
- 0.1.5: Added javascript encoder
- 0.1.0: Initial release
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc