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

@types/js-beautify

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/js-beautify - npm Package Compare versions

Comparing version 1.13.1 to 1.13.2

90

js-beautify/index.d.ts

@@ -11,40 +11,40 @@ // Type definitions for js_beautify 1.13

interface CoreBeautifyOptions {
disabled?: boolean;
eol?: string;
end_with_newline?: boolean;
indent_size?: number;
indent_char?: string;
indent_level?: number;
preserve_newlines?: boolean;
max_preserve_newlines?: number;
indent_with_tabs?: boolean;
wrap_line_length?: number;
indent_empty_lines?: boolean;
templating?: string[];
disabled?: boolean | undefined;
eol?: string | undefined;
end_with_newline?: boolean | undefined;
indent_size?: number | undefined;
indent_char?: string | undefined;
indent_level?: number | undefined;
preserve_newlines?: boolean | undefined;
max_preserve_newlines?: number | undefined;
indent_with_tabs?: boolean | undefined;
wrap_line_length?: number | undefined;
indent_empty_lines?: boolean | undefined;
templating?: string[] | undefined;
}
interface JSBeautifyOptions extends CoreBeautifyOptions {
brace_style?: 'collapse' | 'expand' | 'end-expand' | 'none' | 'preserve-inline';
unindent_chained_methods?: boolean;
break_chained_methods?: boolean;
space_in_paren?: boolean;
space_in_empty_paren?: boolean;
jslint_happy?: boolean;
space_after_anon_function?: boolean;
space_after_named_function?: boolean;
keep_array_indentation?: boolean;
space_before_conditional?: boolean;
unescape_strings?: boolean;
e4x?: boolean;
comma_first?: boolean;
operator_position?: 'before-newline' | 'after-newline' | 'preserve-newline';
test_output_raw?: boolean;
brace_style?: 'collapse' | 'expand' | 'end-expand' | 'none' | 'preserve-inline' | undefined;
unindent_chained_methods?: boolean | undefined;
break_chained_methods?: boolean | undefined;
space_in_paren?: boolean | undefined;
space_in_empty_paren?: boolean | undefined;
jslint_happy?: boolean | undefined;
space_after_anon_function?: boolean | undefined;
space_after_named_function?: boolean | undefined;
keep_array_indentation?: boolean | undefined;
space_before_conditional?: boolean | undefined;
unescape_strings?: boolean | undefined;
e4x?: boolean | undefined;
comma_first?: boolean | undefined;
operator_position?: 'before-newline' | 'after-newline' | 'preserve-newline' | undefined;
test_output_raw?: boolean | undefined;
}
interface HTMLBeautifyOptions extends CoreBeautifyOptions {
templating?: string[];
indent_inner_html?: boolean;
indent_body_inner_html?: boolean;
indent_head_inner_html?: boolean;
indent_handlebars?: boolean;
templating?: string[] | undefined;
indent_inner_html?: boolean | undefined;
indent_body_inner_html?: boolean | undefined;
indent_head_inner_html?: boolean | undefined;
indent_handlebars?: boolean | undefined;
wrap_attributes?:

@@ -57,18 +57,18 @@ | 'auto'

| 'preserve'
| 'preserve-aligned';
wrap_attributes_indent_size?: number;
extra_liners?: string[];
inline?: string[];
void_elements?: string[];
unformatted?: string[];
content_unformatted?: string[];
unformatted_content_delimiter?: string;
indent_scripts?: 'normal' | 'keep' | 'separate';
| 'preserve-aligned' | undefined;
wrap_attributes_indent_size?: number | undefined;
extra_liners?: string[] | undefined;
inline?: string[] | undefined;
void_elements?: string[] | undefined;
unformatted?: string[] | undefined;
content_unformatted?: string[] | undefined;
unformatted_content_delimiter?: string | undefined;
indent_scripts?: 'normal' | 'keep' | 'separate' | undefined;
}
interface CSSBeautifyOptions extends CoreBeautifyOptions {
selector_separator_newline?: boolean;
newline_between_rules?: boolean;
space_around_selector_separator?: boolean;
space_around_combinator?: boolean;
selector_separator_newline?: boolean | undefined;
newline_between_rules?: boolean | undefined;
space_around_selector_separator?: boolean | undefined;
space_around_combinator?: boolean | undefined;
}

@@ -75,0 +75,0 @@ }

{
"name": "@types/js-beautify",
"version": "1.13.1",
"version": "1.13.2",
"description": "TypeScript definitions for js_beautify",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-beautify",
"license": "MIT",

@@ -37,4 +38,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "b6df2657b0d74662165a05f25bace5bc199c60e21832d4b70aa868c4e5f21c60",
"typeScriptVersion": "3.2"
"typesPublisherContentHash": "18e40413fac49070bafaf39ca973ab9e13e9819bd708f96c0509685b30bf2e45",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Tue, 10 Nov 2020 22:14:39 GMT
* Last updated: Tue, 06 Jul 2021 21:33:45 GMT
* Dependencies: none

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

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