From e75c711c68896f5952793601f156c921c814caab Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 30 Dec 2021 21:12:32 -0800 Subject: Upgrade to latest Zig, remove dependency on patched version of Zig (#96) * Prepare to upgrade zig * zig fmt * AllocGate * Update data_url.zig * wip * few files * just headers now? * I think everything works? * Update mimalloc * Update hash_map.zig * Perf improvements to compensate for Allocgate * Bump * :camera: * Update bun.lockb * Less branching * [js parser] Slightly reduce memory usage * Update js_parser.zig * WIP remove unused * [JS parser] WIP support for `with` keyword * Remove more dead code * Fix all the build errors! * cleanup * Move `network_thread` up * Bump peechy * Update README.md --- integration/snapshots/optional-chain-with-function.debug.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'integration/snapshots/optional-chain-with-function.debug.js') diff --git a/integration/snapshots/optional-chain-with-function.debug.js b/integration/snapshots/optional-chain-with-function.debug.js index bf007b0a8..6f963caa2 100644 --- a/integration/snapshots/optional-chain-with-function.debug.js +++ b/integration/snapshots/optional-chain-with-function.debug.js @@ -3,9 +3,9 @@ export function test() { const multipleSecondaryValues = undefined; const ratings = ["123"]; var bar = multipleSecondaryValues?.map((value) => false); - bar = (bar?.multipleSecondaryValues)?.map((value) => false); - bar = (bar?.bar?.multipleSecondaryValues)?.map((value) => false); - bar = ({}?.bar?.multipleSecondaryValues)?.map((value) => false); + bar = bar?.multipleSecondaryValues?.map((value) => false); + bar = bar?.bar?.multipleSecondaryValues?.map((value) => false); + bar = {}?.bar?.multipleSecondaryValues?.map((value) => false); } catch (e) { throw e; } -- cgit v1.2.3 rt-signal-rebased Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/crypto.test.js (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2022-05-09Update bindings.cppGravatar Jarred Sumner 1-4/+6
2022-05-09[napi] Move some code to C++ for perfGravatar Jarred Sumner 2-158/+181
2022-05-09[napi] Support `import` and `require` of `.node` modulesGravatar Jarred Sumner 6-53/+80
2022-05-09[napi] Fix stringsGravatar Jarred Sumner 1-108/+142
2022-05-09fixupGravatar Jarred Sumner 2-40/+45
2022-05-09[JS Parser] Support `__dirname` and `__filename`Gravatar Jarred Sumner 1-28/+44
2022-05-08Make a lot more stuff workGravatar Jarred Sumner 5-91/+220