Ghost/ghost/oembed-service/package.json
Daniel Lockyer 7a2f766668
Added logging configuration option for timestamps to use the local timezone
fixes https://github.com/TryGhost/Ghost/issues/15190
refs https://github.com/TryGhost/framework/pull/76

- log output always uses UTC timestamps, but it may be desirable to
  configure logs to use the local machine timezone
- a new config option has been added to `@tryghost/logging` so you can
  switch the logs to the local timezone
- this commit bumps the package and sets the default config option to
  `false`, so it doesn't suddenly change the timezone of the logs
- docs will be updated soon but if you'd like to use the
  timezone-altered timestamps, you can set `logging.useLocalTime` to
  `true`
- credits to https://github.com/levee223 for the implementation and PR
2022-08-31 10:29:55 +01:00

43 lines
1.2 KiB
JSON

{
"name": "@tryghost/oembed-service",
"version": "0.0.0",
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/oembed-service",
"author": "Ghost Foundation",
"private": true,
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test",
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"
},
"files": [
"index.js",
"lib"
],
"devDependencies": {
"c8": "7.12.0",
"mocha": "10.0.0"
},
"dependencies": {
"@tryghost/errors": "1.2.15",
"@tryghost/logging": "2.3.0",
"@tryghost/tpl": "0.1.18",
"cheerio": "0.22.0",
"lodash": "4.17.21",
"metascraper": "5.30.3",
"metascraper-author": "5.30.3",
"metascraper-description": "5.30.3",
"metascraper-image": "5.30.3",
"metascraper-logo": "5.30.3",
"metascraper-logo-favicon": "5.30.3",
"metascraper-publisher": "5.30.3",
"metascraper-title": "5.30.3",
"metascraper-url": "5.30.3",
"oembed-parser": "1.4.9",
"tough-cookie": "4.1.2"
}
}