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

jscrambler

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jscrambler - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

16

jscrambler-client.js

@@ -13,2 +13,4 @@ 'use strict';

var debug = !!process.env.DEBUG;
/**

@@ -98,2 +100,3 @@ * @class JScramblerClient

';' + path + ';' + buildSortedQuery(paramsCopy);
debug && console.log('Signature data: ' + signatureData);
var hmac = crypto.createHmac('sha256', this.options.keys.secretKey.toUpperCase());

@@ -171,4 +174,15 @@ hmac.update(signatureData);

var signedData;
var options = {timeout: 0};
var options = {
open_timeout: 0,
read_timeout: 0
};
if (!params) params = {};
else {
var _keys = keys(params);
for (var i = 0, l = _keys.length; i < l; i++) {
if(params[_keys[i]] instanceof Array && _keys[i] !== 'files') {
params[_keys[i]] = params[_keys[i]].join(',');
}
}
}
// If post sign data and set the request as multipart

@@ -175,0 +189,0 @@ if (method === 'POST') {

8

lib/cli.js

@@ -35,7 +35,9 @@ 'use strict';

namePrefix: false,
renameAll: true,
renameAll: false,
renameInclude: false,
renameLocal: true,
selfDefending: true,
selfDefending: false,
stringSplitting: false,
whitespace: false
whitespace: true,
preserveAnnotations: true
};

@@ -42,0 +44,0 @@

{
"name": "jscrambler",
"description": "JScrambler API client.",
"version": "0.7.1",
"version": "0.7.2",
"homepage": "https://github.com/jscrambler/node-jscrambler",

@@ -30,19 +30,19 @@ "author": {

"dependencies": {
"commander": "^2.5.1",
"commander": "^2.8.1",
"flavored-path": "0.0.8",
"fs-extra": "^0.12.0",
"glob": "^4.3.4",
"jszip": "^2.4.0",
"lodash.assign": "^2.4.1",
"lodash.clone": "^2.4.1",
"lodash.defaults": "^2.4.1",
"lodash.keys": "^2.4.1",
"lodash.omit": "^2.4.1",
"lodash.pluck": "^2.4.1",
"lodash.size": "^2.4.1",
"needle": "^0.7.10",
"q": "^1.1.2",
"rc": "^0.5.4",
"snake-case": "^1.1.0",
"temp": "^0.8.1"
"fs-extra": "^0.23.1",
"glob": "^5.0.14",
"jszip": "^2.5.0",
"lodash.assign": "^3.2.0",
"lodash.clone": "^3.0.3",
"lodash.defaults": "^3.1.2",
"lodash.keys": "^3.1.2",
"lodash.omit": "^3.1.0",
"lodash.pluck": "^3.1.2",
"lodash.size": "^3.0.2",
"needle": "^0.10.0",
"q": "^1.4.1",
"rc": "^1.1.0",
"snake-case": "^1.1.1",
"temp": "^0.8.3"
},

@@ -52,3 +52,3 @@ "devDependencies": {

"grunt-contrib-clean": "^0.6.0",
"grunt-jasmine-node": "^0.2.1"
"grunt-jasmine-node": "^0.3.1"
},

@@ -55,0 +55,0 @@ "main": "jscrambler",

@@ -163,3 +163,6 @@ # JScrambler Client for Node.js

.then(function (res) {
fs.outputFileSync('dist.zip', res);
return fs.writeFileSync('dist.zip', res);
})
.catch(function (error) {
console.log(error);
});

@@ -166,0 +169,0 @@ ```

Sorry, the diff of this file is not supported yet

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