Skip to content

Commit 4588f77

Browse files
authored
Update typescript package size limits (#3786)
# Description of Changes <!-- Please describe your change, mention any related tickets, and so on here. --> I got these errors when I tried sending out the typescript NPM package: ``` cjs (brotli) Package size limit has exceeded by 165 B Size limit: 26 kB Size: 26.16 kB brotlied esm (brotli) Size limit: 26 kB Size: 25.87 kB brotlied esm (gzip) Package size limit has exceeded by 536 B Size limit: 30 kB Size: 30.54 kB gzipped esm (uncompressed) Package size limit has exceeded by 3.77 kB Size limit: 160 kB Size: 163.77 kB esm min (brotli) Package size limit has exceeded by 194 B Size limit: 14 kB Size: 14.19 kB brotlied esm min (gzip) Package size limit has exceeded by 144 B Size limit: 16 kB Size: 16.14 kB gzipped esm min (uncompressed) Package size limit has exceeded by 1.29 kB Size limit: 65 kB Size: 66.29 kB ``` # API and ABI breaking changes None <!-- If this is an API or ABI breaking change, please apply the corresponding GitHub label. --> # Expected complexity level and risk 1 <!-- How complicated do you think these changes are? Grade on a scale from 1 to 5, where 1 is a trivial change, and 5 is a deep-reaching and complex change. This complexity rating applies not only to the complexity apparent in the diff, but also to its interactions with existing and future code. If you answered more than a 2, explain what is complex about the PR, and what other components it interacts with in potentially concerning ways. --> # Testing <!-- Describe any testing you've done, and any testing you'd like your reviewers to do, so that you're confident that all the changes work as expected! --> - [x] After this change I was able to publish the typescript NPM package.
1 parent 1d34217 commit 4588f77

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

crates/bindings-typescript/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,43 +82,43 @@
8282
"name": "cjs (brotli)",
8383
"path": "dist/index.cjs",
8484
"brotli": true,
85-
"limit": "26 kB"
85+
"limit": "54 kB"
8686
},
8787
{
8888
"name": "esm (brotli)",
8989
"path": "dist/index.mjs",
9090
"brotli": true,
91-
"limit": "26 kB"
91+
"limit": "62 kB"
9292
},
9393
{
9494
"name": "esm (gzip)",
9595
"path": "dist/index.mjs",
9696
"gzip": true,
97-
"limit": "30 kB"
97+
"limit": "31 kB"
9898
},
9999
{
100100
"name": "esm (uncompressed)",
101101
"path": "dist/index.mjs",
102102
"brotli": false,
103-
"limit": "160 kB"
103+
"limit": "328 kB"
104104
},
105105
{
106106
"name": "esm min (brotli)",
107107
"path": "dist/min/index.browser.mjs",
108108
"brotli": true,
109-
"limit": "14 kB"
109+
"limit": "30 kB"
110110
},
111111
{
112112
"name": "esm min (gzip)",
113113
"path": "dist/min/index.browser.mjs",
114114
"gzip": true,
115-
"limit": "16 kB"
115+
"limit": "34 kB"
116116
},
117117
{
118118
"name": "esm min (uncompressed)",
119119
"path": "dist/min/index.browser.mjs",
120120
"brotli": false,
121-
"limit": "65 kB"
121+
"limit": "134 kB"
122122
},
123123
{
124124
"name": "react esm min (brotli)",

0 commit comments

Comments
 (0)