Socket
Socket
Sign inDemoInstall

@types/prettier

Package Overview
Dependencies
0
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.7.1 to 2.7.2

14

prettier/index.d.ts

@@ -548,3 +548,3 @@ // Type definitions for prettier 2.7

export type SupportOptionType = 'int' | 'boolean' | 'choice' | 'path';
export type SupportOptionType = 'int' | 'string' | 'boolean' | 'choice' | 'path';

@@ -593,2 +593,12 @@ export type CoreCategoryType = 'Config' | 'Editor' | 'Format' | 'Other' | 'Output' | 'Global' | 'Special';

export interface StringSupportOption extends BaseSupportOption<'string'> {
default?: string | undefined;
array?: false | undefined;
}
export interface StringArraySupportOption extends BaseSupportOption<'string'> {
default?: Array<{ value: string[] }> | undefined;
array: true;
}
export interface BooleanSupportOption extends BaseSupportOption<'boolean'> {

@@ -629,2 +639,4 @@ default?: boolean | undefined;

| IntArraySupportOption
| StringSupportOption
| StringArraySupportOption
| BooleanSupportOption

@@ -631,0 +643,0 @@ | BooleanArraySupportOption

4

prettier/package.json
{
"name": "@types/prettier",
"version": "2.7.1",
"version": "2.7.2",
"description": "TypeScript definitions for prettier",

@@ -58,4 +58,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier",

"dependencies": {},
"typesPublisherContentHash": "6a62dee7c1db1e9ccffd4f4d23eb63e0b6863d58b971cf804f99cc039ceeedb1",
"typesPublisherContentHash": "99cc9780c4abc9fa045f57796c8ae3ec7eee54669b1eecb6f4cc5ed62321a8a8",
"typeScriptVersion": "4.2"
}

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

### Additional Details
* Last updated: Sat, 24 Sep 2022 05:02:56 GMT
* Last updated: Tue, 20 Dec 2022 12:32:40 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `prettier`

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