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

roku-test-automation

Package Overview
Dependencies
Maintainers
0
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roku-test-automation - npm Package Compare versions

Comparing version 2.0.7 to 2.0.8

17

client/dist/OnDeviceComponent.js

@@ -165,9 +165,3 @@ "use strict";

args.convertResponseToJsonCompatible = false;
let result;
if (args.field !== undefined) {
result = await this.sendRequest(ODC.RequestType.setValue, args, options);
}
else {
result = await this.sendRequest(ODC.RequestType.setValue, this.breakOutFieldFromKeyPath(args), options);
}
const result = await this.sendRequest(ODC.RequestType.setValue, this.breakOutFieldFromKeyPath(args), options);
return result.json;

@@ -546,4 +540,7 @@ }

}
const keyPathParts = args.keyPath.split('.');
return Object.assign(Object.assign({}, args), { field: keyPathParts.pop(), keyPath: keyPathParts.join('.') });
if (args.field === undefined) {
const keyPathParts = args.keyPath.split('.');
return Object.assign(Object.assign({}, args), { field: keyPathParts.pop(), keyPath: keyPathParts.join('.') });
}
return args;
}

@@ -805,3 +802,3 @@ setupClientSocket(options) {

const date = new Date;
const formattedDate = `${utils_1.utils.lpad(date.getMonth())}-${utils_1.utils.lpad(date.getDate())} ${utils_1.utils.lpad(date.getHours())}:${utils_1.utils.lpad(date.getMinutes())}:${utils_1.utils.lpad(date.getSeconds())}:${utils_1.utils.lpad(date.getMilliseconds(), 3)}`;
const formattedDate = `${utils_1.utils.lpad(date.getMonth() + 1)}-${utils_1.utils.lpad(date.getDate())} ${utils_1.utils.lpad(date.getHours())}:${utils_1.utils.lpad(date.getMinutes())}:${utils_1.utils.lpad(date.getSeconds())}:${utils_1.utils.lpad(date.getMilliseconds(), 3)}`;
console.log(`${formattedDate} [ODC][${this.device.getCurrentDeviceConfig().host}] ${message}`, ...args);

@@ -808,0 +805,0 @@ }

@@ -307,2 +307,4 @@ /// <reference types="node" />

retryTimeout?: number;
/** The field that we want to observe for changes on. If not supplied, the last part of `keyPath` will be */
field?: string;
/** If provided will only return when this matches (including if it already equals that value) */

@@ -309,0 +311,0 @@ match?: MatchObject | ComparableValueTypes;

{
"name": "roku-test-automation",
"version": "2.0.7",
"version": "2.0.8",
"description": "Helps with automating functional tests",

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

@@ -40,2 +40,6 @@ # Roku Test Automation

## Contributing & Getting Help
There is always more things that we would like to add than we have time for. If you would like to help contribute the best spot to reach out is in the [Roku Developers Slack](https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA). (We're in the #rta channel). If you are having trouble getting RTA working feel free to reach out there as well. If you see an issue or would like to see something added then feel free to [create a new Github Issue](https://github.com/triwav/roku-test-automation/issues/new)
## v2.0 Changes

@@ -42,0 +46,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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