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 4.0.5 to 4.0.6

8

js-yaml/index.d.ts

@@ -17,3 +17,3 @@ // Type definitions for js-yaml 4.0

constructor(tag: string, opts?: TypeConstructorOptions);
kind: 'sequence' | 'scalar' | 'mapping' | null;
kind: "sequence" | "scalar" | "mapping" | null;
resolve(data: any): boolean;

@@ -53,3 +53,3 @@ construct(data: any, type?: string): any;

export type EventType = 'open' | 'close';
export type EventType = "open" | "close";

@@ -101,3 +101,3 @@ export interface State {

/** strings will be quoted using this quoting style. If you specify single quotes, double quotes will still be used for non-printable characters. (default: `'`) */
quotingType?: "'" | '"' | undefined;
quotingType?: "'" | "\"" | undefined;
/** if true, all non-key strings will be quoted even if they normally don't need to. (default: false) */

@@ -110,3 +110,3 @@ forceQuotes?: boolean | undefined;

export interface TypeConstructorOptions {
kind?: 'sequence' | 'scalar' | 'mapping' | undefined;
kind?: "sequence" | "scalar" | "mapping" | undefined;
resolve?: ((data: any) => boolean) | undefined;

@@ -113,0 +113,0 @@ construct?: ((data: any, type?: string) => any) | undefined;

{
"name": "@types/js-yaml",
"version": "4.0.5",
"version": "4.0.6",
"description": "TypeScript definitions for js-yaml",

@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml",

"dependencies": {},
"typesPublisherContentHash": "6f40877154edac83ffa22d53a6aca74f151a0d094074c81ce7fb21df57ea5725",
"typeScriptVersion": "3.8",
"typesPublisherContentHash": "8e1751af80460df710374b485a2020ac8cd91e5c71b39bf7539db59783b56d4d",
"typeScriptVersion": "4.5",
"exports": {

@@ -52,4 +52,5 @@ ".": {

}
}
},
"./package.json": "./package.json"
}
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 19 Nov 2021 18:01:12 GMT
* Last updated: Fri, 15 Sep 2023 20:36:37 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc