mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fixed treeshaking and require size for date-fns
- we don't need to require the entire package and this costs 5% of our boot time - this commit bumps NQL to the latest version, which fixes the requires to help with treeshaking and loading less code
This commit is contained in:
parent
8478a753a9
commit
de5dcb8189
11 changed files with 38 additions and 38 deletions
|
@ -38,7 +38,7 @@
|
|||
"@tryghost/color-utils": "0.2.2",
|
||||
"@tryghost/kg-unsplash-selector": "0.2.5",
|
||||
"@tryghost/limit-service": "1.2.14",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/timezone-data": "0.4.3",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1",
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
"@tryghost/koenig-lexical": "1.3.26",
|
||||
"@tryghost/limit-service": "1.2.14",
|
||||
"@tryghost/members-csv": "0.0.0",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql-lang": "0.6.1",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/nql-lang": "0.6.2",
|
||||
"@tryghost/string": "0.2.12",
|
||||
"@tryghost/timezone-data": "0.4.3",
|
||||
"animejs": "3.2.2",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"c8": "7.14.0",
|
||||
"mocha": "10.2.0",
|
||||
"sinon": "15.2.0",
|
||||
"@tryghost/nql": "0.12.5"
|
||||
"@tryghost/nql": "0.12.6"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/mongo-utils": "0.6.2",
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"@tryghost/errors": "1.3.5",
|
||||
"@tryghost/in-memory-repository": "0.0.0",
|
||||
"@tryghost/logging": "2.4.18",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/nql-filter-expansions": "0.0.0",
|
||||
"@tryghost/post-events": "0.0.0",
|
||||
"@tryghost/tpl": "0.1.32",
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
"@tryghost/api-framework": "0.0.0",
|
||||
"@tryghost/api-version-compatibility-service": "0.0.0",
|
||||
"@tryghost/audience-feedback": "0.0.0",
|
||||
"@tryghost/bookshelf-plugins": "0.6.24",
|
||||
"@tryghost/bookshelf-plugins": "0.6.25",
|
||||
"@tryghost/bootstrap-socket": "0.0.0",
|
||||
"@tryghost/collections": "0.0.0",
|
||||
"@tryghost/color-utils": "0.2.2",
|
||||
|
@ -136,7 +136,7 @@
|
|||
"@tryghost/mw-version-match": "0.0.0",
|
||||
"@tryghost/mw-vhost": "0.0.0",
|
||||
"@tryghost/nodemailer": "0.3.45",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/oembed-service": "0.0.0",
|
||||
"@tryghost/package-json": "0.0.0",
|
||||
"@tryghost/post-revisions": "0.0.0",
|
||||
|
@ -188,7 +188,7 @@
|
|||
"ghost-storage-base": "1.0.0",
|
||||
"glob": "8.1.0",
|
||||
"got": "11.8.6",
|
||||
"gscan": "4.43.6",
|
||||
"gscan": "4.43.7",
|
||||
"human-number": "2.0.4",
|
||||
"image-size": "1.1.1",
|
||||
"intl": "1.2.5",
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"lib"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@tryghost/nql-lang": "0.6.1",
|
||||
"@tryghost/nql-lang": "0.6.2",
|
||||
"c8": "8.0.1",
|
||||
"mocha": "10.2.0",
|
||||
"should": "13.2.3",
|
||||
|
@ -27,7 +27,7 @@
|
|||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.32",
|
||||
"@tryghost/errors": "1.3.5",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/tpl": "0.1.32",
|
||||
"lodash": "4.17.21"
|
||||
}
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
"sinon": "15.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/nql": "0.12.5"
|
||||
"@tryghost/nql": "0.12.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"dependencies": {
|
||||
"@tryghost/errors": "1.3.5",
|
||||
"@tryghost/link-redirects": "0.0.0",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/tpl": "0.1.32",
|
||||
"bson-objectid": "2.0.4",
|
||||
"lodash": "4.17.21",
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
"@tryghost/magic-link": "0.0.0",
|
||||
"@tryghost/member-events": "0.0.0",
|
||||
"@tryghost/members-payments": "0.0.0",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/tpl": "0.1.32",
|
||||
"@tryghost/validator": "0.2.14",
|
||||
"@types/jsonwebtoken": "9.0.6",
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@tryghost/errors": "1.3.5",
|
||||
"@tryghost/nql": "0.12.5",
|
||||
"@tryghost/nql": "0.12.6",
|
||||
"@tryghost/post-events": "0.0.0",
|
||||
"@tryghost/tpl": "0.1.32",
|
||||
"bson-objectid": "2.0.4"
|
||||
|
|
46
yarn.lock
46
yarn.lock
|
@ -7202,14 +7202,14 @@
|
|||
"@tryghost/debug" "^0.1.33"
|
||||
lodash "^4.17.21"
|
||||
|
||||
"@tryghost/bookshelf-filter@^0.5.20":
|
||||
version "0.5.20"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/bookshelf-filter/-/bookshelf-filter-0.5.20.tgz#e1c7a99314305178488dd8024b1b66c4a492caae"
|
||||
integrity sha512-gPdss759jRIzI+o8U3wPCAL0qBB0DmLlsT8TPicF33kN4d/MSx5ab4bUtKqH/5AaYaSBQvPhZEEv5SZUI3Ztpw==
|
||||
"@tryghost/bookshelf-filter@^0.5.21":
|
||||
version "0.5.21"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/bookshelf-filter/-/bookshelf-filter-0.5.21.tgz#4edfea61a714e7505916ee4f8cc18ce2142833d1"
|
||||
integrity sha512-RUX0ZTloS/DFWa9eFZDIHGUxb5bdbjgHJnksaL/csE0zC3EjhdTTGIfnSzg8fv4T0fvRNJYM2TZ/hfciW9OSbA==
|
||||
dependencies:
|
||||
"@tryghost/debug" "^0.1.33"
|
||||
"@tryghost/errors" "^1.3.6"
|
||||
"@tryghost/nql" "0.12.5"
|
||||
"@tryghost/nql" "0.12.6"
|
||||
"@tryghost/tpl" "^0.1.33"
|
||||
|
||||
"@tryghost/bookshelf-has-posts@^0.1.33":
|
||||
|
@ -7244,15 +7244,15 @@
|
|||
"@tryghost/tpl" "^0.1.33"
|
||||
lodash "^4.17.21"
|
||||
|
||||
"@tryghost/bookshelf-plugins@0.6.24":
|
||||
version "0.6.24"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/bookshelf-plugins/-/bookshelf-plugins-0.6.24.tgz#f44c783e11da55fab95d8a5064a96ae58360aede"
|
||||
integrity sha512-tX35hQDTR7dXyY2Nd8t88hscVhRTe27okwxvIM9sR+QzJQ6yu7RUhQCqpdlRPtfzMwbF3vRxxaEAAaqsLZ4b6Q==
|
||||
"@tryghost/bookshelf-plugins@0.6.25":
|
||||
version "0.6.25"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/bookshelf-plugins/-/bookshelf-plugins-0.6.25.tgz#27d49bc401c46114aa174589e14de85e34b7fb2c"
|
||||
integrity sha512-+cPK+ro6ezGDA0P/08cErmWRkcrzbajb+1930uX9cjVG47VQMYGhrF0sey0XTgP1Xf5V/WNEGm6eZFf/yWzIyQ==
|
||||
dependencies:
|
||||
"@tryghost/bookshelf-collision" "^0.1.46"
|
||||
"@tryghost/bookshelf-custom-query" "^0.1.28"
|
||||
"@tryghost/bookshelf-eager-load" "^0.1.32"
|
||||
"@tryghost/bookshelf-filter" "^0.5.20"
|
||||
"@tryghost/bookshelf-filter" "^0.5.21"
|
||||
"@tryghost/bookshelf-has-posts" "^0.1.33"
|
||||
"@tryghost/bookshelf-include-count" "^0.3.16"
|
||||
"@tryghost/bookshelf-order" "^0.1.28"
|
||||
|
@ -7646,21 +7646,21 @@
|
|||
nodemailer-mailgun-transport "^2.1.5"
|
||||
nodemailer-stub-transport "^1.1.0"
|
||||
|
||||
"@tryghost/nql-lang@0.6.1", "@tryghost/nql-lang@^0.6.1":
|
||||
version "0.6.1"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/nql-lang/-/nql-lang-0.6.1.tgz#830847d71f0b04107f7d20e3ebc91530fa11df16"
|
||||
integrity sha512-0fYuzWuHXYN0qk3EnqBPv7IQykn6IaFFp1XcY3CtB3nfYZqsJzVGylQFNpxx6dhRLN8ZxdycZ00HkRChd0tvjQ==
|
||||
"@tryghost/nql-lang@0.6.2", "@tryghost/nql-lang@^0.6.2":
|
||||
version "0.6.2"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/nql-lang/-/nql-lang-0.6.2.tgz#529d4fc06840dd0d4f120610d3d081f5df51c12c"
|
||||
integrity sha512-woIgIi89fpRnuBZQjZNF4MHbwp2IwYGQ/vEuvCGhHmOE47qhtEadvd0dCUnzOYSszgsFcp+xtOe6ZrICVEdUmw==
|
||||
dependencies:
|
||||
date-fns "^2.28.0"
|
||||
|
||||
"@tryghost/nql@0.12.5", "@tryghost/nql@^0.12.5":
|
||||
version "0.12.5"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/nql/-/nql-0.12.5.tgz#dc4531e26af06fd40c3b182295a480923cc44591"
|
||||
integrity sha512-vc7IBsmYLb7zszLTFxGcDobkUKQ3cBKTEq3P71OGt7ranVI3KD1Du5Pq90eowQflT61DTy5eU7U9mltXOGvEkw==
|
||||
"@tryghost/nql@0.12.6", "@tryghost/nql@^0.12.5":
|
||||
version "0.12.6"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/nql/-/nql-0.12.6.tgz#18c8b57f73d37269e2c0ab23b6c3f4f4030804b4"
|
||||
integrity sha512-IIcfxSgK++O/6om42T+waIjuJCeZ0Ma88ITp/DRbaqgGzUpd9tRAyOzsTTxQkZ7OUbHXd165+ee4myHTh7fmSw==
|
||||
dependencies:
|
||||
"@tryghost/mongo-knex" "^0.9.1"
|
||||
"@tryghost/mongo-utils" "^0.6.2"
|
||||
"@tryghost/nql-lang" "^0.6.1"
|
||||
"@tryghost/nql-lang" "^0.6.2"
|
||||
mingo "^2.2.2"
|
||||
|
||||
"@tryghost/pretty-cli@1.2.44", "@tryghost/pretty-cli@^1.2.38":
|
||||
|
@ -18669,10 +18669,10 @@ growly@^1.3.0:
|
|||
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
|
||||
integrity sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==
|
||||
|
||||
gscan@4.43.6:
|
||||
version "4.43.6"
|
||||
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.43.6.tgz#2c5749fdfbd7d250d76d67d6101ede26f974b742"
|
||||
integrity sha512-JUpzQyV1Rl8mOYR+egFcRiHOpoTihn45ZlH3Z2D4z2tMqorG9OEnb1kf+VS+YKKpC9GY9PhJbG6tRrkthLbhEA==
|
||||
gscan@4.43.7:
|
||||
version "4.43.7"
|
||||
resolved "https://registry.yarnpkg.com/gscan/-/gscan-4.43.7.tgz#fe39e9db02a770ee0e5a9f67b2129a29ee4b5bbf"
|
||||
integrity sha512-Y91yFnr4owcmuzCK0PbQUUaqfX8YPYZQQiam3rp5XvfpazQYM4oaWF2AGGPmKXLnQg7m75qHcq+E860GnkQ8QA==
|
||||
dependencies:
|
||||
"@sentry/node" "^7.73.0"
|
||||
"@tryghost/config" "^0.2.18"
|
||||
|
|
Loading…
Add table
Reference in a new issue