James Garbutt

Results 103 issues of James Garbutt

Moves the `manager-api`, `preview-api` and `ui/manager` to use `picoquery` instead of `qs` - a much smaller and faster alternative. Note that we still have `qs` in our overall monorepo tree,...

dependencies
core
ci:normal

This migrates away from chalk to picocolors instead, primarily because the latter is _much_ lighter. Keep in mind, `node-logger` still uses chalk as we use `hex(code)` which doesn't have an...

dependencies
maintenance
ci:normal

Node has shipped `builtinModules` for some time now, so we no longer need a third party package to do this. Once the `engines` constraint is bumped in the `package.json`, we...

Removing the extra function call seems to improve performance slightly. This gives you your throne back as fastest colors library around simple benchmark: ``` ┌─────────┬────────────────┬──────────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name...

Most consumers are running in node (without a bundler) so this has been fine so far as CJS However, it is the only one of the many alternatives that doesn't...

Switches to tinybench for benchmarking, which removes some fluff/boilerplate. Also introduces some ES module benchmarks so we can include the likes of yoctocolors. Such ESM-only packages have been left out...

Migrates away from `qs` to `picoquery`, a much lighter (594K vs 41K) and faster alternative. I actually made this branch to prove out picoquery during development, so if you'd rather...

This introduces a type parameter to `EventTarget` such that the following is now possible: ```ts interface CustomMap { 'test-event': CustomEvent; } declare const customTarget: EventTarget; customTarget.addEventListener('test-event', (event) => { //...

Adds some tests for the core package and fixes a small bug found during writing them. The bug is basically that we never unhide the cursor on `process.exit` conditions, meaning...

Migrates from connect to polka, a much lighter and faster middleware server/router. ## Possibly breaking changes - `app.middlewares` will now be a `Polka` instance of course, which has different methods...

p2-to-be-discussed