0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/package.json
Kevin Ansfield 929cb0afe9
🐛 Fixed plaintext and excerpt fallbacks having incorrect URLs after domain change (#12811)
closes https://github.com/TryGhost/Team/issues/571

- `post.plaintext` values were being transformed with the markdown URL transformer but that wasn't picking up the link format used in our plaintext fields resulting in absolute URLs being stored in the database rather than `__GHOST_URL__` URLs
  - meant that if the `url` config is changed then plaintext and other calculated fields that used it would have URLs that referred to the old domain rather than the new one
  - re-saving the posts would have updated it but that's not feasible to do manually for large sites
- bumped `@tryghost/url-utils` to a version that has plaintext transform utils and updated the post model's transform map
2021-03-23 16:56:14 +00:00

180 lines
5.6 KiB
JSON

{
"name": "ghost",
"version": "4.1.0",
"description": "The professional publishing platform",
"author": "Ghost Foundation",
"homepage": "https://ghost.org",
"keywords": [
"ghost",
"blog",
"cms",
"headless",
"content",
"markdown"
],
"repository": {
"type": "git",
"url": "git://github.com/TryGhost/Ghost.git"
},
"bugs": "https://github.com/TryGhost/Ghost/issues",
"contributors": "https://github.com/TryGhost/Ghost/graphs/contributors",
"license": "MIT",
"scripts": {
"start": "node index",
"dev": "DEBUG=ghost:* grunt dev",
"test": "grunt validate",
"ci": "grunt validate --verbose",
"ci:regression": "grunt test-regression --verbose",
"setup": "yarn install && knex-migrator init && grunt symlink && grunt init || (exit 0)",
"lint:server": "eslint --ignore-path .eslintignore 'core/server/**/*.js' 'core/*.js' '*.js'",
"lint:shared": "eslint --ignore-path .eslintignore 'core/shared/**/*.js'",
"lint:frontend": "eslint --ignore-path .eslintignore 'core/frontend/**/*.js'",
"lint:test": "eslint -c test/.eslintrc.json --ignore-path test/.eslintignore 'test/**/*.js'",
"lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
"posttest": "yarn lint",
"fixmodulenotdefined": "yarn cache clean && cd core/client && rm -rf node_modules tmp dist && yarn && cd ../../"
},
"engines": {
"node": "^10.13.0 || ^12.10.0 || ^14.15.0",
"cli": "^1.16.0"
},
"dependencies": {
"@nexes/nql": "0.5.0",
"@sentry/node": "6.2.3",
"@tryghost/adapter-manager": "0.2.9",
"@tryghost/admin-api-schema": "2.0.0",
"@tryghost/bootstrap-socket": "0.2.7",
"@tryghost/constants": "0.1.6",
"@tryghost/email-analytics-provider-mailgun": "1.0.0",
"@tryghost/email-analytics-service": "1.0.0",
"@tryghost/errors": "0.2.9",
"@tryghost/helpers": "1.1.40",
"@tryghost/image-transform": "1.0.3",
"@tryghost/job-manager": "0.8.1",
"@tryghost/kg-card-factory": "2.2.1",
"@tryghost/kg-default-atoms": "2.0.4",
"@tryghost/kg-default-cards": "4.0.2",
"@tryghost/kg-markdown-html-renderer": "4.0.1",
"@tryghost/kg-mobiledoc-html-renderer": "4.0.0",
"@tryghost/limit-service": "0.3.0",
"@tryghost/magic-link": "1.0.0",
"@tryghost/members-api": "1.0.0",
"@tryghost/members-csv": "1.0.0",
"@tryghost/members-ssr": "1.0.0",
"@tryghost/mw-session-from-token": "0.1.16",
"@tryghost/promise": "0.1.6",
"@tryghost/security": "0.2.6",
"@tryghost/session-service": "0.1.17",
"@tryghost/social-urls": "0.1.21",
"@tryghost/string": "0.1.17",
"@tryghost/url-utils": "1.1.1",
"@tryghost/vhost-middleware": "1.0.13",
"@tryghost/zip": "1.1.10",
"amperize": "0.6.1",
"analytics-node": "4.0.1",
"bluebird": "3.7.2",
"body-parser": "1.19.0",
"bookshelf": "0.15.2",
"bookshelf-relations": "1.4.1",
"brute-knex": "4.0.1",
"bson-objectid": "1.3.1",
"bthreads": "0.5.1",
"cheerio": "0.22.0",
"compression": "1.7.4",
"connect-slashes": "1.4.0",
"cookie-session": "1.4.0",
"cors": "2.8.5",
"downsize": "0.0.8",
"express": "4.17.1",
"express-brute": "1.0.1",
"express-hbs": "2.3.4",
"express-jwt": "6.0.0",
"express-query-boolean": "2.0.0",
"express-session": "1.17.1",
"fs-extra": "9.1.0",
"ghost-ignition": "4.5.4",
"ghost-storage-base": "0.0.4",
"glob": "7.1.6",
"got": "9.6.0",
"gscan": "4.0.1",
"html-to-text": "5.1.1",
"image-size": "0.8.3",
"intl": "1.2.5",
"intl-messageformat": "5.4.3",
"js-yaml": "4.0.0",
"jsonpath": "1.1.0",
"jsonwebtoken": "8.5.1",
"juice": "7.0.0",
"keypair": "1.0.2",
"knex": "0.21.19",
"knex-migrator": "4.0.2",
"lodash": "4.17.21",
"mailgun-js": "0.22.0",
"metascraper": "5.11.9",
"metascraper-author": "5.11.9",
"metascraper-description": "5.11.9",
"metascraper-image": "5.11.9",
"metascraper-logo": "5.11.9",
"metascraper-logo-favicon": "5.11.9",
"metascraper-publisher": "5.11.9",
"metascraper-title": "5.11.9",
"metascraper-url": "5.11.9",
"moment": "2.24.0",
"moment-timezone": "0.5.23",
"multer": "1.4.2",
"mysql": "2.18.1",
"nconf": "0.11.2",
"netjet": "1.4.0",
"node-jose": "2.0.0",
"nodemailer": "0.7.1",
"oembed-parser": "1.3.7",
"path-match": "1.2.4",
"probe-image-size": "5.0.0",
"rss": "1.2.2",
"sanitize-html": "2.3.3",
"semver": "7.3.5",
"stoppable": "1.1.0",
"tough-cookie": "4.0.0",
"uuid": "8.3.2",
"validator": "6.3.0",
"xml": "1.0.1"
},
"optionalDependencies": {
"@tryghost/html-to-mobiledoc": "0.7.12",
"sqlite3": "4.2.0"
},
"devDependencies": {
"@lodder/grunt-postcss": "3.0.0",
"coffeescript": "2.5.1",
"cssnano": "4.1.10",
"eslint": "7.22.0",
"eslint-plugin-ghost": "2.0.0",
"grunt": "1.3.0",
"grunt-bg-shell": "2.3.3",
"grunt-contrib-clean": "2.0.0",
"grunt-contrib-compress": "1.6.0",
"grunt-contrib-copy": "1.0.0",
"grunt-contrib-symlink": "1.0.0",
"grunt-contrib-watch": "1.1.0",
"grunt-express-server": "0.5.4",
"grunt-mocha-cli": "7.0.0",
"grunt-shell": "3.0.1",
"grunt-subgrunt": "1.3.0",
"grunt-update-submodules": "0.4.1",
"jwks-rsa": "1.12.3",
"mocha": "8.3.2",
"mock-knex": "0.4.9",
"nock": "13.0.11",
"papaparse": "5.3.0",
"proxyquire": "2.1.3",
"rewire": "5.0.0",
"should": "13.2.3",
"sinon": "10.0.0",
"supertest": "6.1.3",
"tmp": "0.0.33"
},
"resolutions": {
"moment": "2.24.0",
"moment-timezone": "0.5.23"
}
}