aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/builtins/cpp/ImportMetaObjectBuiltins.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-22Write out builtins with TypeScript + Minify them (#2999)Gravatar dave caruso 1-277/+0
* start work drafting how builtins will work * work on ts builtin * builtins stuff so far * builtins * done for today * continue work * working on it * bindings so far * well, it builds. doesnt run * IT RUNS * still lots of ts errors but it is functional * sloppy mode
2023-04-25Implement `onResolve` plugins in `Bun.build()`, support multiple onLoad and ↵Gravatar Jarred Sumner 1-1/+1
onResolve plugins (#2739) * its 2023 * WIP `onResolve` plugins * more progress * it compiles * Lots of small fixes * Seems to work excluding entry points * Update BundlerPluginBuiltins.cpp --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-13Upgrade WebKit (#2643)Gravatar Jarred Sumner 1-4/+1
* Missing export * Regenerate builtins * Fix crash in require() * Various breaking JSC changes * hopefully speed up C++ compilation a little * Skip failing test fo rnow * Update WebKit * Add a comment * Fix error in postinstall * Update WebKit --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-04Implement `import.meta.main` (#2556)Gravatar Jarred Sumner 1-0/+11
* Implement `import.meta.main` * Update main-test-1.js * Update fs.test.ts --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-14don't break esbuildGravatar Jarred Sumner 1-2/+2
2023-01-18Fixes #1831Gravatar Jarred Sumner 1-11/+25
2022-12-17Delete Oniguruma (#1625)Gravatar Jarred Sumner 1-1/+0
* Update .gitmodules * Delete oniguruma * Delete Oniguruma * Make this test less flaky * :scissors: Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-10-17add oniguruma for regex with variable length lookbehinds (#1329)Gravatar Dylan Conway 1-0/+1
* added pcre2 submodule * pcre2 regex boilerplate * tests for pcre2 regex * flag validation, getters, construct and compile mostly working * string escaping for source and toString(), exec, more tests * flag sorting, match, matchAll, search, split, replace * remove lib link * add destructor to PCRE2RegExp * header include * removed ternary * switched to oniguruma for regex library * revert sql changes * fix indices flag, add tests * revert settings * working error messages * more tests for lastIndex, fix logic for compile and lastIndex * move oniguruma lib to deps out dir
2022-09-28Support a `default` object in CommonJS wrapperGravatar Jarred Sumner 1-2/+6
Fixes https://github.com/oven-sh/bun/issues/1284 Related to https://github.com/oven-sh/bun/issues/1285
2022-09-06Make the plugins a little more resilientGravatar Jarred Sumner 1-4/+3
2022-09-04@globalPrivate -> @linkTimeConstantGravatar Jarred Sumner 1-75/+74
See https://github.com/WebKit/WebKit/pull/2553 I'm not 100% sure @linkTimeConstant is correct. Specifically, I don't know if it's a link time constant or just a global private thing.
2022-08-27Update WebKit (#1165)Gravatar Jarred Sumner 1-9/+4
* Update WebKit * Fix `DataView` and non-8 bit sized typed arrays with TextDecoder * New WebKit Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-08-19fix buffer.slice(0, 0) (#1114)Gravatar Zilin Zhu 1-0/+1
2022-08-09Fix static require by setting the state machine manually (#1034)Gravatar Zilin Zhu 1-1/+4
2022-07-27Upgrade WebKitGravatar Jarred Sumner 1-0/+3
2022-07-05[jsc] More careful code in dynamic requireGravatar Jarred Sumner 1-2/+2
2022-07-04Handle global require("string")Gravatar Jarred Sumner 1-6/+13
2022-07-01Move ImportMeta into it's own objectGravatar Jarred Sumner 1-0/+244