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.11.1 to 3.11.2

10

js-yaml/index.d.ts

@@ -9,7 +9,5 @@ // Type definitions for js-yaml 3.11

export type DocumentLoadResult = object | undefined;
export function safeLoad(str: string, opts?: LoadOptions): any;
export function load(str: string, opts?: LoadOptions): any;
export function safeLoad(str: string, opts?: LoadOptions): DocumentLoadResult;
export function load(str: string, opts?: LoadOptions): DocumentLoadResult;
export class Type {

@@ -34,6 +32,6 @@ constructor(tag: string, opts?: TypeConstructorOptions);

export function safeLoadAll(str: string, iterator?: undefined, opts?: LoadOptions): DocumentLoadResult[];
export function safeLoadAll(str: string, iterator?: undefined, opts?: LoadOptions): any[];
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?: undefined, opts?: LoadOptions): any[];

@@ -40,0 +38,0 @@ export function loadAll(str: string, iterator: (doc: any) => void, opts?: LoadOptions): undefined;

6

js-yaml/package.json
{
"name": "@types/js-yaml",
"version": "3.11.1",
"version": "3.11.2",
"description": "TypeScript definitions for js-yaml",

@@ -21,8 +21,8 @@ "license": "MIT",

"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "538950c33b55d42241be0673a308627a38fdf2362d066d5e5e796f84bd260d11",
"typesPublisherContentHash": "85f5eeb3ca36527edb6b15e829c9a44d640c0cdafec1bab3224d9ab05c8c889b",
"typeScriptVersion": "2.2"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.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: Fri, 30 Mar 2018 16:45:46 GMT
* Last updated: Wed, 04 Jul 2018 01:11:07 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: jsyaml

Sorry, the diff of this file is not supported yet

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