aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/readline.exports.js (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-06-01Bundle and minify `.exports.js` files. (#3036)Gravatar dave caruso 1-3137/+0
* move all exports.js into src/js * finalize the sort of this * and it works * add test.ts to gitignore * okay * convert some to ts just to show * finish up * fixup makefile * minify syntax in dev * finish rebase * dont minify all modules * merge * finish rebase merge * flaky test that hangs
2023-03-28More bug fixes (#2486)Gravatar Jarred Sumner 1-1/+1
* readline_promises test fix * fix `escapeHTML` for baseline builds * fs test fixes, use `tmpdir()` * add paths for `resolve.test.js` * isError with toString symbol and error prototype * comment about `toString` * skip async macro transform * test cleanup, skip stack format test * readline undo and redo fix * capture error from readline keypress * Update tcp-server.test.ts * use `removefileat` for recursive rmdir * use strong for `signal.reason` * initialize `m_flags` * directory with file fs test * recursive option * import expect * could be less than * move abort signal tests to another process * fix typecheck --------- Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2023-01-31Re-run prettier after changesGravatar Jarred Sumner 1-218/+75
2023-01-17fix(readline/promises): new Interface() -> new PromisesInterface() (#1818)Gravatar Derrick Farris 1-1/+1
2023-01-09refactor(readline/promises): re-export readline.promises from readline (#1748)Gravatar Derrick Farris 1-28/+180
* refactor(readline/promises): re-export readline.promises from readline/promises * fix(readline): don't export Readline from `readline` * perf(readline): return Promise.reject immediately after failed validation
2023-01-08feat(node:readline): add node:readline and node:readline/promises (#1738)Gravatar Derrick Farris 1-0/+3128
* feat(readline): WIP: add readline * test(helpers): add deepStrictEqual helper * feat(readline): add readline & readline/promises to loader * fix(node:events): emit newListener on new listener added * feat(readline): finish readline cb interface, add tests * fix(stream): fix Transform.end() * fix(node-test-helpers): correct throws behavior, improve how all asserts work * feat(readline/promises): add readline/promises * feat(assert): add assert.match * test(readline): uncomment more tests * fix(readline): MaxCeil -> MathCeil 🤦 * fix(readline): export promises from node:readline * fix(readline): temp fix for circular dependency * cleanup(readline): remove console.log * fix(readline): change true -> 0 for CommonJS export * perf(readline): micro-optimizations with some getters * perf(readline): lazy load isWritable * cleanup(readline): rename debug flag env var to BUN_JS_DEBUG