@types/js-yaml
Advanced tools
Comparing version 3.12.1 to 3.12.2
// Type definitions for js-yaml 3.12 | ||
// Project: https://github.com/nodeca/js-yaml | ||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>, Sebastian Clausen <https://github.com/sclausen> | ||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds> | ||
// Sebastian Clausen <https://github.com/sclausen> | ||
// ExE Boss <https://github.com/ExE-Boss> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -19,5 +21,5 @@ // TypeScript Version: 2.2 | ||
predicate: ((data: object) => boolean) | null; | ||
represent: ((data: object) => any) | { [x: string]: (data: object) => any; } | null; | ||
represent: ((data: object) => any) | { [x: string]: (data: object) => any } | null; | ||
defaultStyle: string | null; | ||
styleAliases: { [x: string]: any; }; | ||
styleAliases: { [x: string]: any }; | ||
} | ||
@@ -32,9 +34,8 @@ | ||
export function safeLoadAll(str: string, iterator?: undefined, opts?: LoadOptions): any[]; | ||
export function safeLoadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): undefined; | ||
export function safeLoadAll(str: string, iterator?: null, opts?: LoadOptions): any[]; | ||
export function safeLoadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): void; | ||
export function loadAll(str: string, iterator?: undefined, opts?: LoadOptions): any[]; | ||
export function loadAll(str: string, iterator?: null, opts?: LoadOptions): any[]; | ||
export function loadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): void; | ||
export function loadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): undefined; | ||
export function safeDump(obj: any, opts?: DumpOptions): string; | ||
@@ -64,3 +65,3 @@ export function dump(obj: any, opts?: DumpOptions): string; | ||
/** Each tag may have own set of styles. - "tag" => "style" map. */ | ||
styles?: { [x: string]: any; }; | ||
styles?: { [x: string]: any }; | ||
/** specifies a schema to use. */ | ||
@@ -91,3 +92,3 @@ schema?: SchemaDefinition; | ||
defaultStyle?: string; | ||
styleAliases?: { [x: string]: any; }; | ||
styleAliases?: { [x: string]: any }; | ||
} | ||
@@ -94,0 +95,0 @@ |
{ | ||
"name": "@types/js-yaml", | ||
"version": "3.12.1", | ||
"version": "3.12.2", | ||
"description": "TypeScript definitions for js-yaml", | ||
@@ -16,6 +16,11 @@ "license": "MIT", | ||
"githubUsername": "sclausen" | ||
}, | ||
{ | ||
"name": "ExE Boss", | ||
"url": "https://github.com/ExE-Boss", | ||
"githubUsername": "ExE-Boss" | ||
} | ||
], | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -28,4 +33,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "cf81869fcb788e3fef61d529166d7b2381e0321fef67f25cbd601009b6131ba3", | ||
"typeScriptVersion": "2.2" | ||
"typesPublisherContentHash": "3188be8215cdbfcd572fb0311de1a25010b661f81da29d8012ce3444360b713d", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,13 +5,13 @@ # Installation | ||
# Summary | ||
This package contains type definitions for js-yaml ( https://github.com/nodeca/js-yaml ). | ||
This package contains type definitions for js-yaml (https://github.com/nodeca/js-yaml). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml. | ||
Additional Details | ||
* Last updated: Tue, 02 Apr 2019 23:17:33 GMT | ||
### Additional Details | ||
* Last updated: Sat, 25 Jan 2020 00:56:14 GMT | ||
* Dependencies: none | ||
* Global values: jsyaml | ||
* Global values: `jsyaml` | ||
# Credits | ||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, Sebastian Clausen <https://github.com/sclausen>. | ||
These definitions were written by Bart van der Schoor (https://github.com/Bartvds), Sebastian Clausen (https://github.com/sclausen), and ExE Boss (https://github.com/ExE-Boss). |
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
7493
101