@types/js-yaml
Advanced tools
Comparing version 3.12.2 to 3.12.3
@@ -51,4 +51,26 @@ // Type definitions for js-yaml 3.12 | ||
json?: boolean; | ||
/** listener for parse events */ | ||
listener?(this: State, eventType: EventType, state: State): void; | ||
} | ||
export type EventType = 'open' | 'close'; | ||
export interface State { | ||
input: string; | ||
filename: string | null; | ||
schema: SchemaDefinition; | ||
onWarning: (this: null, e: YAMLException) => void; | ||
json: boolean; | ||
length: number; | ||
position: number; | ||
line: number; | ||
lineStart: number; | ||
lineIndent: number; | ||
version: null | number; | ||
checkLineBreaks: boolean; | ||
kind: string; | ||
result: any; | ||
implicitTypes: Type[]; | ||
} | ||
export interface DumpOptions { | ||
@@ -55,0 +77,0 @@ /** indentation width to use (in spaces). */ |
{ | ||
"name": "@types/js-yaml", | ||
"version": "3.12.2", | ||
"version": "3.12.3", | ||
"description": "TypeScript definitions for js-yaml", | ||
@@ -32,4 +32,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "3188be8215cdbfcd572fb0311de1a25010b661f81da29d8012ce3444360b713d", | ||
"typesPublisherContentHash": "b87ebac9c59b4eb1a82542ce04a00472f282a54bdf4bd8c4fec5dae249ba79ea", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 25 Jan 2020 00:56:14 GMT | ||
* Last updated: Wed, 25 Mar 2020 04:16:20 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: `jsyaml` | ||
# Credits | ||
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). | ||
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
8002
121