Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions devtools/vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@belgattitude/eslint-config-bases": "7.8.0",
"@cloudflare/vitest-pool-workers": "0.8.71",
"@cloudflare/vitest-pool-workers": "0.9.2",
"@codspeed/vitest-plugin": "4.0.1",
"@edge-runtime/vm": "5.0.0",
"@testing-library/dom": "10.4.1",
Expand All @@ -50,7 +50,7 @@
"vitest-browser-react": "1.0.1"
},
"devDependencies": {
"@types/node": "24.3.3",
"@types/node": "24.5.1",
"@types/react": "19.1.13",
"@types/react-dom": "19.1.9",
"is-ci": "4.1.0",
Expand Down
18 changes: 9 additions & 9 deletions examples/nextjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"fix-staged": "lint-staged --allow-empty"
},
"dependencies": {
"@hono/node-server": "1.19.2",
"@hono/node-server": "1.19.3",
"@httpx/assert": "workspace:^",
"@httpx/compress": "workspace:^",
"@httpx/dsn-parser": "workspace:^",
Expand All @@ -31,31 +31,31 @@
"@httpx/stable-hash": "workspace:^",
"@httpx/treeu": "workspace:^",
"@httpx/xcache": "workspace:^",
"axios": "1.11.0",
"axios": "1.12.2",
"clsx": "2.1.1",
"hono": "4.9.6",
"hono": "4.9.7",
"ky": "1.10.0",
"next": "15.5.2",
"next": "15.5.3",
"pino": "9.9.5",
"primereact": "10.9.7",
"react": "19.1.1",
"react-dom": "19.1.1",
"superjson": "2.2.2",
"tailwind-merge": "3.3.1",
"zod": "4.1.5"
"zod": "4.1.9"
},
"devDependencies": {
"@belgattitude/eslint-config-bases": "7.8.0",
"@tailwindcss/postcss": "4.1.13",
"@types/node": "24.3.1",
"@types/react": "19.1.12",
"@types/node": "24.5.1",
"@types/react": "19.1.13",
"@types/react-dom": "19.1.9",
"@vitejs/plugin-react-swc": "4.0.1",
"@vitejs/plugin-react-swc": "4.1.0",
"@vitest/coverage-v8": "3.2.4",
"@vitest/ui": "3.2.4",
"cross-env": "10.0.0",
"eslint": "8.57.1",
"eslint-config-next": "15.5.2",
"eslint-config-next": "15.5.3",
"happy-dom": "18.0.1",
"postcss": "8.5.6",
"prettier": "3.6.2",
Expand Down
6 changes: 3 additions & 3 deletions integrations/prisma-exception/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"@size-limit/file": "11.2.0",
"@size-limit/webpack": "11.2.0",
"@size-limit/webpack-why": "11.2.0",
"@types/node": "24.3.3",
"@types/node": "24.5.1",
"@vitest/coverage-istanbul": "3.2.4",
"@vitest/ui": "3.2.4",
"browserslist": "4.25.4",
"browserslist": "4.26.2",
"browserslist-to-esbuild": "2.1.1",
"cross-env": "10.0.0",
"es-check": "9.3.1",
Expand All @@ -88,7 +88,7 @@
"rimraf": "6.0.1",
"size-limit": "11.2.0",
"tsup": "8.5.0",
"typedoc": "0.28.12",
"typedoc": "0.28.13",
"typedoc-plugin-markdown": "4.8.1",
"typescript": "5.9.2",
"vite-tsconfig-paths": "5.1.4",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@types/shell-quote": "1.7.5",
"@typescript-eslint/eslint-plugin": "8.43.0",
"@typescript-eslint/parser": "8.43.0",
"@typescript-eslint/eslint-plugin": "8.44.0",
"@typescript-eslint/parser": "8.44.0",
"cross-env": "10.0.0",
"eslint": "8.57.1",
"gh-pages": "6.3.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@
"@belgattitude/eslint-config-bases": "7.8.0",
"@httpx/devtools-vitest": "workspace:^",
"@sinclair/typebox": "0.34.41",
"@sindresorhus/is": "7.0.2",
"@sindresorhus/is": "7.1.0",
"@size-limit/file": "11.2.0",
"@size-limit/webpack": "11.2.0",
"@types/lodash-es": "4.17.12",
"browserslist": "4.25.4",
"browserslist": "4.26.2",
"browserslist-to-esbuild": "2.1.1",
"cross-env": "10.0.0",
"es-check": "9.3.1",
Expand All @@ -94,14 +94,14 @@
"size-limit": "11.2.0",
"tinybench": "5.0.1",
"tsup": "8.5.0",
"type-fest": "4.41.0",
"typedoc": "0.28.12",
"type-fest": "5.0.0",
"typedoc": "0.28.13",
"typedoc-plugin-markdown": "4.8.1",
"typescript": "5.9.2",
"valibot": "1.1.0",
"vitest": "3.2.4",
"webpack": "5.101.3",
"zod": "4.1.8"
"zod": "4.1.9"
},
"engines": {
"node": ">=20"
Expand Down
6 changes: 3 additions & 3 deletions packages/compress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
"@arethetypeswrong/cli": "0.18.2",
"@belgattitude/eslint-config-bases": "7.8.0",
"@httpx/devtools-vitest": "workspace:^",
"@sindresorhus/is": "7.0.2",
"@sindresorhus/is": "7.1.0",
"@size-limit/file": "11.2.0",
"@size-limit/webpack": "11.2.0",
"browserslist": "4.25.4",
"browserslist": "4.26.2",
"browserslist-to-esbuild": "2.1.1",
"cross-env": "10.0.0",
"es-check": "9.3.1",
Expand All @@ -91,7 +91,7 @@
"rimraf": "6.0.1",
"size-limit": "11.2.0",
"tsup": "8.5.0",
"typedoc": "0.28.12",
"typedoc": "0.28.13",
"typedoc-plugin-markdown": "4.8.1",
"typescript": "5.9.2",
"vitest": "3.2.4",
Expand Down
8 changes: 8 additions & 0 deletions packages/cookie/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
defaults
chrome >= 96
firefox >= 105
edge >= 113
safari >= 15
ios >= 15
opera >= 103
not dead
6 changes: 6 additions & 0 deletions packages/cookie/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dist
out
build
coverage
_release

60 changes: 60 additions & 0 deletions packages/cookie/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/**
* Specific eslint rules for this workspace, learn how to compose
* @link https://github.com/belgattitude/perso/tree/main/packages/eslint-config-bases
*/

// Workaround for https://github.com/eslint/eslint/issues/3458
require('@belgattitude/eslint-config-bases/patch/modern-module-resolution');

const {
getDefaultIgnorePatterns,
} = require('@belgattitude/eslint-config-bases/helpers');

module.exports = {
extends: [
'@belgattitude/eslint-config-bases/typescript',
'@belgattitude/eslint-config-bases/simple-import-sort',
'@belgattitude/eslint-config-bases/import-x',
'@belgattitude/eslint-config-bases/sonar',
'@belgattitude/eslint-config-bases/regexp',
'@belgattitude/eslint-config-bases/vitest',
'@belgattitude/eslint-config-bases/performance',

// Apply prettier and disable incompatible rules
'@belgattitude/eslint-config-bases/prettier-plugin',
],
ignorePatterns: [
...getDefaultIgnorePatterns(),
'**/build',
'**/.cache',
'**/dist',
'**/_release',
'.cache',
'**/docs',
],
overrides: [
{
files: ['src/**/*.ts'],
rules: {
'import-x/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/*.test.ts', '**/*.spec.ts'],
optionalDependencies: false,
peerDependencies: false,
},
],
// 'import-x/no-cycle': [1, { maxDepth: 5 }],
'import-x/no-nodejs-modules': 'error',
'import-x/no-self-import': 'error',
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
projectService: true,
tsconfigRootDir: __dirname,
},
root: true,
rules: {},
};
37 changes: 37 additions & 0 deletions packages/cookie/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# dependencies
node_modules
/.pnp
.pnp.js

# production output
/dist
/build
/out

# tests
/coverage
/.nyc_output

# editor
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# os
.DS_Store

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

10 changes: 10 additions & 0 deletions packages/cookie/.size-limit.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import type { SizeLimitConfig } from 'size-limit';

module.exports = [
{
name: 'import { CookieStore } (ESM)',
path: ['dist/index.mjs'],
import: '{ CookieStore }',
limit: '900B',
},
] satisfies SizeLimitConfig;
2 changes: 2 additions & 0 deletions packages/cookie/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# @httpx/cookie

21 changes: 21 additions & 0 deletions packages/cookie/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025-current Sébastien Vanvelthem

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading