Socket
Socket
Sign inDemoInstall

@types/js-yaml

Package Overview
Dependencies
0
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.10.1 to 3.11.0

16

js-yaml/index.d.ts

@@ -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

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