Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/yamljs

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/yamljs - npm Package Compare versions

Comparing version 0.2.31 to 0.2.32

4

yamljs/index.d.ts

@@ -12,4 +12,4 @@ // Type definitions for yamljs 0.2.3

function load(path: string, callback: (res:any) => void): void
function load(path: string, callback: (res: any) => void): void;
function stringify(nativeObject: any, inline?: number, spaces?: number): string;

@@ -16,0 +16,0 @@

{
"name": "@types/yamljs",
"version": "0.2.31",
"version": "0.2.32",
"description": "TypeScript definitions for yamljs",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yamljs",
"license": "MIT",

@@ -21,4 +22,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "37df45ee409902682421ab4cf8c43e643de2a045075eb7501a8df9df6d50fd78",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "97c19107459efea59e15abd3ad08ca8666d03f92ce53ff0afac6e249ed12cc52",
"typeScriptVersion": "4.5"
}

@@ -9,5 +9,26 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yamljs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yamljs/index.d.ts)
````ts
// Type definitions for yamljs 0.2.3
// Project: https://github.com/jeremyfa/yaml.js
// Definitions by: Tim Jonischkat <http://www.tim-jonischkat.de>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace YAML;
export = YAML;
declare namespace YAML {
function load(path: string): any;
function load(path: string, callback: (res: any) => void): void;
function stringify(nativeObject: any, inline?: number, spaces?: number): string;
function parse(yamlString: string): any;
}
````
### Additional Details
* Last updated: Fri, 15 May 2020 13:13:07 GMT
* Last updated: Mon, 25 Sep 2023 05:35:36 GMT
* Dependencies: none

@@ -14,0 +35,0 @@ * Global values: `YAML`

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