prettydiff
Advanced tools
Comparing version 100.2.5 to 100.2.6
@@ -457,3 +457,3 @@ /*global global, prettydiff*/ | ||
level.push(-20); | ||
} else if (data.lines[next] === 0 && (data.types[next] === "content" || data.types[next] === "singleton")) { | ||
} else if (data.lines[next] === 0 && (data.types[next] === "content" || data.types[next] === "singleton" || (data.types[a] === "start" && data.types[next] === "template"))) { | ||
level.push(-20); | ||
@@ -460,0 +460,0 @@ } else { |
@@ -462,3 +462,3 @@ /*global global, prettydiff*/ | ||
} | ||
else if (data.lines[next] === 0 && (data.types[next] === "content" || data.types[next] === "singleton")) { | ||
else if (data.lines[next] === 0 && (data.types[next] === "content" || data.types[next] === "singleton" || (data.types[a] === "start" && data.types[next] === "template"))) { | ||
level.push(-20); | ||
@@ -465,0 +465,0 @@ } |
@@ -470,3 +470,3 @@ // tests structure | ||
{ | ||
command: "performance hash browser-demo.js", | ||
command: `performance hash tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -476,3 +476,3 @@ test: "] Character size" | ||
{ | ||
command: "performance base64 browser-demo.js", | ||
command: `performance base64 tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -482,3 +482,3 @@ test: "] Milliseconds, \u00b1" | ||
{ | ||
command: "performance beautify browser-demo.js", | ||
command: `performance beautify tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -488,3 +488,3 @@ test: "Pretty Diff version" | ||
{ | ||
command: "performance build browser-demo.js", | ||
command: `performance build tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -494,3 +494,3 @@ test: "The performance tool cannot test the build command." | ||
{ | ||
command: "performance performance browser-demo.js", | ||
command: `performance performance tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -497,0 +497,0 @@ test: "The performance tool cannot test itself." |
@@ -727,3 +727,3 @@ /*global global, window*/ | ||
// finalFile insertion start | ||
let finalFile:finalFile; | ||
let finalFile:finalFile = prettydiff.api.finalFile; | ||
// finalFile insertion end | ||
@@ -730,0 +730,0 @@ |
@@ -8,5 +8,5 @@ { | ||
"dependencies": { | ||
"@types/node": "^10.12.29", | ||
"@types/node": "^10.12.30", | ||
"file-saver": "^1.3.8", | ||
"sparser": "^1.0.8" | ||
"sparser": "^1.0.9" | ||
}, | ||
@@ -43,3 +43,3 @@ "description": "A language aware diff tool.", | ||
}, | ||
"version": "100.2.5" | ||
"version": "100.2.6" | ||
} |
@@ -69,3 +69,3 @@ # Pretty Diff version 100 | ||
#### Browser | ||
**js/browser.js** - In this file an object named `prettydiff` is assigned to the browser's *window* object. To access Pretty Diff simply call `window.prettydiff.mode(myOptions);`. The default options would be `window.prettydiff.defaults`. See the [browser demo](browser.html) for an example. This provides all the necessary code in a single file without any DOM bindings. | ||
**js/browser.js** - In this file an object named `prettydiff` is assigned to the browser's *window* object. To access Pretty Diff simply call `window.prettydiff.mode(myOptions);`. The default options would be `window.prettydiff.defaults`. See the [browser demo](test/browser.html) for an example. This provides all the necessary code in a single file without any DOM bindings. | ||
@@ -72,0 +72,0 @@ #### Node.js |
@@ -477,3 +477,3 @@ | ||
{ | ||
command: "performance hash browser-demo.js", | ||
command: `performance hash tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -483,3 +483,3 @@ test: "] Character size" | ||
{ | ||
command: "performance base64 browser-demo.js", | ||
command: `performance base64 tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -489,3 +489,3 @@ test: "] Milliseconds, \u00b1" | ||
{ | ||
command: "performance beautify browser-demo.js", | ||
command: `performance beautify tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -495,3 +495,3 @@ test: "Pretty Diff version" | ||
{ | ||
command: "performance build browser-demo.js", | ||
command: `performance build tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -501,3 +501,3 @@ test: "The performance tool cannot test the build command." | ||
{ | ||
command: "performance performance browser-demo.js", | ||
command: `performance performance tests${sep}browser-demo.js`, | ||
qualifier: "contains", | ||
@@ -504,0 +504,0 @@ test: "The performance tool cannot test itself." |
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 not supported yet
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 not supported yet
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 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
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
6895794
299
104478
Updated@types/node@^10.12.30
Updatedsparser@^1.0.9