Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalsadhu committed Oct 15, 2024
2 parents b510f27 + 1045c21 commit f436c81
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 100 deletions.
33 changes: 14 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,47 @@

* replace early hints with header link reading ([4429681](https://github.com/podium-lib/client/commit/44296811441a857fabeaebb583c42da28ec47705))

# [5.2.0-next.4](https://github.com/podium-lib/client/compare/v5.2.0-next.3...v5.2.0-next.4) (2024-09-24)
## [5.1.15](https://github.com/podium-lib/client/compare/v5.1.14...v5.1.15) (2024-10-14)


### Bug Fixes

* update @podium/utils to support hints asset collection ([fe97c44](https://github.com/podium-lib/client/commit/fe97c44bc6d29d1e45d335235cd3b1ef6eeafeaa))
* **deps:** update dependency undici to v6.20.1 ([607944d](https://github.com/podium-lib/client/commit/607944d60ca67bccb6863e88073ce9c6f8f4d871))


### Features

* keep track of which resources have emitted early hints and emit complete event once all resources have emitted ([7cf916a](https://github.com/podium-lib/client/commit/7cf916ab286a3c6cb8fbfdae46634b58f2be256f))

# [5.2.0-next.3](https://github.com/podium-lib/client/compare/v5.2.0-next.2...v5.2.0-next.3) (2024-09-20)
## [5.1.14](https://github.com/podium-lib/client/compare/v5.1.13...v5.1.14) (2024-10-09)


### Features
### Bug Fixes

* write early hints to browser ([42513a3](https://github.com/podium-lib/client/commit/42513a38f5304648f7b2fb915995c66dc1dd3594))
* **deps:** update dependency undici to v6.20.0 ([cbbfcf4](https://github.com/podium-lib/client/commit/cbbfcf44e9143c72b54d85148106a7f61445419e))

# [5.2.0-next.2](https://github.com/podium-lib/client/compare/v5.2.0-next.1...v5.2.0-next.2) (2024-09-16)
## [5.1.13](https://github.com/podium-lib/client/compare/v5.1.12...v5.1.13) (2024-09-22)


### Bug Fixes

* improve error messages when fetching from manifest, content and fallback routes when a timeout occurs ([e188bbc](https://github.com/podium-lib/client/commit/e188bbc40d30ed2e21947dd29de76bd218907428))
* **deps:** update dependency @podium/utils to v5.3.1 ([2cdc889](https://github.com/podium-lib/client/commit/2cdc88953b90dabd1cf35df2cd310a60ab9eee95))

# [5.2.0-next.1](https://github.com/podium-lib/client/compare/v5.1.10-next.2...v5.2.0-next.1) (2024-09-10)
## [5.1.12](https://github.com/podium-lib/client/compare/v5.1.11...v5.1.12) (2024-09-20)


### Features
### Bug Fixes

* read assets from podlets using 103 early hints ([64e4b27](https://github.com/podium-lib/client/commit/64e4b27773b87c220bcab1028ecdda82be2aa9fc))
* **deps:** update dependency @podium/utils to v5.3.0 ([3caf71b](https://github.com/podium-lib/client/commit/3caf71b7aaff72598934df7ee65e33050d985d01))

## [5.1.10-next.2](https://github.com/podium-lib/client/compare/v5.1.10-next.1...v5.1.10-next.2) (2024-08-26)
## [5.1.11](https://github.com/podium-lib/client/compare/v5.1.10...v5.1.11) (2024-09-20)


### Bug Fixes

* use AbortController instead of AbortSignal to avoid unhandled exception ([#412](https://github.com/podium-lib/client/issues/412)) ([87f5ffe](https://github.com/podium-lib/client/commit/87f5ffe553aa49189658a9be0e19d1323878a55a))
* **deps:** update dependency @podium/utils to v5.2.1 ([c9e9cfa](https://github.com/podium-lib/client/commit/c9e9cfa650767a29cf06da7cd49056093cb9f738))

## [5.1.10-next.1](https://github.com/podium-lib/client/compare/v5.1.9...v5.1.10-next.1) (2024-08-22)
## [5.1.10](https://github.com/podium-lib/client/compare/v5.1.9...v5.1.10) (2024-09-06)


### Bug Fixes

* use AbortSignal to ensure timeouts are respected ([08899d9](https://github.com/podium-lib/client/commit/08899d974246037cb1893a5b6d06bd6df58815e2))
* **deps:** update dependency @podium/utils to v5.2.0 ([f7d4675](https://github.com/podium-lib/client/commit/f7d4675e6e2b9f2fba26cbd164d3e7a73b9c132e))

## [5.1.9](https://github.com/podium-lib/client/compare/v5.1.8...v5.1.9) (2024-08-19)

Expand Down
23 changes: 2 additions & 21 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
import prettierConfig from 'eslint-config-prettier';
import prettierPlugin from 'eslint-plugin-prettier/recommended';
import globals from 'globals';
import js from '@eslint/js';
import config from '@podium/eslint-config';

export default [
js.configs.recommended,
prettierConfig,
prettierPlugin,
{
languageOptions: {
globals: {
...globals.node,
...globals.browser,
global: true,
},
},
},
{
ignores: ['coverage/*', 'dist/*'],
},
];
export default config;
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "run-s test:unit test:types",
"test:unit": "tap --disable-coverage --allow-empty-coverage",
"test:types": "tsc --project tsconfig.test.json",
"types": "tsc --declaration --emitDeclarationOnly"
"test": "tap --disable-coverage --allow-empty-coverage",
"types": "run-s types:tsc types:test",
"types:tsc": "tsc",
"types:test": "tsc --project tsconfig.test.json"
},
"dependencies": {
"@hapi/boom": "10.0.1",
Expand All @@ -45,7 +45,7 @@
"http-cache-semantics": "^4.0.3",
"lodash.clonedeep": "^4.5.0",
"ttl-mem-cache": "4.1.0",
"undici": "6.19.8"
"undici": "6.20.1"
},
"devDependencies": {
"@podium/test-utils": "3.1.0-next.5",
Expand All @@ -54,20 +54,22 @@
"@semantic-release/github": "10.0.6",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "13.0.0",
"@sinonjs/fake-timers": "11.2.2",
"@types/readable-stream": "4.0.15",
"benchmark": "2.1.4",
"eslint": "9.6.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"express": "4.21.1",
"@podium/eslint-config": "1.0.0",
"@podium/semantic-release-config": "2.0.0",
"@podium/typescript-config": "1.0.0",
"@sinonjs/fake-timers": "11.3.1",
"@types/readable-stream": "4.0.15",
"benchmark": "2.1.4",
"eslint": "9.6.0",
"get-stream": "9.0.1",
"globals": "15.8.0",
"http-proxy": "1.18.1",
"is-stream": "4.0.1",
"npm-run-all2": "5.0.0",
"npm-run-all2": "6.2.3",
"prettier": "3.3.2",
"semantic-release": "23.1.1",
"semantic-release": "24.1.2",
"tap": "18.7.2",
"typescript": "5.6.3"
}
Expand Down
27 changes: 0 additions & 27 deletions release.config.cjs

This file was deleted.

3 changes: 3 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
extends: '@podium/semantic-release-config',
};
18 changes: 4 additions & 14 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
{
"extends": "@podium/typescript-config/module.json",
"include": ["./lib/**/*.js"],
"compilerOptions": {
"lib": ["es2020"],
"module": "NodeNext",
"target": "es2020",
"resolveJsonModule": true,
"checkJs": true,
"allowJs": true,
"moduleResolution": "nodenext",
"declaration": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"outDir": "types",
"forceConsistentCasingInFileNames": true
},
"include": ["./lib/**/*.js"]
"outDir": "types"
}
}
9 changes: 2 additions & 7 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"extends": "./tsconfig.json",
"include": ["./tests/**/*.js"],
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"noEmit": true
}
"extends": "@podium/typescript-config/test.json",
"include": ["./tests/**/*.js"]
}

0 comments on commit f436c81

Please sign in to comment.