Jarred Sumner
fcd8b82864
Add stubs for missing node builtins ( #2534 )
...
* Stub `node:v8`
* Stub `node:trace_events`
* Stub `node:repl`
* Stub `node:inspector`
* Stub `node:http2`
* Stub `node:diagnostics_channel`
* Stub `node:dgram`
* Stub `node:cluster`
* Link stubs
* cleanup
* Clean up the test
* Implement `node:vm` stub
* Cleanup `v8` module stub
* Add missing `promises` export to node:stream
* Implement `node:stream/promise`
* Implement `node:assert/strict`
* cleanup
* better errors
* Increaase timeout
* Update inspector.exports.js
* Make the version consistent
* Implement `process.binding("constants")`
* Update runner.node.mjs
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-04-01 21:13:27 -07:00
Jake Boone
63d138b046
Update NodeJS LTS version in run_command.zig ( #2533 )
2023-04-01 17:49:56 -07:00
Dylan Conway
8904398619
remove debug symbols ( #2527 )
2023-03-31 19:20:11 -07:00
Alex Lam S.L
685e298146
report timed-out test as failure ( #2523 )
2023-03-31 07:14:55 -07:00
Alex Lam S.L
74cacffb0c
[install] fix stale pointer with tarball URLs ( #2520 )
...
* [install] fix stale pointer with tarball URLs
fixes #2512
* `alloc()` & `free()` instead of fixed-size buffer
2023-03-30 21:54:56 -07:00
Alex Lam S.L
977446ef3c
[install] fix re-install of git dependency ( #2519 )
...
- add tests for re-install of npm alias & GitHub URL
2023-03-30 19:50:23 -07:00
Dylan Conway
1fa7c1f79e
Generate dependency files in make bindings ( #2510 )
...
* generate dependency files, include in makefile
* move `make webcrypto` to `make bindings`
* update more references to `make webcrypto`
* remove `-lwebcrypto`
2023-03-30 19:34:20 -07:00
Alex Lam S.L
758daa7367
[install] fix re-run of tarball URL from lockfile ( #2507 )
2023-03-29 20:38:19 -07:00
Adrien Zinger
95cb2b2ac2
Fix date format ( #2422 ) ( #2474 )
...
* Fix date format (#2422 )
* Add unit tests for #2422
2023-03-29 17:41:11 -07:00
Colin McDonnell
b0e0853360
Update vscode auto save mention
2023-03-29 17:27:13 -07:00
Colin McDonnell
f16995910a
Update vscode auto save mention
2023-03-29 17:26:52 -07:00
Colin McDonnell
b2f3dbfd43
Typo
2023-03-29 17:12:06 -07:00
Niles Salter
9f07073074
Fix some lockfile creation issues ( #2506 )
2023-03-29 17:10:44 -07:00
Colin McDonnell
546f78a49e
Update --watch docs
2023-03-29 17:02:16 -07:00
Jarred Sumner
767fdfbb97
Fixes #2499 ( #2501 )
...
* Fixes #2499
* This needs to be quoted
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-29 09:37:15 -03:00
Jarred Sumner
f0def8c770
Add doc on watch mode ( #2502 )
...
* Add doc on watch mode
* Update hot.md
* Update hot.md
* More words
* Update hot.md
* Update hot.md
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-28 23:26:43 -07:00
Jarred Sumner
786475ff58
bun --watch and bun test --watch (#2500 )
...
* --watch wip
* Upgrade for latest zig
* Implement `bun --watch`
* Implement `bun test --watch`
* Auto restart on crash in --watch
* 🕐 🕑 🕒 🕞
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-28 21:28:35 -07:00
Jarred Sumner
b76384351c
More bug fixes ( #2486 )
...
* readline_promises test fix
* fix `escapeHTML` for baseline builds
* fs test fixes, use `tmpdir()`
* add paths for `resolve.test.js`
* isError with toString symbol and error prototype
* comment about `toString`
* skip async macro transform
* test cleanup, skip stack format test
* readline undo and redo fix
* capture error from readline keypress
* Update tcp-server.test.ts
* use `removefileat` for recursive rmdir
* use strong for `signal.reason`
* initialize `m_flags`
* directory with file fs test
* recursive option
* import expect
* could be less than
* move abort signal tests to another process
* fix typecheck
---------
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com >
2023-03-28 18:23:50 -07:00
Alex Lam S.L
0a91490226
[install] support tarball URLs ( #2497 )
...
closes #2448
2023-03-28 13:45:00 -07:00
Ashcon Partovi
93585291f9
Sign canary release before Docker release
2023-03-28 12:06:22 -07:00
Ashcon Partovi
de46ad23e5
Fix BUN_VERSION in bun-release
2023-03-28 12:03:25 -07:00
Ashcon Partovi
f455845a0a
Fix BUN_VERSION in bun-release-canary
2023-03-28 12:01:06 -07:00
Andres Beltran
d5418052b1
Remove extra 's' on keep ( #2498 )
2023-03-28 09:37:46 -07:00
Jarred Sumner
cfceb26edd
Fix for latest zig ( #2495 )
...
* Fix for latest zig
* Revert "Use PATH instead of sudo to install bun for testing (#2460 )"
This reverts commit 5fd406ca2f .
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-27 18:22:13 -07:00
Ciro Spaciari
b2d90f07ba
fix https default port on http.request ( #2490 )
...
* fix https default port on http.request
* Update http.exports.js
2023-03-26 22:45:52 -05:00
Alex Lam S.L
319efe9c7b
[install] fix tests ( #2488 )
...
- avoid creating spurious directories next to test scripts
2023-03-25 21:51:03 -07:00
Jarred Sumner
52d27659a2
Fixes #2462 ( #2463 )
2023-03-23 15:49:42 +02:00
Derrick Farris
732c5e7fa9
test(undici): rm external http reqs from tests ( #2459 )
...
* test(undici): rm external http reqs from tests
* cleanup(http-test-server): remove finished TODOs
* test(undici): fix server type, remove type:module to fix typings in test dir
* test(undici): make the typings better
* test(undici): fix typo
2023-03-22 21:22:31 -07:00
Josh Soref
5fd406ca2f
Use PATH instead of sudo to install bun for testing ( #2460 )
2023-03-22 21:21:57 -07:00
Dylan Conway
31c2fea74a
A couple bug fixes ( #2458 )
...
* fix valid status code range
* update path
* highwatermark option
* throw DOMException
* remove extra transpiler output
* more transpiler tests
* comment
* get index not quickly
* replace with `getDirectIndex`
* update abort test
* throw out of range status code
* promisify test fix
* move stdio test instance files
* working crypto tests
* allow duplicate set-cookie headers
* different formatting
* revert, fix will be in different pr
* it is called
* use min buffer size
* fix url tests
* null origin for other protocols
* remove overload
* add very large file test
* await
* coerce to int64
* 64
* no cast
* add todo blob url tests
* use `tryConvertToInt52`
2023-03-22 18:09:51 -07:00
Colin McDonnell
a5f92224b5
Fix types ( #2453 )
...
* WIP
* WIP
* WIP
* WIP
* Improve typechecking in type files
* Fix typechecking
* Update
* Update submodule
* CI for typechecking
* Add ci
* Update commands
* Format after build
* Dont use bunx
* Rename job
* Use nodemodules prettier
* Update workflow
* Use symlink
* Debug
* Debug
* Clean up and rename jobs
2023-03-22 15:01:01 -07:00
Jarred Sumner
2bdaa81b1c
Upgrade Mimalloc
2023-03-21 23:32:04 -07:00
Jarred Sumner
8b92469d42
Update build-id
2023-03-21 21:52:43 -07:00
Jarred Sumner
5915ab19fe
Don't use function from bundler branch
2023-03-21 21:52:11 -07:00
Jarred Sumner
58a5c2a3aa
Fix possible crash with export namespace ns { export class F {} }
2023-03-21 21:44:42 -07:00
Joker_
f3a91339fc
Update sqlite.md ( #2452 )
...
Fix benchmark source pointing to wrong URL.
2023-03-21 18:51:31 -07:00
Igor Shevchenko
54b62aad05
Fix typo ( #2446 )
...
- fixed typo in the month name
2023-03-21 10:14:21 -07:00
Ján Gajdoš
15f23d70d6
docs: Buchta Docs Page ( #2378 )
...
* Idea: Buchta Docs Page
* Tweaks
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-03-20 21:32:20 -07:00
Colin McDonnell
42eff1d917
Add test-d files for eventemitter
2023-03-20 20:39:57 -07:00
Gaurish Sethia
02e5c5f795
Make event emitter type-safe ( #2414 )
...
* Add filePath property on MatchedRoute
* Fix #1880 #851
* Fix #1972 as well
* FMC
* Bump querystring-es3
* fix querystring status
* Fix typos in docs
* Make event-emitter by default type-safe
* Remove Makefile.save
* Resolve merge conflict
* Tweaks
---------
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu >
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-03-20 20:32:28 -07:00
John Reilly
2503b3409e
docs: update moduleResolution to bundler ( #2429 )
...
* docs: update moduleResolution to bundler
* docs: bundler as well
* Updates
---------
Co-authored-by: Colin McDonnell <colinmcd94@gmail.com >
2023-03-20 19:51:24 -07:00
jq170727
6539f66642
"bun-create" example "postinstall"→"preinstall" ( #2441 )
...
"postinstall" is listed twice in the example for the "bun-create" section of package.json.
Based on the context and content of the echo commands I believe the intent is that the
first "postinstall" should be "preinstall". This change corrects this.
2023-03-20 17:49:55 -07:00
Jackson Kearl
4dd4bab7b9
Support directories in ZSH run completions ( #2425 )
...
* Support scripts in dirs in zsh run completions
* add back wasm support
2023-03-20 11:27:39 -07:00
jq170727
035183eb12
Fix example for "bun pm ls" ( #2440 )
2023-03-20 11:26:22 -07:00
Jarred Sumner
aaef99ab68
Update install.md
bun-v0.5.8
2023-03-20 06:20:16 -07:00
Jarred Sumner
1a25af5e3d
Implement simple workspaces glob support in bun install ( #2435 )
...
* [bun install] Implement `packages/*`-style globs
* Fix incorrect assertion
* 💅
* remove extraneous console.log
* Fix pointer to stack memory
* Add a test with a scoped package name from a glob workspace
* Fixup
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-03-20 05:57:23 -07:00
Jarred Sumner
343721627e
Finish the upgrade
2023-03-19 23:03:08 -07:00
Dylan Conway
6e0e140f2f
remove addLog, remove --prominent-compile-errors
2023-03-19 23:03:00 -07:00
Jarred Sumner
0edd8d262d
Fix bug with scoped aliased dependencies in bun install on macOS
2023-03-19 20:58:27 -07:00
Ciro Spaciari
76622e41d6
remove unnecessary check ( #2432 )
2023-03-19 20:09:13 -07:00