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

@types/browserslist-useragent

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/browserslist-useragent - npm Package Compare versions

Comparing version 3.0.3 to 3.0.4

12

browserslist-useragent/index.d.ts

@@ -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

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