From aa08fc72e7c5c8b8c4df1eebb0a274f30a1098e9 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 4 Jan 2023 10:42:36 +0100 Subject: [PATCH] Updated Koenig packages refs https://github.com/TryGhost/Toolbox/issues/488 - these packages add support for Node 18 and drop support for Node 12 --- ghost/admin/package.json | 4 +- ghost/core/package.json | 10 ++-- ghost/email-service/package.json | 2 +- ghost/importer-revue/package.json | 2 +- yarn.lock | 78 ++++++++++++++++--------------- 5 files changed, 49 insertions(+), 47 deletions(-) diff --git a/ghost/admin/package.json b/ghost/admin/package.json index 634eb520fa..46f3c25fe8 100644 --- a/ghost/admin/package.json +++ b/ghost/admin/package.json @@ -44,8 +44,8 @@ "@tryghost/color-utils": "0.1.22", "@tryghost/ember-promise-modals": "2.0.1", "@tryghost/helpers": "1.1.75", - "@tryghost/kg-clean-basic-html": "2.2.27", - "@tryghost/kg-parser-plugins": "2.12.12", + "@tryghost/kg-clean-basic-html": "3.0.0", + "@tryghost/kg-parser-plugins": "3.0.0", "@tryghost/limit-service": "1.2.4", "@tryghost/members-csv": "0.0.0", "@tryghost/mobiledoc-kit": "0.12.5-ghost.2", diff --git a/ghost/core/package.json b/ghost/core/package.json index ec87ee172e..82be3aaac3 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -86,12 +86,12 @@ "@tryghost/image-transform": "1.2.3", "@tryghost/importer-revue": "0.0.0", "@tryghost/job-manager": "0.0.0", - "@tryghost/kg-card-factory": "3.1.9", - "@tryghost/kg-default-atoms": "3.1.4", - "@tryghost/kg-default-cards": "5.18.7", + "@tryghost/kg-card-factory": "4.0.0", + "@tryghost/kg-default-atoms": "4.0.0", + "@tryghost/kg-default-cards": "6.0.0", "@tryghost/kg-default-nodes": "0.0.1", "@tryghost/kg-lexical-html-renderer": "0.0.11", - "@tryghost/kg-mobiledoc-html-renderer": "5.3.11", + "@tryghost/kg-mobiledoc-html-renderer": "6.0.0", "@tryghost/limit-service": "1.2.4", "@tryghost/link-redirects": "0.0.0", "@tryghost/link-replacer": "0.0.0", @@ -195,7 +195,7 @@ "xml": "1.0.1" }, "optionalDependencies": { - "@tryghost/html-to-mobiledoc": "1.8.23", + "@tryghost/html-to-mobiledoc": "2.0.0", "sqlite3": "5.1.4" }, "devDependencies": { diff --git a/ghost/email-service/package.json b/ghost/email-service/package.json index 532fe5ddb0..b9e19b9557 100644 --- a/ghost/email-service/package.json +++ b/ghost/email-service/package.json @@ -28,7 +28,7 @@ "@tryghost/email-events": "0.0.0", "@tryghost/errors": "1.2.20", "@tryghost/html-to-plaintext": "0.0.0", - "@tryghost/kg-default-cards": "5.18.7", + "@tryghost/kg-default-cards": "6.0.0", "@tryghost/logging": "2.3.6", "@tryghost/tpl": "0.1.21", "bson-objectid": "2.0.4", diff --git a/ghost/importer-revue/package.json b/ghost/importer-revue/package.json index e90c21d71f..5f914d85d4 100644 --- a/ghost/importer-revue/package.json +++ b/ghost/importer-revue/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.21", - "@tryghost/kg-default-cards": "^5.18.7", + "@tryghost/kg-default-cards": "6.0.0", "@tryghost/string": "0.2.2", "lodash": "^4.17.21", "papaparse": "^5.3.2", diff --git a/yarn.lock b/yarn.lock index 27e9d54200..44c5a9ccee 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4408,12 +4408,12 @@ dependencies: lodash-es "^4.17.11" -"@tryghost/html-to-mobiledoc@1.8.23": - version "1.8.23" - resolved "https://registry.yarnpkg.com/@tryghost/html-to-mobiledoc/-/html-to-mobiledoc-1.8.23.tgz#00eaeab454b75943f41cfa79de9c6f61b96aba85" - integrity sha512-ouScdIOSbK4L3tJK1WTKqozzaXFqgkJplivF3GIXPjTpCGErkQbSi0CT2EdX3r50z9fHFxoVLwZ28RyQOFmb+g== +"@tryghost/html-to-mobiledoc@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/html-to-mobiledoc/-/html-to-mobiledoc-2.0.0.tgz#90b119dedd765b3856bba28b8781fb355bcec7c1" + integrity sha512-zhZaaoJNtx6BqSlLnfJgdz1L5NOyfCEf12B2Td/j+FTxqkKzv4rgBC4fTqBntZ4xdSEMSMsmMRn/sGBzjuBsNg== dependencies: - "@tryghost/kg-parser-plugins" "^2.12.12" + "@tryghost/kg-parser-plugins" "^3.0.0" "@tryghost/mobiledoc-kit" "^0.12.4-ghost.1" jsdom "^20.0.0" @@ -4451,27 +4451,27 @@ "@tryghost/errors" "^1.2.20" jest-snapshot "^29.0.0" -"@tryghost/kg-card-factory@3.1.9": - version "3.1.9" - resolved "https://registry.yarnpkg.com/@tryghost/kg-card-factory/-/kg-card-factory-3.1.9.tgz#3109a223e7ccdcef44aca50ceed1038c6cdfda30" - integrity sha512-ZG/y9QVgBT56RXH03zOPGvA2u0nqr6QR7V9KALCtyRbLroQ+V8RCxjfeFPPEqcMWr1z39ZSE4uXgFqgpxyf+Ww== +"@tryghost/kg-card-factory@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-card-factory/-/kg-card-factory-4.0.0.tgz#01212a872cbac937aa11b13c904442fa369abbc8" + integrity sha512-8u7bAV+Sc0uKBYOEDK4wiD7xYvtNX5vxdat4S/8/qutUlq2iHvzI44jfosRPV2eWBzKTkiWA98Vlq9TQhXko1Q== -"@tryghost/kg-clean-basic-html@2.2.27", "@tryghost/kg-clean-basic-html@^2.2.27": - version "2.2.27" - resolved "https://registry.yarnpkg.com/@tryghost/kg-clean-basic-html/-/kg-clean-basic-html-2.2.27.tgz#43f9a526dce0e4bd35b823051daf8b26c4c762b7" - integrity sha512-xZrtYFmKcUNxyDU61+0liQ2a0Wr5QSZO/rbLo223H84pqhgcgDRTpe9fYEeUxn2vDUtCgueM5q8ayUoIu2MAJw== +"@tryghost/kg-clean-basic-html@3.0.0", "@tryghost/kg-clean-basic-html@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-clean-basic-html/-/kg-clean-basic-html-3.0.0.tgz#a0b64168620a2477eb3d94cdf40c8840b6f7db4f" + integrity sha512-x8IobSKd+jEqYpDzrbxqaxS01BcODZau1sgAueZxKY9EzdKZIc2wJy+o9jj5XwIVqVcdg0ivoYr3+I4jTilyJw== -"@tryghost/kg-default-atoms@3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-atoms/-/kg-default-atoms-3.1.4.tgz#58916cbd350e865246f95143d14ba62a06f7a1a7" - integrity sha512-LBDW1uD70Wh27LiYzpctvIv6MExcgq7KkGy/RWUo0K/1EExtyEjLhNeeBrJ9taPouW2AQVwkqu69RHQ7NJW6eA== +"@tryghost/kg-default-atoms@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-atoms/-/kg-default-atoms-4.0.0.tgz#569611d1c71947c98eb607910b3eea460811125e" + integrity sha512-+8hrTjy99Omj4l1bqzwjaVU21bj+Hglwep+MdvSuzKYbeyCm3IIdq0KuJZT/aHSlcq38MXKN1wb3kPtefEytmQ== -"@tryghost/kg-default-cards@5.18.7", "@tryghost/kg-default-cards@^5.18.7": - version "5.18.7" - resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.18.7.tgz#2e1882cc543818cdbe9913f0b40891541369cdfa" - integrity sha512-Fezi9DnAkuxuBEYErJi2FC3xXoqsdKHTutEvHMVMAFO38Ns3FQtDaoxBhDxBsmQawboS+ZfpaaTOJquEDtmoQg== +"@tryghost/kg-default-cards@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-6.0.0.tgz#c83ed913ca2ccea7ac94e75a3be581881ccaccde" + integrity sha512-/qI2NyT31EZ+WiSKqNmHHnTgM1om/dKD3Ac6CbnQejK5EQg45pbr26X6n5a/VvpsoaWBd28/b+SBVeQ8R9toOQ== dependencies: - "@tryghost/kg-markdown-html-renderer" "^5.1.11" + "@tryghost/kg-markdown-html-renderer" "^6.0.0" "@tryghost/string" "^0.2.0" "@tryghost/url-utils" "^4.0.0" handlebars "^4.7.6" @@ -4501,10 +4501,10 @@ jsdom "^20.0.0" lexical "^0.5.0" -"@tryghost/kg-markdown-html-renderer@^5.1.11": - version "5.1.11" - resolved "https://registry.yarnpkg.com/@tryghost/kg-markdown-html-renderer/-/kg-markdown-html-renderer-5.1.11.tgz#c0aa728bc2ec518cefa69353211bdb866f70090d" - integrity sha512-mMQmQbO5/l5vVfiKiqlq0Y81wPX83AdSXPEq5GcAklq8E9q1ITpVtIZKC0KGrnQNiuledGOTP6wf2t5tyjgTLg== +"@tryghost/kg-markdown-html-renderer@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-markdown-html-renderer/-/kg-markdown-html-renderer-6.0.0.tgz#25359d13872480289b71b9039923223658e80fc9" + integrity sha512-9QWaptGFRds8wi9Wz1+HXsNw5XtbVewDrl7Uk2L7VVkRXlSdi81UolmnT5kWGJDIY6jqPU0J8JUEdnhR+w9x1A== dependencies: "@tryghost/kg-utils" "^1.0.8" markdown-it "^12.2.0" @@ -4512,23 +4512,25 @@ markdown-it-image-lazy-loading "^1.1.0" markdown-it-lazy-headers "^0.1.3" markdown-it-mark "^3.0.0" + markdown-it-sub "^1.0.0" + markdown-it-sup "^1.0.0" semver "^7.3.5" -"@tryghost/kg-mobiledoc-html-renderer@5.3.11": - version "5.3.11" - resolved "https://registry.yarnpkg.com/@tryghost/kg-mobiledoc-html-renderer/-/kg-mobiledoc-html-renderer-5.3.11.tgz#c7563b1bb172d207d695adfc8ac3bbaff4fa202e" - integrity sha512-qLLe3vW1m3pmxfOJB80rvFaMA5hGCxVm2DzRMRlJArlUZM/OFxZ7j7+RxtEmmVNAnd1A/IIp2+95pqVtUd82+g== +"@tryghost/kg-mobiledoc-html-renderer@6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-mobiledoc-html-renderer/-/kg-mobiledoc-html-renderer-6.0.0.tgz#485f405382d809a785208083b0db349873822f97" + integrity sha512-r1Kj69X4IVL1S84OYLuGUJMfEKTpNCG+LRa0iqSGOQ68ERGPxYe/BVo1gVbq8/Bk+seOaxjJeA40pbR/qbL8dQ== dependencies: "@tryghost/kg-utils" "^1.0.8" mobiledoc-dom-renderer "^0.7.0" simple-dom "^1.4.0" -"@tryghost/kg-parser-plugins@2.12.12", "@tryghost/kg-parser-plugins@^2.12.12": - version "2.12.12" - resolved "https://registry.yarnpkg.com/@tryghost/kg-parser-plugins/-/kg-parser-plugins-2.12.12.tgz#3ad588e91634645c31dd44d5ba65f283785641c6" - integrity sha512-wWCluqxxMrTOBvpuNsnegBv+BCAPdDQSRBJ+PwUebPLFZdarILQD6L9qgQdcBQ9mko6/BsU0doglwnwNvfYL3Q== +"@tryghost/kg-parser-plugins@3.0.0", "@tryghost/kg-parser-plugins@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@tryghost/kg-parser-plugins/-/kg-parser-plugins-3.0.0.tgz#a8fa453f377c4893b233e89ca0ae37d7d56b2dcd" + integrity sha512-CeTylPSz3gwF68C+i4Cefkjj7XgjLPGskPT4vTXDW74wHm3+BhwBGVE7VeknsHmBCWgXcFv8asoOFjD8GLiF4A== dependencies: - "@tryghost/kg-clean-basic-html" "^2.2.27" + "@tryghost/kg-clean-basic-html" "^3.0.0" "@tryghost/kg-utils@^1.0.8": version "1.0.8" @@ -18605,12 +18607,12 @@ markdown-it-mark@3.0.1, markdown-it-mark@^3.0.0: resolved "https://registry.yarnpkg.com/markdown-it-mark/-/markdown-it-mark-3.0.1.tgz#51257db58787d78aaf46dc13418d99a9f3f0ebd3" integrity sha512-HyxjAu6BRsdt6Xcv6TKVQnkz/E70TdGXEFHRYBGLncRE9lBFwDNLVtFojKxjJWgJ+5XxUwLaHXy+2sGBbDn+4A== -markdown-it-sub@1.0.0: +markdown-it-sub@1.0.0, markdown-it-sub@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/markdown-it-sub/-/markdown-it-sub-1.0.0.tgz#375fd6026eae7ddcb012497f6411195ea1e3afe8" integrity sha512-z2Rm/LzEE1wzwTSDrI+FlPEveAAbgdAdPhdWarq/ZGJrGW/uCQbKAnhoCsE4hAbc3SEym26+W2z/VQB0cQiA9Q== -markdown-it-sup@1.0.0: +markdown-it-sup@1.0.0, markdown-it-sup@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/markdown-it-sup/-/markdown-it-sup-1.0.0.tgz#cb9c9ff91a5255ac08f3fd3d63286e15df0a1fc3" integrity sha512-E32m0nV9iyhRR7CrhnzL5msqic7rL1juWre6TQNxsnApg7Uf+F97JOKxUijg5YwXz86lZ0mqfOnutoryyNdntQ== @@ -20731,7 +20733,7 @@ pend@~1.2.0: resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg== -"perf-primitives@github:rwwagner90/perf-primitives#a6a26f11497ca27be3763a88a5f20744e424756b": +perf-primitives@rwwagner90/perf-primitives#a6a26f11497ca27be3763a88a5f20744e424756b: version "0.0.6" resolved "https://codeload.github.com/rwwagner90/perf-primitives/tar.gz/a6a26f11497ca27be3763a88a5f20744e424756b" dependencies: