0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00

🐛 Fixed NQL filters for single letter slugs (#21340)

fixes https://github.com/TryGhost/Ghost/issues/20133
- includes fix to support single letter slugs
This commit is contained in:
Steve Larson 2024-10-17 10:35:26 -05:00 committed by GitHub
parent eaed33972f
commit 2e0293c99f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 30 additions and 13 deletions

View file

@ -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.6",
"@tryghost/nql": "0.12.7",
"@tryghost/timezone-data": "0.4.3",
"react": "18.3.1",
"react-dom": "18.3.1",

View file

@ -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.6",
"@tryghost/nql-lang": "0.6.2",
"@tryghost/nql": "0.12.7",
"@tryghost/nql-lang": "0.6.3",
"@tryghost/string": "0.2.12",
"@tryghost/timezone-data": "0.4.3",
"animejs": "3.2.2",

View file

@ -23,7 +23,7 @@
"c8": "7.14.0",
"mocha": "10.2.0",
"sinon": "15.2.0",
"@tryghost/nql": "0.12.6"
"@tryghost/nql": "0.12.7"
},
"dependencies": {
"@tryghost/mongo-utils": "0.6.2",

View file

@ -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.6",
"@tryghost/nql": "0.12.7",
"@tryghost/nql-filter-expansions": "0.0.0",
"@tryghost/post-events": "0.0.0",
"@tryghost/tpl": "0.1.32",

View file

@ -137,7 +137,7 @@
"@tryghost/mw-version-match": "0.0.0",
"@tryghost/mw-vhost": "0.0.0",
"@tryghost/nodemailer": "0.3.45",
"@tryghost/nql": "0.12.6",
"@tryghost/nql": "0.12.7",
"@tryghost/oembed-service": "0.0.0",
"@tryghost/package-json": "0.0.0",
"@tryghost/post-revisions": "0.0.0",

View file

@ -18,7 +18,7 @@
"lib"
],
"devDependencies": {
"@tryghost/nql-lang": "0.6.2",
"@tryghost/nql-lang": "0.6.3",
"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.6",
"@tryghost/nql": "0.12.7",
"@tryghost/tpl": "0.1.32",
"lodash": "4.17.21"
}

View file

@ -25,6 +25,6 @@
"sinon": "15.2.0"
},
"dependencies": {
"@tryghost/nql": "0.12.6"
"@tryghost/nql": "0.12.7"
}
}

View file

@ -26,7 +26,7 @@
"dependencies": {
"@tryghost/errors": "1.3.5",
"@tryghost/link-redirects": "0.0.0",
"@tryghost/nql": "0.12.6",
"@tryghost/nql": "0.12.7",
"@tryghost/tpl": "0.1.32",
"bson-objectid": "2.0.4",
"lodash": "4.17.21",

View file

@ -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.6",
"@tryghost/nql": "0.12.7",
"@tryghost/tpl": "0.1.32",
"@tryghost/validator": "0.2.14",
"@types/jsonwebtoken": "9.0.6",

View file

@ -24,7 +24,7 @@
},
"dependencies": {
"@tryghost/errors": "1.3.5",
"@tryghost/nql": "0.12.6",
"@tryghost/nql": "0.12.7",
"@tryghost/post-events": "0.0.0",
"@tryghost/tpl": "0.1.32",
"bson-objectid": "2.0.4"

View file

@ -7658,7 +7658,14 @@
nodemailer-mailgun-transport "^2.1.5"
nodemailer-stub-transport "^1.1.0"
"@tryghost/nql-lang@0.6.2", "@tryghost/nql-lang@^0.6.2":
"@tryghost/nql-lang@0.6.3", "@tryghost/nql-lang@^0.6.3":
version "0.6.3"
resolved "https://registry.yarnpkg.com/@tryghost/nql-lang/-/nql-lang-0.6.3.tgz#3fe9015d5ebcfdf50be409bf1b0f6cc22cfb47a1"
integrity sha512-NnSdAjN3TIcm8g1/QW/EKLeGKAYIQR6CQZULMt1mbV+lVWnNjrgZNZchg4a90CdC5e0owOps+rz+2dmpDEC/Iw==
dependencies:
date-fns "^2.28.0"
"@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==
@ -7675,6 +7682,16 @@
"@tryghost/nql-lang" "^0.6.2"
mingo "^2.2.2"
"@tryghost/nql@0.12.7":
version "0.12.7"
resolved "https://registry.yarnpkg.com/@tryghost/nql/-/nql-0.12.7.tgz#4ef56984809cb39416b9b21b9cd7ae976720f5e3"
integrity sha512-O58X36ug6KZ8n0/a/mkhb0My3vDO/xbH3HlK+U0t6houwQN7xUEOsZxBq7E0w/h4dXXwQCFeW5mIfuRD3FHWIg==
dependencies:
"@tryghost/mongo-knex" "^0.9.1"
"@tryghost/mongo-utils" "^0.6.2"
"@tryghost/nql-lang" "^0.6.3"
mingo "^2.2.2"
"@tryghost/pretty-cli@1.2.44", "@tryghost/pretty-cli@^1.2.38":
version "1.2.44"
resolved "https://registry.yarnpkg.com/@tryghost/pretty-cli/-/pretty-cli-1.2.44.tgz#9ae1923076c3390457ed40df0217e216413b0f1e"