@appium/types
Advanced tools
Comparing version 0.10.2 to 0.10.3
@@ -6,10 +6,4 @@ /** | ||
*/ | ||
import { Element } from './util'; | ||
/** | ||
* A W3C or JSONWP element. | ||
*/ | ||
export interface Element<Id extends string = string> { | ||
ELEMENT?: Id; | ||
'element-6066-11e4-a52e-4f735466cecf': Id; | ||
} | ||
/** | ||
* @group Actions | ||
@@ -16,0 +10,0 @@ */ |
@@ -51,2 +51,18 @@ import type { Class as _Class } from 'type-fest'; | ||
export type AnyCase<T extends string> = string extends T ? string : T extends `${infer F1}${infer F2}${infer R}` ? `${Uppercase<F1> | Lowercase<F1>}${Uppercase<F2> | Lowercase<F2>}${AnyCase<R>}` : T extends `${infer F}${infer R}` ? `${Uppercase<F> | Lowercase<F>}${AnyCase<R>}` : ''; | ||
/** | ||
* A W3C element. | ||
* @see https://www.w3.org/TR/webdriver1/#elements | ||
*/ | ||
export interface Element<Id extends string = string> { | ||
/** | ||
* For backwards compatibility with JSONWP only. | ||
* @deprecated Use {@linkcode element-6066-11e4-a52e-4f735466cecf} instead. | ||
*/ | ||
ELEMENT?: Id; | ||
/** | ||
* This property name is the string constant W3C element identifier used to identify an object as | ||
* a W3C element. | ||
*/ | ||
'element-6066-11e4-a52e-4f735466cecf': Id; | ||
} | ||
//# sourceMappingURL=util.d.ts.map |
@@ -7,9 +7,3 @@ /** | ||
/** | ||
* A W3C or JSONWP element. | ||
*/ | ||
export interface Element<Id extends string = string> { | ||
ELEMENT?: Id; | ||
'element-6066-11e4-a52e-4f735466cecf': Id; | ||
} | ||
import {Element} from './util'; | ||
@@ -16,0 +10,0 @@ /** |
@@ -75,1 +75,18 @@ import type {Class as _Class} from 'type-fest'; | ||
: ''; | ||
/** | ||
* A W3C element. | ||
* @see https://www.w3.org/TR/webdriver1/#elements | ||
*/ | ||
export interface Element<Id extends string = string> { | ||
/** | ||
* For backwards compatibility with JSONWP only. | ||
* @deprecated Use {@linkcode element-6066-11e4-a52e-4f735466cecf} instead. | ||
*/ | ||
ELEMENT?: Id; | ||
/** | ||
* This property name is the string constant W3C element identifier used to identify an object as | ||
* a W3C element. | ||
*/ | ||
'element-6066-11e4-a52e-4f735466cecf': Id; | ||
} |
{ | ||
"name": "@appium/types", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"description": "Various type declarations used across Appium", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
"@types/ws": "8.5.4", | ||
"type-fest": "3.7.1" | ||
"type-fest": "3.7.2" | ||
}, | ||
@@ -56,3 +56,3 @@ "engines": { | ||
}, | ||
"gitHead": "d514ebdd7ebd27bb236509d0a3d580f0f18a34e5", | ||
"gitHead": "a11a6ede3320c0a58aad82fd7fc4c8b8ba75ae95", | ||
"typedoc": { | ||
@@ -59,0 +59,0 @@ "entryPoint": "./lib/index.ts" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
277519
6277
+ Addedtype-fest@3.7.2(transitive)
- Removedtype-fest@3.7.1(transitive)
Updatedtype-fest@3.7.2