New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

code-push

Package Overview
Dependencies
Maintainers
6
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-push - npm Package Compare versions

Comparing version 1.8.1-beta to 1.9.0-beta

script/acquisition-sdk.ts

5

package.json
{
"name": "code-push",
"version": "1.8.1-beta",
"version": "1.9.0-beta",
"description": "Management SDK for the CodePush service",

@@ -20,4 +20,5 @@ "main": "script/index.js",

"q": "^1.4.1",
"superagent": "^1.7.2"
"superagent": "^1.7.2",
"superagent-proxy": "^1.0.0"
}
}

0

README.md

@@ -0,0 +0,0 @@ # CodePush Management SDK (Node.js)

@@ -5,2 +5,4 @@ var os = require("os");

var Promise = Q.Promise;
var superproxy = require("superagent-proxy");
superproxy(superagent);
var packageJson = require("../package.json");

@@ -33,3 +35,3 @@ if (typeof window === "undefined") {

var AccountManager = (function () {
function AccountManager(accessKey, customHeaders, serverUrl) {
function AccountManager(accessKey, customHeaders, serverUrl, proxy) {
if (!accessKey)

@@ -40,2 +42,3 @@ throw new Error("An access key must be specified.");

this._serverUrl = serverUrl || AccountManager.SERVER_URL;
this._proxy = proxy;
}

@@ -53,2 +56,4 @@ Object.defineProperty(AccountManager.prototype, "accessKey", {

var request = superagent.get(_this._serverUrl + (_a = ["/authenticated"], _a.raw = ["/authenticated"], urlEncode(_a)));
if (_this._proxy)
request.proxy(_this._proxy);
_this.attachCredentials(request);

@@ -193,2 +198,4 @@ request.end(function (err, res) {

var request = superagent.post(_this._serverUrl + (_a = ["/apps/", "/deployments/", "/release"], _a.raw = ["/apps/", "/deployments/", "/release"], urlEncode(_a, appName, deploymentName)));
if (_this._proxy)
request.proxy(_this._proxy);
_this.attachCredentials(request);

@@ -274,2 +281,4 @@ var file;

var request = superagent[method](_this._serverUrl + endpoint);
if (_this._proxy)
request.proxy(_this._proxy);
_this.attachCredentials(request);

@@ -276,0 +285,0 @@ if (requestBody) {

@@ -0,0 +0,0 @@ // ./superagent-mock-config.js file

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