roku-deploy
Advanced tools
Comparing version 3.12.1 to 3.12.2
@@ -9,2 +9,8 @@ # Changelog | ||
## [3.12.2](https://github.com/rokucommunity/roku-deploy/compare/v3.12.1...v3.12.2) - 2024-10-18 | ||
### Fixed | ||
- updated regex to find a signed package on `/plugin_package` page ([#176](https://github.com/rokucommunity/roku-deploy/pull/176)) | ||
## [3.12.1](https://github.com/rokucommunity/roku-deploy/compare/v3.12.0...v3.12.1) - 2024-07-19 | ||
@@ -11,0 +17,0 @@ ### Changed |
@@ -568,6 +568,12 @@ "use strict"; | ||
} | ||
let pkgSearchMatches = /<a href="(pkgs\/[^\.]+\.pkg)">/.exec(results.body); | ||
//grab the package url from the JSON on the page if it exists (https://regex101.com/r/1HUXgk/1) | ||
let pkgSearchMatches = /"pkgPath"\s*:\s*"(.*?)"/.exec(results.body); | ||
if (pkgSearchMatches) { | ||
return pkgSearchMatches[1]; | ||
} | ||
//for some reason we couldn't find the pkgPath from json, look in the <a> tag | ||
pkgSearchMatches = /<a href="(pkgs\/[^\.]+\.pkg)">/.exec(results.body); | ||
if (pkgSearchMatches) { | ||
return pkgSearchMatches[1]; | ||
} | ||
throw new errors.UnknownDeviceResponseError('Unknown error signing package', results); | ||
@@ -574,0 +580,0 @@ } |
{ | ||
"name": "roku-deploy", | ||
"version": "3.12.1", | ||
"version": "3.12.2", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
191772
2462