Socket
Socket
Sign inDemoInstall

grunt-jscrambler

Package Overview
Dependencies
Maintainers
3
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-jscrambler - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "grunt-jscrambler",
"description": "Obfuscate your source files using the JScrambler API.",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/jscrambler/grunt-jscrambler",

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

@@ -9,3 +9,3 @@ /**

var _ = require('lodash');
var jScrambler = require('jscrambler').default;
var jscrambler = require('jscrambler').default;
var path = require('path');

@@ -22,15 +22,3 @@ var util = require('util');

jScrambler
.protectAndDownload({
host: options.host,
port: options.port,
keys: options.keys,
applicationId: options.applicationId,
filesSrc: this.filesSrc,
params: options.params
}, writeFile)
.then(done)
.catch(function (err) {
grunt.fail.fatal(util.inspect(err));
});
options.filesSrc = this.filesSrc;

@@ -50,2 +38,4 @@ function writeFile(buffer, file) {

grunt.file.write(destPath, buffer);
} else if (elem.dest) {
grunt.file.write(path.join(elem.dest, file), buffer);
}

@@ -55,3 +45,11 @@ });

}
jscrambler
.protectAndDownload(options, writeFile)
.then(done)
.catch(function (err) {
grunt.fail.fatal(util.inspect(err));
});
});
};
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