aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
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
2023-02-03Introduce `await Bun.sleep(ms)`Gravatar Jarred Sumner 3-15/+69
2023-02-03fix require("perf_hooks")Gravatar Jarred Sumner 1-0/+1
2023-02-03allow other ArrayBufferView in Buffer functionsGravatar Jarred Sumner 1-6/+6
2023-02-03anotherGravatar Dylan Conway 1-1/+1
2023-02-03integers overflowingGravatar Dylan Conway 1-1/+1
2023-02-02prettier deltas (#1973)bun-v0.5.5Gravatar Alex Lam S.L 2-365/+96
2023-02-02Update string_immutable.zigGravatar Jarred Sumner 1-1/+1
2023-02-02Fix stack overflow when console.log'ing stringsGravatar Jarred Sumner 1-6/+12
2023-02-02export moreGravatar Jarred Sumner 1-0/+41
2023-02-02Update build-idGravatar Jarred Sumner 1-1/+1
2023-02-01feat: add `http.request` (#1959)Gravatar Derrick Farris 1-54/+807
* fix(node-test-helpers): make sure to call done with any Errors thrown from wrapped fn * feat(node:http): add http.request, patch some missing apis for IncomingRequest, etc. * fix(node:http): FakeSocket -> Socket * refactor(node:http): only save type from IncomingMessage.options for now * fix(node:http): remove unnecessary check for UInt8Array * perf(node:http): globalThis.fetch -> var fetch = Bun.fetch * todo(node:http): add notes about handling abort/timeout w/ AbortSignal * refactor(node:http): standardize on FakeSocket and this.#fakeSocket * fix(node:http): fix headers getter * fix(node:http): remove _headers * perf(node:http): make http headers lazy * fix(node:http): return bool from keepSocketAlive
2023-02-01fix text encoding for utf8 (#1967)Gravatar Dylan Conway 2-5/+13
* use character * replacement character * also test encoding decoded points * increase length by 1
2023-02-01resolve duplicate npm dependencies correctly (#1970)Gravatar Alex Lam S.L 3-142/+90
* resolve duplicate npm dependencies correctly fixes #1952 * modify the correct reference
2023-02-01Update javascript_core_c_api.zigGravatar Jarred Sumner 1-0/+6
2023-02-01Update module_loader.zigGravatar Jarred Sumner 1-1/+1
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 25-8441/+2518
2023-01-31Handle invalid input in clear* timerGravatar Jarred Sumner 1-2/+6