prettydiff
Advanced tools
Comparing version 101.2.0 to 101.2.1
@@ -208,3 +208,3 @@ /*global prettydiff*/ | ||
let styleguide = { | ||
airbnb: function beautify_script_options_styleairbnb() { | ||
airbnb: function mode_pdcomment_styleairbnb() { | ||
options.brace_padding = true; | ||
@@ -220,3 +220,3 @@ options.correct = true; | ||
}, | ||
crockford: function beautify_script_options_stylecrockford() { | ||
crockford: function mode_pdcomment_stylecrockford() { | ||
options.brace_padding = false; | ||
@@ -233,3 +233,3 @@ options.correct = true; | ||
}, | ||
google: function beautify_script_options_stylegoogle() { | ||
google: function mode_pdcomment_stylegoogle() { | ||
options.correct = true; | ||
@@ -243,3 +243,3 @@ options.indent_char = " "; | ||
}, | ||
jquery: function beautify_script_options_stylejquery() { | ||
jquery: function mode_pdcomment_stylejquery() { | ||
options.brace_padding = true; | ||
@@ -253,3 +253,3 @@ options.correct = true; | ||
}, | ||
jslint: function beautify_script_options_stylejslint() { | ||
jslint: function mode_pdcomment_stylejslint() { | ||
options.brace_padding = false; | ||
@@ -266,3 +266,3 @@ options.correct = true; | ||
}, | ||
mrdoobs: function beautify_script_options_stylemrdoobs() { | ||
mrdoobs: function mode_pdcomment_stylemrdoobs() { | ||
options.brace_line = true; | ||
@@ -275,3 +275,3 @@ options.brace_padding = true; | ||
}, | ||
mediawiki: function beautify_script_options_stylemediawiki() { | ||
mediawiki: function mode_pdcomment_stylemediawiki() { | ||
options.brace_padding = true; | ||
@@ -286,3 +286,3 @@ options.correct = true; | ||
}, | ||
meteor: function beautify_script_options_stylemeteor() { | ||
meteor: function mode_pdcomment_stylemeteor() { | ||
options.correct = true; | ||
@@ -293,3 +293,3 @@ options.indent_char = " "; | ||
}, | ||
semistandard: function beautify_script_options_stylessemistandard() { | ||
semistandard: function mode_pdcomment_stylessemistandard() { | ||
options.brace_line = false; | ||
@@ -312,3 +312,3 @@ options.brace_padding = false; | ||
}, | ||
standard: function beautify_script_options_stylestandard() { | ||
standard: function mode_pdcomment_stylestandard() { | ||
options.brace_line = false; | ||
@@ -331,3 +331,3 @@ options.brace_padding = false; | ||
}, | ||
yandex: function beautify_script_options_styleyandex() { | ||
yandex: function mode_pdcomment_styleyandex() { | ||
options.brace_padding = false; | ||
@@ -341,3 +341,3 @@ options.correct = true; | ||
brace_style = { | ||
collapse: function beautify_brace_options_collapse() { | ||
collapse: function mode_pdcomment_collapse() { | ||
options.brace_line = false; | ||
@@ -349,3 +349,3 @@ options.brace_padding = false; | ||
}, | ||
"collapse-preserve-inline": function beautify_brace_options_collapseInline() { | ||
"collapse-preserve-inline": function mode_pdcomment_collapseInline() { | ||
options.brace_line = false; | ||
@@ -357,3 +357,3 @@ options.brace_padding = true; | ||
}, | ||
expand: function beautify_brace_options_expand() { | ||
expand: function mode_pdcomment_expand() { | ||
options.brace_line = false; | ||
@@ -360,0 +360,0 @@ options.brace_padding = false; |
@@ -209,3 +209,3 @@ /*global prettydiff*/ | ||
let styleguide = { | ||
airbnb: function beautify_script_options_styleairbnb() { | ||
airbnb: function mode_pdcomment_styleairbnb() { | ||
options.brace_padding = true; | ||
@@ -221,3 +221,3 @@ options.correct = true; | ||
}, | ||
crockford: function beautify_script_options_stylecrockford() { | ||
crockford: function mode_pdcomment_stylecrockford() { | ||
options.brace_padding = false; | ||
@@ -234,3 +234,3 @@ options.correct = true; | ||
}, | ||
google: function beautify_script_options_stylegoogle() { | ||
google: function mode_pdcomment_stylegoogle() { | ||
options.correct = true; | ||
@@ -244,3 +244,3 @@ options.indent_char = " "; | ||
}, | ||
jquery: function beautify_script_options_stylejquery() { | ||
jquery: function mode_pdcomment_stylejquery() { | ||
options.brace_padding = true; | ||
@@ -254,3 +254,3 @@ options.correct = true; | ||
}, | ||
jslint: function beautify_script_options_stylejslint() { | ||
jslint: function mode_pdcomment_stylejslint() { | ||
options.brace_padding = false; | ||
@@ -267,3 +267,3 @@ options.correct = true; | ||
}, | ||
mrdoobs: function beautify_script_options_stylemrdoobs() { | ||
mrdoobs: function mode_pdcomment_stylemrdoobs() { | ||
options.brace_line = true; | ||
@@ -276,3 +276,3 @@ options.brace_padding = true; | ||
}, | ||
mediawiki: function beautify_script_options_stylemediawiki() { | ||
mediawiki: function mode_pdcomment_stylemediawiki() { | ||
options.brace_padding = true; | ||
@@ -287,3 +287,3 @@ options.correct = true; | ||
}, | ||
meteor: function beautify_script_options_stylemeteor() { | ||
meteor: function mode_pdcomment_stylemeteor() { | ||
options.correct = true; | ||
@@ -294,3 +294,3 @@ options.indent_char = " "; | ||
}, | ||
semistandard: function beautify_script_options_stylessemistandard() { | ||
semistandard: function mode_pdcomment_stylessemistandard() { | ||
options.brace_line = false; | ||
@@ -313,3 +313,3 @@ options.brace_padding = false; | ||
}, | ||
standard: function beautify_script_options_stylestandard() { | ||
standard: function mode_pdcomment_stylestandard() { | ||
options.brace_line = false; | ||
@@ -332,3 +332,3 @@ options.brace_padding = false; | ||
}, | ||
yandex: function beautify_script_options_styleyandex() { | ||
yandex: function mode_pdcomment_styleyandex() { | ||
options.brace_padding = false; | ||
@@ -341,3 +341,3 @@ options.correct = true; | ||
}, brace_style = { | ||
collapse: function beautify_brace_options_collapse() { | ||
collapse: function mode_pdcomment_collapse() { | ||
options.brace_line = false; | ||
@@ -349,3 +349,3 @@ options.brace_padding = false; | ||
}, | ||
"collapse-preserve-inline": function beautify_brace_options_collapseInline() { | ||
"collapse-preserve-inline": function mode_pdcomment_collapseInline() { | ||
options.brace_line = false; | ||
@@ -357,3 +357,3 @@ options.brace_padding = true; | ||
}, | ||
expand: function beautify_brace_options_expand() { | ||
expand: function mode_pdcomment_expand() { | ||
options.brace_line = false; | ||
@@ -360,0 +360,0 @@ options.brace_padding = false; |
@@ -92,2 +92,28 @@ // tests structure | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json-file-child`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json-file-local`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
artifact: `${projectPath}tests${sep}test.txt`, | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json-file-parent`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"{\\"compilerOptions\\": {\\"outDir\\": \\"js\\",\\"pretty\\": true,\\"target\\": \\"ES6\\"}}" read_method:"screen" prettydiffrc-json-screen-parent`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-javascript-file-local`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" read_method:directory`, | ||
@@ -519,13 +545,2 @@ qualifier: "contains", | ||
test: `Sparser version ${text.angry}` | ||
}, | ||
// final two tests validate the application and JSON formats of the .prettydiffrc file | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-javascript`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
} | ||
@@ -532,0 +547,0 @@ ]; |
@@ -8,3 +8,3 @@ { | ||
"dependencies": { | ||
"@types/node": "^10.14.13", | ||
"@types/node": "^10.14.14", | ||
"file-saver": "^1.3.8", | ||
@@ -43,3 +43,3 @@ "sparser": "^1.4.4" | ||
}, | ||
"version": "101.2.0" | ||
"version": "101.2.1" | ||
} |
# Pretty Diff | ||
A language aware diff, beautification, and minification tool. | ||
* Version - 101.2.0 | ||
* Version - 101.2.1 | ||
* [Sparser](https://sparser.io) - 1.4.5 | ||
@@ -6,0 +6,0 @@ |
@@ -98,2 +98,28 @@ | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json-file-child`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json-file-local`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
artifact: `${projectPath}tests${sep}test.txt`, | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json-file-parent`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"{\\"compilerOptions\\": {\\"outDir\\": \\"js\\",\\"pretty\\": true,\\"target\\": \\"ES6\\"}}" read_method:"screen" prettydiffrc-json-screen-parent`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-javascript-file-local`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" read_method:directory`, | ||
@@ -525,14 +551,2 @@ qualifier: "contains", | ||
test: `Sparser version ${text.angry}` | ||
}, | ||
// final two tests validate the application and JSON formats of the .prettydiffrc file | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-json`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
}, | ||
{ | ||
command: `beautify source:"${projectPath}tsconfig.json" prettydiffrc-javascript`, | ||
qualifier: "contains", | ||
test: "\n \"compilerOptions\":" | ||
} | ||
@@ -539,0 +553,0 @@ ]; |
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 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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102263
6890357
366
Updated@types/node@^10.14.14