Jarred Sumner
da10cd6010
[bundler] Empty ESM gets undefined, empty CJS gets {}
2023-05-12 07:27:53 -07:00
Jarred Sumner
a46d3162ae
Fix importstar_ts/ReExportTypeOnlyFileES6
2023-05-12 07:27:25 -07:00
Jarred Sumner
02a8f99629
sort more
2023-05-12 07:27:15 -07:00
Jarred Sumner
20f1057a7d
Fix a couple tests
2023-05-12 07:27:09 -07:00
Jarred Sumner
f6bbfb16fd
Add a couple tests
2023-05-12 07:27:03 -07:00
Jarred Sumner
b5c70814e5
handle errors + sort things
2023-05-12 07:21:57 -07:00
Jarred Sumner
8340b98352
[bundler] Disable export star redirect code size optimization
2023-05-12 07:14:48 -07:00
Jarred Sumner
d2e09ce519
[bundler] Fix export * from ./my-cjs-file.cjs'
2023-05-12 04:11:21 -07:00
Jarred Sumner
1e450dbcab
[bundler] Implement export * from code size optimization
2023-05-12 04:11:21 -07:00
Jarred Sumner
231da81528
[bundler] Fix --transpile --outfile
2023-05-12 04:11:21 -07:00
Ciro Spaciari
6070e135e9
fix proxy status return ( #2860 )
2023-05-12 08:06:17 -03:00
Ciro Spaciari
f8c840aec7
fix large stdout output ( #2850 )
...
* fix large stdout output
* remove skip from #2674 for testing
* add big stdout test using spawnSync
* add bunEnv on big stdout test
2023-05-12 08:05:46 -03:00
Jarred Sumner
273ccbc241
[bundler] Fix bug with export default TypeScriptType
2023-05-12 02:02:35 -07:00
Jarred Sumner
3f01e2a519
alphabetize
2023-05-12 01:49:17 -07:00
Jarred Sumner
b0908b7b13
Fix test
2023-05-12 01:49:07 -07:00
Jarred Sumner
5b3e18e028
Fix regression
2023-05-12 01:49:00 -07:00
Jarred Sumner
155110a03a
Fix our tree shaking optimization
2023-05-11 23:19:21 -07:00
Jarred Sumner
3bb5c45385
Fix require() on a converted file
2023-05-11 23:18:36 -07:00
Jarred Sumner
e785b0872a
Fix tree shaking flag
2023-05-11 23:17:06 -07:00
Jarred Sumner
99cce67d61
enable tree shaking
2023-05-11 21:40:47 -07:00
dave caruso
4381204cdb
oops ( #2863 )
...
* oops
* oops part 2
2023-05-11 21:25:03 -07:00
Jarred Sumner
0cee7c028a
woops
2023-05-11 20:05:46 -07:00
Jarred Sumner
bfcc0b8960
handle module.exports.foo = class {} in the entry point in the runtime
...
Related to https://github.com/oven-sh/bun/issues/2862 , but does not fix it
2023-05-11 20:01:10 -07:00
dave caruso
dfd0f3e252
Allow reading config from within plugins, and partially implement esbuild initialOptions ( #2861 )
...
* Implement plugin build.config and initialOptions
* update types
* default initialoptions entrypoints
2023-05-11 22:58:41 -04:00
Jarred Sumner
136b50c746
formatting
2023-05-11 19:31:55 -07:00
Jarred Sumner
5bb42c81e4
give up on this optimization so we can ship
2023-05-11 19:31:39 -07:00
Jarred Sumner
a008e49a40
forgot to commit this
2023-05-11 15:14:43 -07:00
Jarred Sumner
56b8458c62
call stop before emit
2023-05-11 15:10:40 -07:00
Jarred Sumner
7141e19a10
fixup
2023-05-11 15:10:06 -07:00
Jarred Sumner
5c08200b18
[node:http] handle errors generated by fetch
2023-05-11 15:09:30 -07:00
Jarred Sumner
d67bdb7e9b
[node:http] Fix close() to accept a callback and implement closeAllConnections
2023-05-11 15:09:14 -07:00
Jarred Sumner
77eb61a1fe
Fix OutputKind, add "use client" and "use server"
2023-05-11 15:08:18 -07:00
dave caruso
6a163cf933
bundler tests and improve Bun.build return type ( #2833 )
...
* importstar_ts
* tests
* run acorn test suite
* bench tweaks
* test
* bun.build tests very incomplete
* remove dataurl and base64 loaders from tests since they dont work yet
* tests
* stuff
* stuff
* add errors and array of blobs
* work so far
* docs
* requested changes
* fix overwrite docs
* remove this file
2023-05-11 14:42:54 -07:00
Dylan Conway
02cad591f8
fix child process tests ( #2584 )
...
* always handle exit on next tick
* emit spawn immediately
2023-05-11 14:39:44 -07:00
Ciro Spaciari
3530cfac68
fix redirect: \'manual\' and setTimeout on node:http request ( #2848 )
2023-05-11 14:25:21 -07:00
Ciro Spaciari
bc7d0adcf9
fix(fs) mkdtemp and mkdtempSync errors ( #2851 )
...
* fix mkdtemp
* fmt
* fix errno
2023-05-11 14:23:33 -07:00
Ciro Spaciari
d032b73b10
add tests for ws.close ( #2844 )
...
* add tests for ws.close
* add timeout on ws.close tests
2023-05-11 02:30:48 -07:00
Ciro Spaciari
9c166a1bdf
add support for { all: true } option on dns.lookup ( #2846 )
2023-05-11 02:30:20 -07:00
Jarred Sumner
e125ed2aa3
Report timings for failing tests too
2023-05-11 01:16:46 -07:00
Jarred Sumner
5ffee9477c
[bun test] Add timings to successful tests
2023-05-11 00:55:41 -07:00
Degreat
4b79b37a99
Implement describe.skip ( #2836 )
...
* Implement describe.skip
* Add more tests to cover hooks
2023-05-10 23:57:30 -07:00
Ciro Spaciari
f9831e1f6f
feat(fetch) add redirect: 'error' support ( #2845 )
...
* add redirect: 'error' support
* fix typo
* fix typo
* refactor FetchRedirect enum
* fix FetchRedirect
* updated
2023-05-10 23:55:39 -07:00
Dylan Conway
8f4a5903ab
make sure vars can be hoisted in catch scope ( #2847 )
2023-05-10 23:55:27 -07:00
Jarred Sumner
0e5f0940ee
serialize
2023-05-10 23:30:30 -07:00
Jarred Sumner
9d3a95ed96
Add version
2023-05-10 23:03:37 -07:00
Jarred Sumner
2abfa84db7
Implement the benchmark snippet runner minus the sqlite serialization step
2023-05-10 22:50:56 -07:00
Dylan Conway
53fe8d61e7
object empty ast
2023-05-10 21:53:38 -07:00
Jarred Sumner
e1c6adc737
Prepare to run these automatically
2023-05-10 21:37:08 -07:00
Jarred Sumner
5e0eedccb0
Fix test failure in scope order verification
2023-05-10 20:07:12 -07:00
Jarred Sumner
06a03df9a6
Fix assertion
2023-05-10 17:59:55 -07:00