Skip to content

Commit 59a2824

Browse files
authored
[TS] Remove fast-text-encoding polyfill (#4283)
# Description of Changes Hasn't been needed in months (since #3800), it'd be nice to get it in to 2.0 if possible. # Expected complexity level and risk 1 # Testing - [x] Builds successfully - [ ] <!-- maybe a test you want a reviewer to do, so they can check it off when they're satisfied. -->
1 parent 184d4e9 commit 59a2824

4 files changed

Lines changed: 86 additions & 32 deletions

File tree

crates/bindings-typescript/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@
170170
],
171171
"dependencies": {
172172
"base64-js": "^1.5.1",
173-
"fast-text-encoding": "^1.0.0",
174173
"headers-polyfill": "^4.0.3",
175174
"prettier": "^3.3.3",
176175
"pure-rand": "^7.0.1",
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
import 'fast-text-encoding';
21
import 'url-polyfill';

crates/bindings-typescript/tsup.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export default defineConfig([
192192
moduleSideEffects: ['src/server/polyfills.ts'],
193193
},
194194
external: ['undici', /^spacetime:sys.*$/],
195-
noExternal: ['base64-js', 'fast-text-encoding', 'statuses', 'pure-rand'],
195+
noExternal: ['base64-js', 'statuses', 'pure-rand'],
196196
outExtension,
197197
esbuildOptions: commonEsbuildTweaks(),
198198
},

pnpm-lock.yaml

Lines changed: 85 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)