Update and fix diffing logic (#289)

* Bump files-diff version to ensure HTML escaping works

* Pass full rendered file path into diff

* Cleaner naming, removing pointless method

* Remove console log
This commit is contained in:
Matt (IPv4) Cowley
2021-07-27 10:49:51 +01:00
committed by GitHub
parent 07cc83ec14
commit ce74e4c226
3 changed files with 24 additions and 17 deletions

8
package-lock.json generated
View File

@@ -10663,9 +10663,9 @@
"optional": true
},
"files-diff": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/files-diff/-/files-diff-0.0.5.tgz",
"integrity": "sha512-0Z/K2aVj19Dxpvl5F5SkINmmnSamMPwSuWh3U7s35ojQ2DzzTvkHjbeuiUgLX8JgyNsV2nk/XAVDangV+Nls3g==",
"version": "0.0.6",
"resolved": "https://registry.npmjs.org/files-diff/-/files-diff-0.0.6.tgz",
"integrity": "sha512-qf03b6nVKD1xqymd00+fFje5ANk71fxGttKu4vq8VcZThCVpipdrXs6oXf4R6e6T4+zPF/3+CmKM3FPCbgFkSg==",
"requires": {
"diff": "^5.0.0",
"escape-html": "^1.0.3",
@@ -17159,7 +17159,7 @@
"known-css-properties": "^0.3.0",
"lodash.capitalize": "^4.1.0",
"lodash.kebabcase": "^4.0.0",
"merge": "^1.2.0",
"merge": "^2.1.1",
"path-is-absolute": "^1.0.0",
"util": "^0.10.3"
},