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

code-push

Package Overview
Dependencies
Maintainers
2
Versions
56
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.5.0-beta to 1.5.1-beta

2

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

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

@@ -77,3 +77,3 @@ /// <reference path="../definitions/harness.d.ts" />

};
AcquisitionManager.prototype.reportStatusDeploy = function (package, status, callback) {
AcquisitionManager.prototype.reportStatusDeploy = function (deployedPackage, status, callback) {
var url = this._serverUrl + "reportStatus/deploy";

@@ -85,5 +85,5 @@ var body = {

};
if (package) {
body.label = package.label;
body.appVersion = package.appVersion;
if (deployedPackage) {
body.label = deployedPackage.label;
body.appVersion = deployedPackage.appVersion;
switch (status) {

@@ -120,3 +120,3 @@ case AcquisitionStatus.DeploymentSucceeded:

};
AcquisitionManager.prototype.reportStatusDownload = function (package, callback) {
AcquisitionManager.prototype.reportStatusDownload = function (downloadedPackage, callback) {
var url = this._serverUrl + "reportStatus/download";

@@ -126,3 +126,3 @@ var body = {

deploymentKey: this._deploymentKey,
label: package.label
label: downloadedPackage.label
};

@@ -129,0 +129,0 @@ this._httpRequester.request(2 /* POST */, url, JSON.stringify(body), function (error, response) {

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