🐛 Fixed GScan crash on files starting with package.json

refs https://github.com/TryGhost/Team/issues/1185

- gscan was attempting to json parse all files starting with package.json
This commit is contained in:
Thibaut Patel 2021-10-26 12:23:11 +02:00 committed by Daniel Lockyer
parent 82e42bfc8b
commit 5d9e237951
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD
2 changed files with 5 additions and 5 deletions

View File

@ -128,7 +128,7 @@
"ghost-storage-base": "0.0.6",
"glob": "7.2.0",
"got": "9.6.0",
"gscan": "4.9.2",
"gscan": "4.9.3",
"html-to-text": "5.1.1",
"image-size": "1.0.0",
"intl": "1.2.5",

View File

@ -5523,10 +5523,10 @@ grunt@1.4.1:
nopt "~3.0.6"
rimraf "~3.0.2"
gscan@4.9.2:
version "4.9.2"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.9.2.tgz#c6ed19231b22d404198155f36802213925f13f90"
integrity sha512-EZrdmkzv3RwDmbbbAY5NBSBbhuZ42R/LMkJI0ORkvaaxrnxFepQC1uB+VUmiiFzo54sYDjWPMcXrVPv7qNd5oQ==
gscan@4.9.3:
version "4.9.3"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.9.3.tgz#2f7674f11ee2bf8a4805210c24b72264df480d32"
integrity sha512-+iMshoaR7RJB/+IRJ984BCtkyerQ8Lgf7OoJzM0xdYsXM8jgVUN5Zrrn0SD/XQsNycDLABtG4A2cxBhkFRKPiQ==
dependencies:
"@sentry/node" "6.13.3"
"@tryghost/pretty-cli" "1.2.22"