Socket
Socket
Sign inDemoInstall

@types/metaget

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

metaget/index.d.ts

@@ -7,4 +7,4 @@ // Type definitions for metaget 1.0

export interface Options {
headers?: Record<string, any>;
timeout?: number;
headers?: Record<string, any> | undefined;
timeout?: number | undefined;
}

@@ -11,0 +11,0 @@

{
"name": "@types/metaget",
"version": "1.0.0",
"version": "1.0.1",
"description": "TypeScript definitions for metaget",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/metaget",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "96ee054a20dbaced577023d3a2eb7bb102bc9dfe13487783e27e07085e5415a0",
"typeScriptVersion": "3.1"
"typesPublisherContentHash": "8d3e1edf8b096c1d04d201a6678ce2de66cc6ea574cd24dbf1ffc2a9645cd225",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,26 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/metaget.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/metaget/index.d.ts)
````ts
// Type definitions for metaget 1.0
// Project: https://github.com/mrvautin/metaget#readme
// Definitions by: Florian Imdahl <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface Options {
headers?: Record<string, any> | undefined;
timeout?: number | undefined;
}
export type Result = Record<string, string>;
export type Callback<T> = (error: Error | null, data: Result) => T;
export function fetch<T>(uri: string, userArgs: Options, callback: Callback<T>): Promise<T>;
export function fetch<T>(uri: string, callback: Callback<T>): Promise<T>;
export function fetch(uri: string, userArgs?: Options): Promise<Result>;
````
### Additional Details
* Last updated: Fri, 21 Aug 2020 05:10:37 GMT
* Last updated: Thu, 08 Jul 2021 18:50:43 GMT
* Dependencies: none

@@ -14,0 +35,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc