@types/js-yaml
Advanced tools
Comparing version 3.10.1 to 3.11.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for js-yaml 3.10 | ||
// Type definitions for js-yaml 3.11 | ||
// Project: https://github.com/nodeca/js-yaml | ||
@@ -7,5 +7,7 @@ // Definitions by: Bart van der Schoor <https://github.com/Bartvds>, Sebastian Clausen <https://github.com/sclausen> | ||
export function safeLoad(str: string, opts?: LoadOptions): any; | ||
export function load(str: string, opts?: LoadOptions): any; | ||
export type DocumentLoadResult = object | undefined; | ||
export function safeLoad(str: string, opts?: LoadOptions): DocumentLoadResult; | ||
export function load(str: string, opts?: LoadOptions): DocumentLoadResult; | ||
export class Type { | ||
@@ -30,5 +32,9 @@ constructor(tag: string, opts?: TypeConstructorOptions); | ||
export function safeLoadAll(str: string, iterator?: (doc: any) => void, opts?: LoadOptions): any; | ||
export function loadAll(str: string, iterator?: (doc: any) => void, opts?: LoadOptions): any; | ||
export function safeLoadAll(str: string, iterator?: undefined, opts?: LoadOptions): DocumentLoadResult[]; | ||
export function safeLoadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): undefined; | ||
export function loadAll(str: string, iterator?: undefined, opts?: LoadOptions): DocumentLoadResult[]; | ||
export function loadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): undefined; | ||
export function safeDump(obj: any, opts?: DumpOptions): string; | ||
@@ -35,0 +41,0 @@ export function dump(obj: any, opts?: DumpOptions): string; |
{ | ||
"name": "@types/js-yaml", | ||
"version": "3.10.1", | ||
"version": "3.11.0", | ||
"description": "TypeScript definitions for js-yaml", | ||
@@ -25,4 +25,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "6c0c2cd8f92c2b0d16e4454061d83e8e4d89a4aa4f30966c9f109d5d76ab2049", | ||
"typesPublisherContentHash": "40e64f7a90c26db1ca462938bd4b69ef2cf53c0ab0c20e590b73217f4ac561bf", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 22 Nov 2017 18:02:14 GMT | ||
* Last updated: Tue, 27 Mar 2018 18:51:52 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
Sorry, the diff of this file is not supported yet
6992
95