@tryghost/http-stream 0.1.24 → 0.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1 +1 @@
1
- module.exports = require('./lib/http-stream');
1
+ module.exports = require('./lib/HttpStream');
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "@tryghost/http-stream",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "repository": "https://github.com/TryGhost/framework/tree/main/packages/http-stream",
5
5
  "author": "Ghost Foundation",
6
6
  "license": "MIT",
7
7
  "main": "index.js",
8
+ "scripts": {
9
+ "dev": "echo \"Implement me!\"",
10
+ "test": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
11
+ "lint:code": "eslint *.js lib/ --ext .js --cache",
12
+ "lint": "yarn lint:code && yarn lint:test",
13
+ "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache",
14
+ "posttest": "yarn lint"
15
+ },
8
16
  "files": [
9
17
  "index.js",
10
18
  "lib"
@@ -13,24 +21,15 @@
13
21
  "access": "public"
14
22
  },
15
23
  "devDependencies": {
16
- "c8": "7.13.0",
24
+ "c8": "8.0.1",
17
25
  "express": "4.18.2",
18
26
  "mocha": "10.2.0",
19
27
  "should": "13.2.3",
20
- "sinon": "15.0.4"
28
+ "sinon": "17.0.1"
21
29
  },
22
30
  "dependencies": {
23
- "@tryghost/errors": "^1.2.26",
24
- "@tryghost/request": "^1.0.0"
25
- },
26
- "gitHead": "aa6fbed5ae4dd839c4ff5d120c28d23dcfffb0f3",
27
- "scripts": {
28
- "dev": "echo \"Implement me!\"",
29
- "test": "NODE_ENV=testing c8 --all --check-coverage --100 --reporter text --reporter cobertura mocha './test/**/*.test.js'",
30
- "lint:code": "eslint *.js lib/ --ext .js --cache",
31
- "lint": "yarn lint:code && yarn lint:test",
32
- "lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache",
33
- "posttest": "yarn lint"
31
+ "@tryghost/errors": "^1.2.27",
32
+ "@tryghost/request": "^1.0.1"
34
33
  },
35
- "readme": "# Http Stream\n\nA http stream to use alongside bunyan for logging\n\n## Install\n\n`npm install @tryghost/http-stream --save`\n\nor\n\n`yarn add @tryghost/http-stream`\n\n\n## Usage\n\n\n## Develop\n\nThis is a mono repository, managed with [lerna](https://lernajs.io/).\n\nFollow the instructions for the top-level repo.\n1. `git clone` this repo & `cd` into it as usual\n2. Run `yarn` to install top-level dependencies.\n\n\n## Run\n\n- `yarn dev`\n\n\n## Test\n\n- `yarn lint` run just eslint\n- `yarn test` run lint and tests\n\n\n\n\n# Copyright & License \n\nCopyright (c) 2013-2023 Ghost Foundation - Released under the [MIT license](LICENSE)."
36
- }
34
+ "gitHead": "a655bcfba6531944b8fd997bf53ccefb9dcf1685"
35
+ }
File without changes