fix: build fails when figure has link

This fixes an issue where if a figure image has a link the hugo build fails.

Fixes #820
This commit is contained in:
James Elliott 2022-07-12 14:55:41 +10:00
parent a0da19b806
commit 06ced5eaec
No known key found for this signature in database
GPG Key ID: 0F1C4A096E857E49
2 changed files with 8 additions and 8 deletions

14
package-lock.json generated
View File

@ -14,7 +14,7 @@
"@babel/core": "^7.18", "@babel/core": "^7.18",
"@babel/preset-env": "^7.18", "@babel/preset-env": "^7.18",
"@fullhuman/postcss-purgecss": "^4.1", "@fullhuman/postcss-purgecss": "^4.1",
"@hyas/images": "^0.2.1", "@hyas/images": "^0.2.2",
"auto-changelog": "^2.4", "auto-changelog": "^2.4",
"autoprefixer": "^10.4", "autoprefixer": "^10.4",
"bootstrap": "^5.2.0-beta1", "bootstrap": "^5.2.0-beta1",
@ -1757,9 +1757,9 @@
"dev": true "dev": true
}, },
"node_modules/@hyas/images": { "node_modules/@hyas/images": {
"version": "0.2.1", "version": "0.2.2",
"resolved": "https://registry.npmjs.org/@hyas/images/-/images-0.2.1.tgz", "resolved": "https://registry.npmjs.org/@hyas/images/-/images-0.2.2.tgz",
"integrity": "sha512-OESrxH316UeTbgpDJsRS1fnoZzOIGh2+evhaaXUBrDXhg+5YT1myR7SKf00bzi1fSbQlw5+JyOmNLll/JNHxoQ==", "integrity": "sha512-m6sYlR+iNAQBhbt+AKekRsXPrKff+UpE1/XsGqNIi9Ptb8ZdRiv/bgY1ZCdKAf6hNop1OT1bbS5WkP9wo0wb+w==",
"dev": true "dev": true
}, },
"node_modules/@jridgewell/gen-mapping": { "node_modules/@jridgewell/gen-mapping": {
@ -8197,9 +8197,9 @@
"dev": true "dev": true
}, },
"@hyas/images": { "@hyas/images": {
"version": "0.2.1", "version": "0.2.2",
"resolved": "https://registry.npmjs.org/@hyas/images/-/images-0.2.1.tgz", "resolved": "https://registry.npmjs.org/@hyas/images/-/images-0.2.2.tgz",
"integrity": "sha512-OESrxH316UeTbgpDJsRS1fnoZzOIGh2+evhaaXUBrDXhg+5YT1myR7SKf00bzi1fSbQlw5+JyOmNLll/JNHxoQ==", "integrity": "sha512-m6sYlR+iNAQBhbt+AKekRsXPrKff+UpE1/XsGqNIi9Ptb8ZdRiv/bgY1ZCdKAf6hNop1OT1bbS5WkP9wo0wb+w==",
"dev": true "dev": true
}, },
"@jridgewell/gen-mapping": { "@jridgewell/gen-mapping": {

View File

@ -42,7 +42,7 @@
"@babel/core": "^7.18", "@babel/core": "^7.18",
"@babel/preset-env": "^7.18", "@babel/preset-env": "^7.18",
"@fullhuman/postcss-purgecss": "^4.1", "@fullhuman/postcss-purgecss": "^4.1",
"@hyas/images": "^0.2.1", "@hyas/images": "^0.2.2",
"auto-changelog": "^2.4", "auto-changelog": "^2.4",
"autoprefixer": "^10.4", "autoprefixer": "^10.4",
"bootstrap": "^5.2.0-beta1", "bootstrap": "^5.2.0-beta1",