@types/browserslist-useragent
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -12,11 +12,11 @@ // Type definitions for browserslist-useragent 3.0 | ||
export interface BrowserslistUseragentOptions { | ||
browsers?: string[]; | ||
env?: string; | ||
ignorePatch?: boolean; | ||
ignoreMinor?: boolean; | ||
allowHigherVersions?: boolean; | ||
browsers?: string[] | undefined; | ||
env?: string | undefined; | ||
ignorePatch?: boolean | undefined; | ||
ignoreMinor?: boolean | undefined; | ||
allowHigherVersions?: boolean | undefined; | ||
/** | ||
* @default process.cwd() | ||
*/ | ||
path?: string; | ||
path?: string | undefined; | ||
} | ||
@@ -23,0 +23,0 @@ |
{ | ||
"name": "@types/browserslist-useragent", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "TypeScript definitions for browserslist-useragent", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browserslist-useragent", | ||
"license": "MIT", | ||
@@ -22,4 +23,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8773fcebee7df82903e40bbdfe1f11dbc070dd661068bca4514bf153afd32485", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "ad8e1eec994edd95b1a3127f731563feb6049cb1825e3fe0a720861bb3af2136", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,37 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browserslist-useragent. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/browserslist-useragent/index.d.ts) | ||
````ts | ||
// Type definitions for browserslist-useragent 3.0 | ||
// Project: https://github.com/browserslist/browserslist-useragent | ||
// Definitions by: nju33 <https://github.com/nju33> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export interface ResolvedUserAgent { | ||
family: string; | ||
version: string; | ||
} | ||
export interface BrowserslistUseragentOptions { | ||
browsers?: string[] | undefined; | ||
env?: string | undefined; | ||
ignorePatch?: boolean | undefined; | ||
ignoreMinor?: boolean | undefined; | ||
allowHigherVersions?: boolean | undefined; | ||
/** | ||
* @default process.cwd() | ||
*/ | ||
path?: string | undefined; | ||
} | ||
export function matchesUA( | ||
uaString: string, | ||
opts?: BrowserslistUseragentOptions | ||
): boolean; | ||
export function resolveUserAgent(uaString: string): ResolvedUserAgent; | ||
export function normalizeQuery(query: string): string; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 20 Apr 2021 17:31:19 GMT | ||
* Last updated: Thu, 08 Jul 2021 00:35:43 GMT | ||
* Dependencies: none | ||
@@ -14,0 +46,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4387
0
49