-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
885507c
commit 66988c9
Showing
7 changed files
with
287 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@httpx/dsn-parser': major | ||
--- | ||
|
||
Minimum requirement bumped to node16 / es2019 / chrome90 | ||
|
||
The dsn-parser package can be transpiled if you need support in older | ||
browsers. See your framework documentation for how to do this (ie [nextjs](https://nextjs.org/docs/app/api-reference/next-config-js/transpilePackages)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@httpx/dsn-parser': patch | ||
--- | ||
|
||
Reduce total bundle size from 1.30kb to 1.13kb mingzip | ||
|
||
dsn-parser tree-shakes well, 1.13kb is the size of the full import. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@httpx/dsn-parser': major | ||
--- | ||
|
||
Fix esm/cjs exported types thanks to arethetypeswrong and publint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
module.exports = [ | ||
{ | ||
name: 'JS', | ||
name: 'JS (ESM)', | ||
path: ['dist/index.mjs'], | ||
limit: '1.39KB', | ||
limit: '1.20KB', | ||
}, | ||
{ | ||
name: 'JS (CJS)', | ||
path: ['dist/index.cjs'], | ||
limit: '1.20KB', | ||
}, | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.