Socket
Socket
Sign inDemoInstall

@types/js-yaml

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/js-yaml - npm Package Compare versions

Comparing version 3.12.2 to 3.12.3

22

js-yaml/index.d.ts

@@ -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). */

4

js-yaml/package.json
{
"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).
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