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

prettydiff

Package Overview
Dependencies
Maintainers
1
Versions
515
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prettydiff - npm Package Compare versions

Comparing version 101.0.12 to 101.1.0

tests/formatted/beautify_script_javascript_no_semicolon.txt

18

api/mode.ts

@@ -285,2 +285,20 @@ /*global prettydiff*/

},
standard: function beautify_script_options_stylestandard() {
options.brace_line = false;
options.brace_padding = false;
options.braces = false;
options.correct = true;
options.end_comma = "never";
options.indent_char = " ";
options.indent_size = 2;
options.new_line = false;
options.no_semicolon = true;
options.preserve = 1;
options.quote_convert = "single";
options.space = true;
options.ternary_line = false;
options.variable_list = "each";
options.vertical = false;
options.wrap = 0;
},
yandex: function beautify_script_options_styleyandex() {

@@ -287,0 +305,0 @@ options.brace_padding = false;

13

api/optionDef.ts

@@ -535,3 +535,3 @@ /*global global*/

default : false,
definition: "Whether leading 0s in CSS values immediately preceeding a decimal should be remo" +
definition: "Whether leading 0s in CSS values immediately preceding a decimal should be remo" +
"ved or prevented.",

@@ -543,2 +543,11 @@ label : "Leading 0s",

},
no_semicolon : {
api : "any",
default : false,
definition: "Removes semicolons that would be inserted by ASI. This option is in conflict with option 'correct' and takes precedence over conflicting features. Use of this option is a possible security/stability risk.",
label : "No Semicolons",
lexer : "script",
mode : "beautify",
type : "boolean"
},
node_error : {

@@ -565,3 +574,3 @@ api : "node",

default : "",
definition: "A file path for which to write output. If this option is not specified output will be printed to the shell.",
definition: "A file path for which to write output. If this option is not specified output will be printed to the shell.",
label : "Output Location",

@@ -568,0 +577,0 @@ lexer : "any",

@@ -286,2 +286,20 @@ /*global prettydiff*/

},
standard: function beautify_script_options_stylestandard() {
options.brace_line = false;
options.brace_padding = false;
options.braces = false;
options.correct = true;
options.end_comma = "never";
options.indent_char = " ";
options.indent_size = 2;
options.new_line = false;
options.no_semicolon = true;
options.preserve = 1;
options.quote_convert = "single";
options.space = true;
options.ternary_line = false;
options.variable_list = "each";
options.vertical = false;
options.wrap = 0;
},
yandex: function beautify_script_options_styleyandex() {

@@ -288,0 +306,0 @@ options.brace_padding = false;

@@ -535,3 +535,3 @@ /*global global*/

default: false,
definition: "Whether leading 0s in CSS values immediately preceeding a decimal should be remo" +
definition: "Whether leading 0s in CSS values immediately preceding a decimal should be remo" +
"ved or prevented.",

@@ -543,2 +543,11 @@ label: "Leading 0s",

},
no_semicolon: {
api: "any",
default: false,
definition: "Removes semicolons that would be inserted by ASI. This option is in conflict with option 'correct' and takes precedence over conflicting features. Use of this option is a possible security/stability risk.",
label: "No Semicolons",
lexer: "script",
mode: "beautify",
type: "boolean"
},
node_error: {

@@ -565,3 +574,3 @@ api: "node",

default: "",
definition: "A file path for which to write output. If this option is not specified output will be printed to the shell.",
definition: "A file path for which to write output. If this option is not specified output will be printed to the shell.",
label: "Output Location",

@@ -568,0 +577,0 @@ lexer: "any",

2

js/tests/simulations.js

@@ -354,3 +354,3 @@ // tests structure

qualifier: "contains",
test: `${text.green}77${text.none} matching options.`
test: `${text.green}78${text.none} matching options.`
},

@@ -357,0 +357,0 @@ {

@@ -604,3 +604,3 @@ # Pretty Diff Options

default | false
definition | Whether leading 0s in CSS values immediately preceeding a decimal should be removed or prevented.
definition | Whether leading 0s in CSS values immediately preceding a decimal should be removed or prevented.
label | Leading 0s

@@ -611,2 +611,13 @@ lexer | style

## no_semi
property | value
-----------|---
api | any
default | false
definition | Removes semicolons that would be inserted by ASI. This option is in conflict with option 'correct' and takes precedence over conflicting features. Use of this option is a possible security/stability risk.
label | No Semicolons
lexer | script
mode | beautify
type | boolean
## node_error

@@ -639,3 +650,3 @@ property | value

default |
definition | A file path for which to write output. If this option is not specified output will be printed to the shell.
definition | A file path for which to write output. If this option is not specified output will be printed to the shell.
label | Output Location

@@ -642,0 +653,0 @@ lexer | any

@@ -42,3 +42,3 @@ {

},
"version": "101.0.12"
"version": "101.1.0"
}
# Pretty Diff
A language aware diff, beautification, and minification tool.
Version - 101.0.12
Version - 101.1.0

@@ -6,0 +6,0 @@ ## Try it out - https://prettydiff.com/

@@ -361,3 +361,3 @@

qualifier: "contains",
test: `${text.green}77${text.none} matching options.`
test: `${text.green}78${text.none} matching options.`
},

@@ -364,0 +364,0 @@ {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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