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

roku-deploy

Package Overview
Dependencies
Maintainers
4
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roku-deploy - npm Package Compare versions

Comparing version 3.12.3 to 3.12.4

6

CHANGELOG.md

@@ -9,2 +9,8 @@ # Changelog

## [3.12.4](https://github.com/rokucommunity/roku-deploy/compare/v3.12.3...v3.12.4) - 2025-01-22
### Fixed
- fixed an issue with `577` error codes ([#182](https://github.com/rokucommunity/roku-deploy/pull/182))
## [3.12.3](https://github.com/rokucommunity/roku-deploy/compare/v3.12.2...v3.12.3) - 2024-12-06

@@ -11,0 +17,0 @@ ### Changed

4

dist/RokuDeploy.d.ts

@@ -95,2 +95,6 @@ /// <reference types="node" />

/**
* Checks to see if the exception is due to the device needing to check for updates
*/
private isUpdateRequiredError;
/**
* Converts existing loaded package to squashfs for faster loading packages

@@ -97,0 +101,0 @@ * @param options

@@ -369,3 +369,3 @@ "use strict";

async publish(options) {
var _a, _b, _c, _d, _e, _f;
var _a, _b, _c, _d;
options = this.getOptions(options);

@@ -423,2 +423,5 @@ if (!options.host) {

}
else if (this.isUpdateRequiredError(replaceError)) {
throw replaceError;
}
else {

@@ -432,3 +435,3 @@ requestOptions.formData.mysubmit = 'Install';

//if this is a 577 error, we have high confidence that the device needs to do an update check
if (((_f = (_e = e.results) === null || _e === void 0 ? void 0 : _e.response) === null || _f === void 0 ? void 0 : _f.statusCode) === 577) {
if (this.isUpdateRequiredError(e)) {
throw new errors.UpdateCheckRequiredError(response, requestOptions, e);

@@ -485,2 +488,9 @@ //a reset connection could be cause by several things, but most likely it's due to the device needing to check for updates

/**
* Checks to see if the exception is due to the device needing to check for updates
*/
isUpdateRequiredError(e) {
var _a, _b, _c;
return ((_b = (_a = e.results) === null || _a === void 0 ? void 0 : _a.response) === null || _b === void 0 ? void 0 : _b.statusCode) === 577 || (typeof ((_c = e.results) === null || _c === void 0 ? void 0 : _c.body) === 'string' && this.isUpdateCheckRequiredResponse(e.results.body));
}
/**
* Converts existing loaded package to squashfs for faster loading packages

@@ -487,0 +497,0 @@ * @param options

2

package.json
{
"name": "roku-deploy",
"version": "3.12.3",
"version": "3.12.4",
"description": "Package and publish a Roku application using Node.js",

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

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