Kai Tamkun
da3d64b1ef
Remove a duplicate if statement ( #15555 )
2024-12-03 12:33:27 -08:00
pfg
95fcee8b76
Fix expect toMatchSnapshot not working for some strings ( #15183 )
2024-11-21 17:46:45 -08:00
dave caruso
32ddf343ee
bake: csr, streaming ssr, serve integration, safer jsvalue functions, &more ( #14900 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-11-13 18:19:12 -08:00
pfg
56f7c8887b
Fix unicode imports, unicode-escaped variable names, and printClauseAlias not working for utf-8 ( #15009 )
2024-11-11 13:27:42 -08:00
Dylan Conway
62881ee36b
Redact secrets in bunfig.toml and npmrc logs ( #14919 )
2024-10-31 18:44:24 -07:00
Ciro Spaciari
f8d5b2e6e2
Fix module resolution cache keys ( #14901 )
...
Co-authored-by: dave caruso <me@paperdave.net >
Co-authored-by: cirospaciari <cirospaciari@users.noreply.github.com >
2024-10-30 22:06:21 -07:00
Zack Radisic
5502278f3e
CSS: More stuff and tests ( #14832 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-27 13:49:25 -07:00
Dylan Conway
d3323c84bb
fix(publish): missing bins bugfix ( #14488 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-10-11 21:28:47 -07:00
Dylan Conway
f374ae6db1
add bun publish ( #14215 )
2024-10-02 20:47:22 -07:00
dave caruso
514d37b3d2
kit: implement server components dev server ( #14025 )
2024-09-27 20:53:39 -07:00
Zack Radisic
274e5a2022
CSS Parser ( #14122 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-26 13:39:26 -07:00
Dylan Conway
5af782344f
fix(watch): use case insensitive path comparison ( #13909 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-09-14 01:41:33 -04:00
Dylan Conway
267afa2934
implement bun pm pack ( #13723 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: dylan-conway <dylan-conway@users.noreply.github.com >
2024-09-07 03:55:09 -07:00
Jarred Sumner
d861347dc5
Optimize TextEncoderStream, part 1 ( #13222 )
2024-08-10 02:13:36 -07:00
Dylan Conway
9302b42919
revert 84c91bf7e1 ( #13214 )
2024-08-09 19:28:08 -07:00
Ashcon Partovi
84c91bf7e1
Revert TextDecoderStream until next release ( #13151 )
2024-08-07 12:34:04 -07:00
Dylan Conway
9f7c6e34cb
Add TextDecoderStream, TextEncoderStream, and TextDecoder.decode("", { stream: true}) ( #13115 )
2024-08-07 02:36:29 -07:00
Jarred Sumner
cacbaba524
Make signal.abort() from native code fast ( #13064 )
2024-08-05 15:50:36 -07:00
Dylan Conway
6303af3ce0
fix(TextDecoder): decoding sequences starting with 192 or 193 ( #13043 )
2024-08-02 23:01:34 -07:00
Jarred Sumner
34e493f945
Experiment: disable -fPIC and relro ( #12582 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-17 02:33:46 -07:00
Jarred Sumner
b7dd57ac32
Fix zig build error on Windows
2024-07-11 00:08:05 -07:00
Jarred Sumner
226f42e04a
Rewrite js_ast.NewBaseStore ( #12388 )
...
Co-authored-by: dave caruso <me@paperdave.net >
2024-07-10 21:57:40 -07:00
Jarred Sumner
f1151a84ad
On Windows, fix fs.writeFile(1, fs.writeFile(2, fs.writeFile(\\nul ( #12410 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-07-10 19:49:36 -07:00
dave caruso
688ddbda74
feat(bundler): implement enum inlining / more constant folding ( #12144 )
...
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-03 04:23:17 -07:00
Jarred Sumner
b0018465cc
WebKit upgrade ( #12246 )
...
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-07-01 23:27:59 -07:00
Jarred Sumner
60ef13e079
Fix assertion failure in Bun.escapeHTML with latin1 input ( #12185 )
2024-06-26 18:25:02 -07:00
Zack Radisic
00f9410d92
Fix bun patch with workspaces and scoped packages ( #12022 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
2024-06-21 14:16:14 -07:00
dave caruso
b76376f8a6
chore: upgrade zig to 0.13.0 ( #9965 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Grigory <grigory.orlov.set@gmail.com >
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com >
Co-authored-by: Meghan Denny <hello@nektro.net >
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com >
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com >
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com >
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com >
Co-authored-by: paperdave <paperdave@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com >
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2024-06-20 13:48:39 -07:00
Dylan Conway
fa952b163c
fix(install): tarball extracting bugfix ( #11864 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-15 00:22:16 -07:00
Dylan Conway
5b09384f01
add memrchr to strings.lastIndexOfChar on linux ( #11671 )
2024-06-06 22:01:28 -07:00
Zack Radisic
c85dd4e3bf
feat: bun patch ( #11470 )
...
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
Co-authored-by: zackradisic <zackradisic@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-06-06 17:48:05 -07:00
Jarred Sumner
59bbedf251
Update c-ares ( #11361 )
2024-05-25 21:36:19 -07:00
dave caruso
ec082db67c
fix: fix sourcemap generation (rewrites bun.StringJoiner) ( #11288 )
2024-05-23 23:30:11 -07:00
Meghan Denny
ecb6c810c8
replace [bun.MAX_PATH_BYTES]u8 with bun.PathBuffer ( #11162 )
2024-05-21 15:55:49 -07:00
dave caruso
e98c235e30
feat: load sourcemaps at runtime when using a bun build --target=bun bundle ( #10998 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-05-21 14:41:53 -07:00
Jarred Sumner
7af0ed164a
Fixes #10584 ( #10627 )
2024-04-29 10:43:59 -07:00
Ashcon Partovi
589f941aea
UDP support ( #7271 )
...
Co-authored-by: Georgijs Vilums <georgijs@bun.sh >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gvilums <gvilums@users.noreply.github.com >
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
Co-authored-by: Georgijs <48869301+gvilums@users.noreply.github.com >
Co-authored-by: Georgijs Vilums <=>
2024-04-26 15:25:24 -07:00
Dylan Conway
a6714904e4
set length before copy ( #10498 )
2024-04-24 23:39:05 -07:00
Dylan Conway
fdff887c0a
file protocol and abs path ( #10493 )
2024-04-24 18:55:13 -07:00
Jarred Sumner
1191bf0c15
Delete dead test code ( #10405 )
...
* Delete dead test code
* Apply formatting changes
---------
Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com >
2024-04-20 21:25:10 -07:00
dave caruso
a062e2d367
fix(bundler): fix --compile with asset files on windows ( #10385 )
...
* fix some bundler things
* buh
* buh
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-04-20 17:13:50 -07:00
dave caruso
c99d7ed331
feat: overhaul the crash handler ( #10203 )
...
* some work
* linux things
* linux things
* feat: tracestrings on Windows
* bwaa
* more work on the crash handler
* okay
* adgadsgbcxcv
* ya
* dsafds
* a
* wuh
* a
* bru h
* ok
* yay
* window
* alright
* oops
* yeah
* a
* a
* OOM handling
* fix on window
2024-04-17 15:32:25 -07:00
Meghan Denny
70023bc4ed
linter: ergonomics and new rules ( #10197 )
...
* linter: allow a trailing field
* linter: dont fail if no matches are found
* lint: only import 'bun' once
* lint: ban std.mem.indexOfAny
* linter: ignore commented out code and ignore benchmarks
* this was testing nothing
* lint: ban std.debug.print
* this wasnt testing anything either
2024-04-11 22:26:23 -07:00
Jarred Sumner
688844b472
refactor: ban std.debug.assert ( #10168 )
...
* Ban `std.debug.assert`
* Create .clangd
* Update lint.yml
* Update linter.ts
* update
* lint
* Update linter.ts
* Update linter.ts
* update
* Update linter.ts
* update
* Update linter.ts
* more
* Update install.zig
* words
* Remove UB
2024-04-11 17:52:29 -07:00
Meghan Denny
e209ae81dd
meta: ensure there's a single 'bun' import per file in zig ( #10137 )
...
* meta: ensure there's a single 'bun' import per file in zig
* undo this change in codegen
2024-04-09 22:41:07 -07:00
dave caruso
f02752577b
fix: which should use cwd if given a relative filepath ( #9761 )
...
* Revert "fix!: do not lookup cwd in which (#9691 )"
This reverts commit 4869ebff24 .
* fix which implementation to be more accurate
* t
* which tests windows
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-31 16:50:16 -07:00
Jarred Sumner
d9b7b45080
Fix crash in Bun.escapeHTML ( #9619 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2024-03-25 14:37:20 -07:00
dave caruso
3b13f7f998
fix: large bunx changes, mostly for better windows support ( #9143 )
...
* make bun-debug properly override `bun` in path
* windows path
* fix more issues with bunx
* sync
* stuff
* stuff
* f
* stuff
* further work
* a
* [autofix.ci] apply automated fixes
* okay
* fix building on posix systems
* ok
* make it so bun create cant crash + review
* docuemnt why return false is ok
* .
* cache bust
* merge
* yeah
* yea
* Update src/install/install.zig
* review results
* this will probably fix hardlink issue on windwo
* okay
* how did that work before
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-03-07 14:20:39 -08:00
dave caruso
360bbb4dea
fix(windows): fix directory cache regression "expected to end with a trailing slash" ( #9144 )
...
* okaaaaaaaay
* Revert "resolver: fix debug mode crash in test/bundler/bun-build-api.test.ts (#9140 )"
This reverts commit 331d079dad .
* correctly fix the cache bust bug
this was introduced a couple of commits ago in my random fixes,
where i put the wrong fix to another directory caching bug.
i still stand by the assertion in place despite it causing many people
issues. it's precense will prevent subtle module resolutions failures.
* add an extra comment
* fix building a release build locally
* add a better test case for 3216
* staging
* fix mac issues
* ok
---------
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
2024-02-28 14:51:14 -08:00
dave caruso
c54844b30b
windows: random things ( #9046 )
...
* random things
* fix reliability of loading napi stuff
* fix posix build
* a
2024-02-27 16:30:34 -08:00