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

@applitools/types

Package Overview
Dependencies
Maintainers
23
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/types - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

5

CHANGELOG.md

@@ -6,2 +6,7 @@ # Changelog

## 1.0.14 - 2021/9/15
- add `never` as default type argument value to `Selector` type to use it as stand alone type
- make `transformSelector` optional same as other transformers
## 1.0.13 - 2021/9/9

@@ -8,0 +13,0 @@

4

package.json
{
"name": "@applitools/types",
"version": "1.0.13",
"version": "1.0.14",
"keywords": [

@@ -51,3 +51,3 @@ "applitools",

"devDependencies": {
"@applitools/sdk-release-kit": "0.13.2",
"@applitools/sdk-release-kit": "0.13.3",
"@types/node": "^14.14.7",

@@ -54,0 +54,0 @@ "@typescript-eslint/eslint-plugin": "^4.7.0",

@@ -21,3 +21,3 @@ /// <reference types="node" />

};
export declare type Selector<TSelector> = TSelector | string | {
export declare type Selector<TSelector = never> = TSelector | string | {
selector: TSelector | string;

@@ -33,5 +33,5 @@ type?: string;

isSelector(selector: any): selector is TSelector;
transformDriver?(driver: TDriver): TDriver;
transformElement?(element: TElement): TElement;
transformSelector(selector: TSelector | Selector<TSelector>): TSelector;
transformDriver?(driver: any): TDriver;
transformElement?(element: any): TElement;
transformSelector?(selector: Selector<TSelector>): TSelector;
extractContext?(element: TDriver | TContext): TContext;

@@ -38,0 +38,0 @@ extractSelector?(element: TElement): TSelector;

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