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.2 to 0.1.3

11

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

@@ -43,5 +43,10 @@ "author": {

"hazy",
"code",
"decode",
"encrypt",
"obfuscate",
"obfuscator",
"php",
"js"
"js",
"wordpress"
],

@@ -48,0 +53,0 @@ "dependencies": {

# grunt-hazy
> A grunt plugin that decode/obfuscate your `javascript` and `php` files.
> A grunt plugin that encrypt/decode/obfuscate your `javascript` and `php` files.

@@ -57,5 +57,9 @@

#### SETUP
In this example, we have the basic setup. So if the `sample.php` file has the content `<?php echo 'hello world'; ?>`, the generated result would be `<?php eval("?>".base64_decode("PD9waHAgZWNobyAnaGVsbG8gd29ybGQnOyA/Pg==")."<?");?>`
In this example, we have the basic setup. So if the `sample.php` file has the content:
```<?php echo 'hello world'; ?>```
The generated result would be :
```<?php eval("?>".base64_decode("PD9waHAgZWNobyAnaGVsbG8gd29ybGQnOyA/Pg==")."<?");?>```
#### BASIC SETUP
```js

@@ -77,3 +81,3 @@ grunt.initConfig({

php: {
expand: true,
expand: true,
cwd: 'src',

@@ -90,3 +94,3 @@ dest: 'dest',

js: {
expand: true,
expand: true,
cwd: 'src',

@@ -115,3 +119,3 @@ dest: 'dest',

js: {
expand: true,
expand: true,
cwd: 'src',

@@ -122,3 +126,3 @@ dest: 'dest',

all: {
expand: true,
expand: true,
cwd: 'src',

@@ -125,0 +129,0 @@ dest: 'dest',

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