Socket
Socket
Sign inDemoInstall

jscrambler

Package Overview
Dependencies
61
Maintainers
10
Versions
171
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.1.0 to 8.1.1

6

CHANGELOG.md
# jscrambler
## 8.1.1
### Patch Changes
- [5bb3289]: Added proxy protocol option
## 8.1.0

@@ -4,0 +10,0 @@

14

dist/client.js

@@ -197,13 +197,2 @@ "use strict";

}
/**
* Monkey-patch to inject a custom Cert CA into TLS.connect
* options.
*/
if (agentOptions.ca) {
const oriCallback = _httpsProxyAgent.default.prototype.callback;
_httpsProxyAgent.default.prototype.callback = function (req, opts) {
return oriCallback.call(this, req, _objectSpread(_objectSpread({}, opts), agentOptions));
};
}
settings.proxy = false;

@@ -213,3 +202,4 @@ const proxyConfig = _objectSpread({

port,
auth: formattedAuth
auth: formattedAuth,
protocol: proxy.protocol || "http"
}, agentOptions);

@@ -216,0 +206,0 @@ settings.httpsAgent = new _httpsProxyAgent.default(proxyConfig);

{
"name": "jscrambler",
"description": "Jscrambler API client.",
"version": "8.1.0",
"version": "8.1.1",
"homepage": "https://github.com/jscrambler/jscrambler",

@@ -6,0 +6,0 @@ "author": "Jscrambler <support@jscrambler.com>",

@@ -287,2 +287,3 @@ # [![Jscrambler](https://media.jscrambler.com/images/logo_500px.png)](https://jscrambler.com/?utm_source=github.com&utm_medium=referral)

proxy: {
protocol: '', // 'http' by default
host: '',

@@ -289,0 +290,0 @@ port: 1234,

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc