Socket
Socket
Sign inDemoInstall

protractor

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protractor - npm Package Compare versions

Comparing version 4.0.12 to 4.0.13

13

built/element.d.ts

@@ -583,14 +583,3 @@ /// <reference types="selenium-webdriver" />

elementArrayFinder_: ElementArrayFinder;
/**
* Access the underlying actionResult of ElementFinder.
*
* @alias element(locator).then(thenFunction)
* @param {function(webdriver.promise.Promise)} fn Function which takes
* the value of the underlying actionResult.
* @param {function(Error)} errorFn
*
* @returns {webdriver.promise.Promise} Promise which contains the results
* of evaluating fn.
*/
then(fn: Function, errorFn?: Function): wdpromise.Promise<any>;
then: (fn: Function, errorFn?: Function) => wdpromise.Promise<any>;
constructor(browser_: ProtractorBrowser, elementArrayFinder: ElementArrayFinder);

@@ -597,0 +586,0 @@ [key: string]: any;

@@ -782,2 +782,3 @@ "use strict";

_this.browser_ = browser_;
_this.then = null;
if (!elementArrayFinder) {

@@ -790,2 +791,3 @@ throw new Error('BUG: elementArrayFinder cannot be empty');

if (_this.parentElementArrayFinder.actionResults_) {
// Access the underlying actionResult of ElementFinder.
_this.then =

@@ -834,16 +836,2 @@ function (fn, errorFn) {

}
/**
* Access the underlying actionResult of ElementFinder.
*
* @alias element(locator).then(thenFunction)
* @param {function(webdriver.promise.Promise)} fn Function which takes
* the value of the underlying actionResult.
* @param {function(Error)} errorFn
*
* @returns {webdriver.promise.Promise} Promise which contains the results
* of evaluating fn.
*/
ElementFinder.prototype.then = function (fn, errorFn) {
return null;
};
ElementFinder.fromWebElement_ = function (browser, webElem, locator) {

@@ -850,0 +838,0 @@ var getWebElements = function () {

2

package.json

@@ -77,3 +77,3 @@ {

},
"version": "4.0.12"
"version": "4.0.13"
}

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