aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-11[WIP] feat(napi): add `napi-fatal-exception` (#2054)Gravatar Derrick Farris 3-0/+17
* feat(napi): add `napi-fatal-exception` * fix(napi): fatal_exception - add symbol to list, don't optimize away
2023-02-11Fixes https://github.com/oven-sh/bun/issues/2052Gravatar Jarred Sumner 2-44/+9
2023-02-11Backport std::forward changeGravatar Jarred Sumner 50-292/+292
2023-02-10Fix #631: bun add throwing JSON lexer bug (#2041)Gravatar Justin Whear 1-1/+1
* add double-backslash to list of control chars * update test * stderr as string
2023-02-10update to simdutf 3.2.0Gravatar Jarred Sumner 2-341/+859
thanks @lemire
2023-02-10fix(string_immutable): fix `toUTF16Alloc` for bindgen w/ `use_simdutf = ↵Gravatar Derrick Farris 1-1/+2
false` (#2042)
2023-02-10[install] fix duplicate check on `peerDependencies` (#2039)Gravatar Alex Lam S.L 1-8/+7
fixes #2037
2023-02-10drop ASCII double-scan and other minor clean-ups (#2038)Gravatar Alex Lam S.L 1-137/+86
2023-02-10Enable https://github.com/tc39/proposal-set-methodsGravatar Jarred Sumner 1-0/+1
2023-02-09Upgrade WebKitGravatar Jarred Sumner 2-1/+1
2023-02-09fix assertion failure (#2033)Gravatar Alex Lam S.L 1-5/+2
2023-02-09[simdutf] workaround validation OOB access (#2031)Gravatar Alex Lam S.L 1-14/+9
2023-02-09Workaround https://github.com/simdutf/simdutf/issues/213Gravatar Jarred Sumner 1-3/+4
2023-02-09[streams] fix byte accounting (#2029)Gravatar Alex Lam S.L 1-30/+26
fixes #1939
2023-02-09[bun:test] Auto-import jest globals in test filesGravatar Jarred Sumner 7-0/+99
2023-02-08move some code aroundGravatar Jarred Sumner 1-64/+91
2023-02-08handle more cases with util.isErrorbun-v0.5.6Gravatar Jarred Sumner 2-2/+7
2023-02-08[install] pick `latest` tagged version by default (#2016)Gravatar Alex Lam S.L 2-17/+6
* [install] pick `latest` tagged version by default fixes #1993 * update `package.json` the same way as `npm
2023-02-08utf16 to utf8 conversion validation (#2001)Gravatar Dylan Conway 1-7/+37
* use replacement character for invalid surrogate pairs * return index of non-ascii * non-allocating case * edge cases * function rename * oops * get length once, index counter
2023-02-08Fix minor version bug for README.md (#2013)Gravatar RobViren 1-1/+1
Addresses issue #2012 and corrects the minor version to the current minor version
2023-02-08[install] assorted fixes & improvements (#2011)Gravatar Alex Lam S.L 6-211/+231
- take `peerDependencies` into account during package placement - do not recursively resolve `workspaces` (matches `npm`) - link binaries to non-root packages correctly - prune empty nodes during dependency tree construction - support non-standard `workspace:` specifier
2023-02-07cleanupGravatar Jarred Sumner 2-5/+13
2023-02-06set the typeGravatar Jarred Sumner 3-3/+3
2023-02-06default not configurableGravatar Jarred Sumner 1-1/+1
2023-02-06Mark things as DontDeleteGravatar Jarred Sumner 1-153/+153
2023-02-06Throw on process.bindingGravatar Jarred Sumner 2-1/+15
2023-02-06cleanupGravatar Jarred Sumner 1-3/+9
2023-02-06minor cleanupGravatar Jarred Sumner 1-5/+8
2023-02-06Add bounds checkGravatar Jarred Sumner 1-1/+1
2023-02-06[WIP] fix corner cases with aliases dependencies (#2000)Gravatar Alex Lam S.L 6-369/+293
* fix corner cases with aliases dependencies * in-memory convert legacy `bun.lockb`
2023-02-06Make `Stat` functions fastGravatar Jarred Sumner 5-21/+277
2023-02-06bumpGravatar Jarred Sumner 1-1/+1
2023-02-06tweaks to generatorGravatar Jarred Sumner 2-415/+167
2023-02-06Mark some things as not configurableGravatar Jarred Sumner 10-185/+1016
2023-02-06Use new bindings for StatGravatar Jarred Sumner 10-161/+505
Fixes #1999
2023-02-06Fix buildGravatar Jarred Sumner 1-3/+4
2023-02-06Backport https://github.com/WebKit/WebKit/pull/9713Gravatar Jarred Sumner 2-2/+2
2023-02-06Expose Dirent and Stats (#1998)Gravatar Michał Warda 5-1/+29
* Expose dirent and stats * Expose Dirent and Stats inside fs * Add tests for Dirent and Stats exposing * Automatically generate bindings
2023-02-06fix(uWS:capi) uws_req_set_yield typo and uws_res_override_write_offset (#1996)Gravatar Ciro Spaciari 3-6/+7
2023-02-06mark bindingGravatar Dylan Conway 1-0/+1
2023-02-06Fix URL of wasi-js (#1997)Gravatar Cheng Shao 1-1/+1
2023-02-05speed it up a little moreGravatar Jarred Sumner 3-107/+170
2023-02-05`substringSharingImpl` allocates, do not useGravatar Jarred Sumner 2-57/+27
2023-02-05Faster Buffer.toString("ascii")Gravatar Jarred Sumner 1-8/+35
2023-02-04Bump querystring-es3 (#1988)Gravatar Gaurish Sethia 2-9/+36
* Add filePath property on MatchedRoute * Fix #1880 #851 * Fix #1972 as well * FMC * Bump querystring-es3 --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-02-04Add `isDeepStructEqual` to `node:util`Gravatar Jarred Sumner 1-2/+6
2023-02-03Implement os.cpus() for Linux (#1977)Gravatar Justin Whear 1-2/+138
* Implement os.cpus() for Linux `os.cpus()` currently returns an empty array for all platforms. This PR implements full functionality for Linux and has been tested on x86-64. Other OSes will continue to return an empty array. Note that Linux on Arm64 may report the CPU model differently; if this is the case the CPU model will currently be reported as "unknown". As I do not have Arm64 hardware to verify and develop against, a todo has been left in the code. * resolve issues from review
2023-02-03Support passing `Date` to `Bun.sleep`Gravatar Jarred Sumner 1-0/+8
2023-02-03Add test for propagating exceptionGravatar Jarred Sumner 2-5/+5
2023-02-03Add missing crypto exportGravatar Jarred Sumner 1-16/+16
Fixes #1984