🐛 Fixed error when a theme does not have a "config" object in it's package.json

no issue

- bumped `gscan` to version with an added guard check where it extracts custom theme settings from `config.custom`
This commit is contained in:
Kevin Ansfield 2021-10-25 10:08:35 +01:00
parent 3067fbe97c
commit 8e2568c776
2 changed files with 11 additions and 21 deletions

View File

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

View File

@ -1671,10 +1671,10 @@
fs-extra "^10.0.0"
lodash "^4.17.21"
"@tryghost/pretty-cli@1.2.21":
version "1.2.21"
resolved "https://registry.yarnpkg.com/@tryghost/pretty-cli/-/pretty-cli-1.2.21.tgz#abd9c01e80325a624b68d2605ad3c4e73993ea82"
integrity sha512-hmFqacvmAtCWxMz5vUTw0tSGDs89+0tRIeVSdL4WjFsZnc8WoDgj0wUi3YLxp0VI4uaVyhCAZxOOBlYwqNdcQg==
"@tryghost/pretty-cli@1.2.22":
version "1.2.22"
resolved "https://registry.yarnpkg.com/@tryghost/pretty-cli/-/pretty-cli-1.2.22.tgz#dfc3356c842569003f5e0cd6114b3811c2a4911b"
integrity sha512-y5k/bT3zhuYGDbPUNcgAPt9OSk4rZjtEjIjrqbo1nES14kp66uq+aLldqPyMAR/1a17AFnwMEiEZwkRL3KSAhQ==
dependencies:
chalk "^4.1.0"
sywac "^1.3.0"
@ -1839,16 +1839,6 @@
resolved "https://registry.yarnpkg.com/@tryghost/vhost-middleware/-/vhost-middleware-1.0.19.tgz#8988196fee745353aa4ca4393874bc0b236429d4"
integrity sha512-wZU1mmPlomSQK2Z0Y0GT8oGm8XsOQZhn39J1cr/ULBWf/JmQTTMRkAxeeARFvvN3u6b+/RlJAaO6OdLkk0dROQ==
"@tryghost/zip@1.1.17":
version "1.1.17"
resolved "https://registry.yarnpkg.com/@tryghost/zip/-/zip-1.1.17.tgz#8665655fbbde0f421180d012ca7769bd133a7482"
integrity sha512-ZyjJsQaVSBUqsJ3iBU9hV6G1P7kTSfi83u+g26ZcSjfx4y3FvpYiDbCc2WTKj5xDS0p3NbQ7ZVOi6E73oXVlDg==
dependencies:
archiver "^4.0.2"
bluebird "^3.7.2"
extract-zip "2.0.1"
fs-extra "^9.1.0"
"@tryghost/zip@1.1.18":
version "1.1.18"
resolved "https://registry.yarnpkg.com/@tryghost/zip/-/zip-1.1.18.tgz#1afcf07d1c5404ab38bc42ef9b400eafc4052edc"
@ -5533,14 +5523,14 @@ grunt@1.4.1:
nopt "~3.0.6"
rimraf "~3.0.2"
gscan@4.9.0:
version "4.9.0"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.9.0.tgz#1e9c7aeb1cced58c5e9006b0a969908bd6395f78"
integrity sha512-4aaQ5rd3vqlqzhCSpf1EtuMqD7CA31LBjKWLqMeOzZJF4hr9Ngxayxix5tZeVT4gn2gQqPMyXhFxARc/0g1FgA==
gscan@4.9.1:
version "4.9.1"
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.9.1.tgz#e9b4f1dd5f332cda469014f8afaa6c21ac73ae20"
integrity sha512-hujCwP3xR/ebe5DLidUJZCWP8vxqttAwoy7oYL6u6XjBuuByeqzjNfo+rmNi9/L4Y0ldyKEQXC4hLW+eXydHag==
dependencies:
"@sentry/node" "6.13.3"
"@tryghost/pretty-cli" "1.2.21"
"@tryghost/zip" "1.1.17"
"@tryghost/pretty-cli" "1.2.22"
"@tryghost/zip" "1.1.18"
bluebird "3.7.2"
chalk "4.1.2"
common-tags "1.8.0"