Jarred Sumner
14b439a115
Fix formatters not running in CI + delete unnecessary files ( #19433 )
2025-05-08 23:22:16 -07:00
chloe caruso
5f9f200e7e
require.resolve with paths option ( #18851 )
2025-04-08 14:07:03 -07:00
chloe caruso
ddd87fef12
module.children and Module.runMain ( #18343 )
...
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com >
Co-authored-by: 190n <ben@bun.sh >
2025-03-21 16:57:10 -07:00
chloe caruso
b5cbf16cb8
module pr 2 ( #18266 )
2025-03-20 00:45:44 -07:00
Ashcon Partovi
6e1f1c4da7
Initial support for node:test ( #18140 )
2025-03-19 11:49:00 -07:00
Meghan Denny
3eec297282
js: no longer provide our own 'detect-libc' ( #18138 )
2025-03-13 12:40:37 -07:00
Jarred Sumner
7d58787dda
Module.findSourceMap shouldn't throw ( #16229 )
2025-01-07 18:01:28 -08:00
Jarred Sumner
4d4dd1c180
Refactor node:module ( #14227 )
2024-10-03 00:54:56 -07:00
Jarred Sumner
cd6785771e
run prettier and add back format action ( #13722 )
2024-09-03 21:32:52 -07:00
Dylan Conway
c7aed7e0a3
fix node-module-module.test.js on windows ( #10620 )
2024-04-28 16:54:47 -07:00
dave caruso
a52dd7853d
final steps to getting dd-trace to work ( #10568 )
2024-04-27 00:07:44 -07:00
Dylan Conway
e6d8391e00
fix(windows): revert thread naming code ( #10394 )
2024-04-20 10:56:05 -07:00
Ashcon Partovi
264142e756
Add isWindows and related helpers to test harness
2024-02-05 12:47:52 -08:00
Dylan Conway
5934b17f00
fix(windows): fix a few more tests ( #8644 )
...
* fix regression tests
* fix fs.test.ts bigintstats
* enable transpiler cache lol
* remove failing
* fix filesystem router
* update
* fix run-unicode test
* update comment
* add updated snapshot
* fix remaining node-module-module tests
* fixup
* [autofix.ci] apply automated fixes
* fix tty tests
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-02-02 18:58:16 -08:00
dave caruso
072f2f15ea
ci: run windows tests and also run them concurrently ( #7758 )
2024-01-12 17:02:20 -08:00
dave caruso
1bf540efcf
feat: allow "bun:test" utilities at runtime ( #7486 )
...
* feat: allow "bun:test" utilities at runtime
* fsdafdsafd
* yippee
2023-12-06 22:09:43 -08:00
dave caruso
387f1260c9
Get Next.js Pages Router to work ( #6095 )
...
* hell
* make it so bun-debug-src
* teag
* wild
* yippee
* fas
* fix async hooks assertions
* yap
* yeah that's wild
* aa
* a
* increase time allowed
* so trivial
2023-09-28 03:53:24 -07:00
Jarred Sumner
6cde1d3b89
Add Module._extensions ( #5998 )
...
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-09-25 16:09:09 -07:00
dave caruso
365fc0d39d
implement Module.prototype._compile ( #5840 )
2023-09-20 18:31:57 -07:00
dave caruso
503c808929
test ( #5244 )
2023-09-13 20:54:46 -07:00
dave caruso
1941dbbd71
Set exports to {} in user-constructed CommonJSModuleRecords ( #4076 )
2023-08-08 19:37:36 -07:00
dave caruso
320cdcf97e
Fix require("console") #3820 ( #4073 )
...
* Fix #3820
* Add Module (#4074 )
2023-08-08 18:23:33 -07:00
Jarred Sumner
717f0a2f42
Make the test better
2023-08-03 18:23:57 -07:00
Jarred Sumner
c2ebdf812b
Test for Module.wrap()
2023-08-03 18:22:45 -07:00
dave caruso
c2a77cf7ec
Rewrite built-in modules to use CommonJS over ESM ( #3814 )
...
* stfdsafsd
sadffdsa
stuff
finish commonjs stuff
asdf
not done but work
not done but work
not done yet but this is how far i am
remove files
lol
update built files
uncomment everything in events lol
export default
stuff
* afdsafsd
* its not perfect but almost done
* okay
* cool
* remove temp file
* finish rebase
* revert settings.json
* a
* ch-ch-ch-ch-changes
* okay
* remove this check in release for now
* sxdcfghnjm,
* lkjhgf
* fmt
* filename can be null
* Update NodeModuleModule.h
* weee
* fmt
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com >
2023-08-02 16:27:36 -07:00
Jarred Sumner
3418feb2e9
Fixes #3744
2023-07-22 04:33:54 -07:00
Jarred Sumner
c96f3b303b
Fix default export of "module" module
2023-06-26 20:39:15 -07:00
Dylan Conway
ec3ed67bc9
implement _nodeModulePaths and require.main.paths ( #3411 )
...
* tests in progress
* add `require.main.paths`, add every dir up to root
* remove imports
2023-06-26 08:12:37 -07:00
Ashcon Partovi
f7e4eb8369
Reorganize tests ( #2332 )
2023-03-07 12:22:34 -08:00