diff --git a/magicbook.json b/magicbook.json index e0a1f73..bc62bc7 100644 --- a/magicbook.json +++ b/magicbook.json @@ -15,6 +15,7 @@ "content/*.html" ], "images": { + "colorspace": "grey16", "files": [ "content/**/*.jpg", "content/**/*.png", diff --git a/package-lock.json b/package-lock.json index 8e0a2ad..fe2b83e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "gatsby-transformer-sharp": "^4.19.0", "katex": "^0.16.0", "lodash-es": "^4.17.21", - "magicbook": "^0.1.30", + "magicbook": "^0.1.31", "magicbook-codesplit": "^0.1.6", "magicbook-katex": "0.0.7", "postcss": "^8.4.14", @@ -14771,9 +14771,9 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==" }, "node_modules/linkify-it": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", - "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-3.0.3.tgz", + "integrity": "sha512-ynTsyrFSdE5oZ/O9GEf00kPngmOfVwazR5GKDq6EYfhlpFug3J2zybX56a2PRRpc9P+FuSoGNAwjlbDs9jJBPQ==", "dependencies": { "uc.micro": "^1.0.1" } @@ -15221,9 +15221,9 @@ } }, "node_modules/magicbook": { - "version": "0.1.30", - "resolved": "https://registry.npmjs.org/magicbook/-/magicbook-0.1.30.tgz", - "integrity": "sha512-Tp/8NxIQLdJpDClleOj9ewP7g0qvNUihdMHt0nffxdk5IZIpz7JalwLY3liRIoMMos6UtWWi8ngD3+4F1nl7QQ==", + "version": "0.1.31", + "resolved": "https://registry.npmjs.org/magicbook/-/magicbook-0.1.31.tgz", + "integrity": "sha512-KcQu4rM2bBuxNqcqUqEYdeAGXYsLVyeKhHjf88SK+JviHW4HrLMNfoAL+GcO4tei20XKqYP2L01cUarI56DNww==", "dependencies": { "async": "^3.0.1", "cheerio": "^1.0.0-rc.3", @@ -15236,13 +15236,14 @@ "gulp-util": "^3.0.8", "hashids": "^1.2.2", "lodash": "^4.17.15", - "markdown-it": "^8.4.2", + "markdown-it": "^12.3.2", "mkdirp": "^0.5.1", "modify-filename": "^1.1.0", "prince": "^1.9.7", "rev-hash": "^3.0.0", "rev-path": "^2.0.0", "sass": "^1.55.0", + "sharp": "^0.32.0", "slug": "^1.1.0", "stream-exhaust": "^1.0.2", "streamqueue": "^1.1.2", @@ -15308,6 +15309,14 @@ "readable-stream": "2 || 3" } }, + "node_modules/magicbook/node_modules/detect-libc": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.1.tgz", + "integrity": "sha512-463v3ZeIrcWtdgIg6vI6XUncguvr2TnGl4SzDXinkt9mSLpBJKXT3mW6xT3VQdDN11+WVs29pgvivTc4Lp8v+w==", + "engines": { + "node": ">=8" + } + }, "node_modules/magicbook/node_modules/fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -15329,6 +15338,58 @@ "graceful-fs": "^4.1.6" } }, + "node_modules/magicbook/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magicbook/node_modules/node-addon-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", + "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==" + }, + "node_modules/magicbook/node_modules/semver": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magicbook/node_modules/sharp": { + "version": "0.32.0", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.0.tgz", + "integrity": "sha512-yLAypVcqj1toSAqRSwbs86nEzfyZVDYqjuUX8grhFpeij0DDNagKJXELS/auegDBRDg1XBtELdOGfo2X1cCpeA==", + "hasInstallScript": true, + "dependencies": { + "color": "^4.2.3", + "detect-libc": "^2.0.1", + "node-addon-api": "^6.0.0", + "prebuild-install": "^7.1.1", + "semver": "^7.3.8", + "simple-get": "^4.0.1", + "tar-fs": "^2.1.1", + "tunnel-agent": "^0.6.0" + }, + "engines": { + "node": ">=14.15.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, "node_modules/magicbook/node_modules/universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", @@ -15337,6 +15398,11 @@ "node": ">= 4.0.0" } }, + "node_modules/magicbook/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/make-dir": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", @@ -15400,13 +15466,13 @@ } }, "node_modules/markdown-it": { - "version": "8.4.2", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz", - "integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==", + "version": "12.3.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-12.3.2.tgz", + "integrity": "sha512-TchMembfxfNVpHkbtriWltGWc+m3xszaRD0CZup7GFFhzIgQqxIfn3eGj1yZpfuflzPvfkt611B2Q/Bsk1YnGg==", "dependencies": { - "argparse": "^1.0.7", - "entities": "~1.1.1", - "linkify-it": "^2.0.0", + "argparse": "^2.0.1", + "entities": "~2.1.0", + "linkify-it": "^3.0.1", "mdurl": "^1.0.1", "uc.micro": "^1.0.5" }, @@ -15433,10 +15499,18 @@ "katex": "cli.js" } }, + "node_modules/markdown-it/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, "node_modules/markdown-it/node_modules/entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz", + "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w==", + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } }, "node_modules/match-at": { "version": "0.1.1", diff --git a/package.json b/package.json index 8430809..1b28928 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "gatsby-transformer-sharp": "^4.19.0", "katex": "^0.16.0", "lodash-es": "^4.17.21", - "magicbook": "^0.1.30", + "magicbook": "^0.1.31", "magicbook-codesplit": "^0.1.6", "magicbook-katex": "0.0.7", "postcss": "^8.4.14",