Ecosyste.ms: Issues
An open API service for providing issue and pull request metadata for open source projects.
GitHub / mangs/bun-utils issues and pull requests
#108 - Move `sharp` from `optionalDependencies` to `devDependencies` so it isn't forcibly installed for all consumers
Pull Request -
State: closed - Opened by mangs 4 days ago
#107 - Add executable `check-package-version` so package version bump validation can be done outside of this repository
Pull Request -
State: closed - Opened by mangs about 2 months ago
#106 - Add key `bytecode` to type `BuildArtifactMetadata` to handle Bun bundler support for bytecode compilation
Pull Request -
State: closed - Opened by mangs about 2 months ago
#105 - Log the TLS certificate hostname instead of `localhost` during development server startup when the HTTPS protocol is being used
Pull Request -
State: closed - Opened by mangs 2 months ago
#104 - Fix development server bug wherein `onLogRequestBody` would never be called
Pull Request -
State: closed - Opened by mangs 2 months ago
#103 - Add a `getOrHead()` matcher to the router for matching `GET` or `HEAD` requests with a single configuration definition
Pull Request -
State: closed - Opened by mangs 3 months ago
#102 - Improve request logging in the development server by using `Request` cloning
Pull Request -
State: closed - Opened by mangs 3 months ago
#101 - Add usage examples for the `optimize-images` CLI command
Pull Request -
State: closed - Opened by mangs 3 months ago
#100 - Add new Bun CLI script `scripts/bun/optimizeImages.mts` to auto-optimize images
Pull Request -
State: closed - Opened by mangs 3 months ago
#99 - Enable sorting when displaying any request body data in `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 4 months ago
#98 - Change request body logging option `shouldLogRequestBody` to `onLogRequestBody()` to give more configuration flexibility in `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 4 months ago
#97 - Add request body logging to `startDevelopmentServer()` with option toggle `shouldLogRequestBody` to control it
Pull Request -
State: closed - Opened by mangs 4 months ago
#96 - Add a performance label to the failure cases of `scripts/bun/checkEnvironmentVersions.mts`
Pull Request -
State: closed - Opened by mangs 4 months ago
#95 - Remove sidebar generation because the default behavior is more robust
Pull Request -
State: closed - Opened by mangs 4 months ago
#94 - Add back sidebar generation because a sidebar column is always shown
Pull Request -
State: closed - Opened by mangs 4 months ago
#93 - Add type `ServerTimingMetricParsed` missing from documentation
Pull Request -
State: closed - Opened by mangs 4 months ago
#92 - Remove the sidebar from Wiki documentation so full table widths can be seen
Pull Request -
State: closed - Opened by mangs 4 months ago
#91 - Auto-generate documentation when merging every pull request into the `main` branch, then commit it to the `Wiki` section of the repository
Pull Request -
State: closed - Opened by mangs 4 months ago
#90 - Try wiki documentation auto-publish
Pull Request -
State: closed - Opened by mangs 4 months ago
#89 - Remove environment version check from script so package consumers aren't locked to the maintenance Bun version
Pull Request -
State: closed - Opened by mangs 4 months ago
#88 - test git diff in workflows
Pull Request -
State: closed - Opened by mangs 5 months ago
#87 - Change generic types for `measureServerTiming()` so the `metricName` field can optionally be limited to a type union of string literals
Pull Request -
State: closed - Opened by mangs 5 months ago
#86 - Add example usage for `measureCpuUsage()`
Pull Request -
State: closed - Opened by mangs 5 months ago
#85 - Add additional parameter `usesOneThread` to `measureCpuUsage()` and `measurePerformanceMetrics()` to decide if 1 or all threads are used for percent computation
Pull Request -
State: closed - Opened by mangs 5 months ago
#84 - Upgrade `oven-sh/setup-bun` action to `v2`
Pull Request -
State: closed - Opened by mangs 5 months ago
#83 - Added new module `/performance` for performance-related utilities
Pull Request -
State: closed - Opened by mangs 5 months ago
#82 - Add new function `parseServerTimingMetrics()` for parsing a `Server-Timing` header into an array of metric objects
Pull Request -
State: closed - Opened by mangs 5 months ago
#81 - Execute `onBypassRetry()` before checking retry count in `fetchWithRetry()`
Pull Request -
State: closed - Opened by mangs 5 months ago
#80 - Add option `onBypassRetry()` to `fetchWithRetry()` allowing to customize the ability to bypass retries based on response status code
Pull Request -
State: closed - Opened by mangs 5 months ago
#79 - Add relative size output in percent for each bundled file for `printBuildMetadata()`
Pull Request -
State: closed - Opened by mangs 5 months ago
#78 - Update example code for `measureServerTiming()` to match changes made in version `2.19.0`
Pull Request -
State: closed - Opened by mangs 5 months ago
#77 - Change `buildServerTimingHeader()` to return an object containing the numeric duration, formatted duration string, and an array representing the header value
Pull Request -
State: closed - Opened by mangs 6 months ago
#76 - Limit error catching and suppression to `TimeoutError`s in `fetchWithRetry()`; all other error types thrown
Pull Request -
State: closed - Opened by mangs 6 months ago
#75 - Rename `fetchWithRetry()` configuration option `retryMax` to `retries`
Pull Request -
State: closed - Opened by mangs 6 months ago
#74 - Refactor fetch with retry
Pull Request -
State: closed - Opened by mangs 6 months ago
#73 - Add `/config` directory to NPM package contents
Pull Request -
State: closed - Opened by mangs 7 months ago
#72 - Fix measured `Server-Timing` durations which were incorrectly using constructor execution as start time instead of `Router.prototype.handleRequest()`
Pull Request -
State: closed - Opened by mangs 7 months ago
#71 - Handle unexpected and error responses more correctly in `startDevelopmentServer()` by always showing a `500` response and timing in the response row
Pull Request -
State: closed - Opened by mangs 7 months ago
#70 - Add function `measureElapsedTime()` to `src/timeUtils.mts`
Pull Request -
State: closed - Opened by mangs 7 months ago
#69 - Change 2nd parameter of `startDevelopmentServer()` to use Bun's `Server['fetch']` type
Pull Request -
State: closed - Opened by mangs 7 months ago
#68 - Add missing `server` 2nd parameter to `startDevelopmentServer()`'s `entrypointFunction` parameter
Pull Request -
State: closed - Opened by mangs 7 months ago
#67 - Iterate on `scripts/bun/startDevelopmentServer.mts` script
Pull Request -
State: closed - Opened by mangs 7 months ago
#66 - Adjust newline output when `muteMetadata` is passed to `buildAndShowMetadata()`
Pull Request -
State: closed - Opened by mangs 7 months ago
#65 - Add missing type documentation
Pull Request -
State: closed - Opened by mangs 7 months ago
#64 - Add `muteMetadata` parameter to `buildAndShowMetadata()` to optionally prevent printing build metadata to the console
Pull Request -
State: closed - Opened by mangs 7 months ago
#63 - Add message to build output specifying which environment is being targetted according to environment variable `NODE_ENV`; defaults to `"development"`
Pull Request -
State: closed - Opened by mangs 7 months ago
#62 - Widen the count column so there are 2 space characters minimum between its visible characters and the filename column for `printBuildMetadata()`
Pull Request -
State: closed - Opened by mangs 7 months ago
#61 - Change alignment of category column from using raw tab characters to computing proper max column width
Pull Request -
State: closed - Opened by mangs 7 months ago
#60 - Enforce `outdir` with types instead of throwing an exception in `buildAndShowMetadata()`, add interfaces to types documentation
Pull Request -
State: closed - Opened by mangs 7 months ago
#59 - Add function `buildAndShowMetadata()` for a simple, straightforward UX for code building (in `src/buildUtils.mts`)
Pull Request -
State: closed - Opened by mangs 7 months ago
#58 - Update target Bun version from `1.1.4` to `1.1.5`
Pull Request -
State: closed - Opened by mangs 7 months ago
#57 - Improve clarity of documentation for function `usingNewTemporaryFile`
Pull Request -
State: closed - Opened by mangs 7 months ago
#56 - Change the function interface for `usingNewTemporaryFile` to use an options object, disable disk flush by default, and allow writer customization
Pull Request -
State: closed - Opened by mangs 8 months ago
#55 - Add `import`s to examples in the documentation without them
Pull Request -
State: closed - Opened by mangs 8 months ago
#54 - - Add function `usingNewTemporaryFile` to allow seamless creation, appending, and auto-deletion of temporary files via the `using` declaration (in `src/filesystemUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#53 - Add `fetchWithRetry` debugging insight by showing all retry settings attributable to each logged error
Pull Request -
State: closed - Opened by mangs 8 months ago
#52 - Improved `fetchWithRetry`
Pull Request -
State: closed - Opened by mangs 8 months ago
#51 - Change the function signature of `getPerformanceLabel` and `getElapsedTimeFormatted` to accept an options object including a new `unitsMinimum` parameter
Pull Request -
State: closed - Opened by mangs 8 months ago
#50 - Change the return value of the development server to be a `Promise` resolving to the return value of `Bun.serve()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#49 - Correct documentation for the development server
Pull Request -
State: closed - Opened by mangs 8 months ago
#48 - Make development server more configurable
Pull Request -
State: closed - Opened by mangs 8 months ago
#47 - Add a 10 second default timeout to `fetchWithRetry`; can be overridden with a new `timeout` parameter (in `src/networkUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#46 - Rename build output label from `Entry-point` to `Entry point` (in `src/buildUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#45 - Fix bugs in new functions
Pull Request -
State: closed - Opened by mangs 8 months ago
#44 - Add new functions
Pull Request -
State: closed - Opened by mangs 8 months ago
#43 - Replace all mention of "utility functions" with "utilities"
Pull Request -
State: closed - Opened by mangs 8 months ago
#42 - Add function `measureServerTiming()` to easily measure and report execution time of blocks of code using the `Server-Timing` header (in `src/timeUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#41 - Allow `0` to be passed in as `startTime` in `buildServerTimingHeader()` (in `src/timeUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#40 - Add more detailed documentation to the `Router` class in `src/routerUtils.mts`
Pull Request -
State: closed - Opened by mangs 8 months ago
#39 - Fix NPM package error that didn't include the new `src/` directory
Pull Request -
State: closed - Opened by mangs 8 months ago
#38 - Moved all utility function source files from `utils/` to `src/`
Pull Request -
State: closed - Opened by mangs 8 months ago
#37 - Multiple `Server-Timing` features added
Pull Request -
State: closed - Opened by mangs 8 months ago
#36 - Update example usage for `Router` in the documentation (in `utils/routerUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#35 - Fix lazy loading route handlers to actually load lazily instead of eagerly (in `utils/routerUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#34 - Make `Router` instance `routes` array private (in `utils/routerUtils.mts`)
Pull Request -
State: closed - Opened by mangs 8 months ago
#33 - In the `Router` class in `utils/routerUtils.mts`, path matching is now performed by `Bun.Glob`
Pull Request -
State: closed - Opened by mangs 8 months ago
#32 - In the `Router` class in `utils/routerUtils.mts`, rename `handleMethod` to `#handleMethod` to make it a private instance method
Pull Request -
State: closed - Opened by mangs 8 months ago
#31 - Added lots more features to the `Router` class
Pull Request -
State: closed - Opened by mangs 8 months ago
#30 - Fix bug in the `Router` class in `utils/networkUtils.mts` so calling a lazy-loaded route handler function works correctly
Pull Request -
State: closed - Opened by mangs 8 months ago
#29 - Add lazy-loaded route handler support to the `Router` class in `utils/networkUtils.mts`
Pull Request -
State: closed - Opened by mangs 8 months ago
#28 - Add a `Router` class to `utils/networkUtils.mts`
Pull Request -
State: closed - Opened by mangs 8 months ago
#27 - Refactor `utils/networkUtils.mts` -> `startDevelopmentServer()` to check file paths with `Bun.file().exists()` instead of `access` from `node:fs/promises`
Pull Request -
State: closed - Opened by mangs 8 months ago
#26 - Document the use of the `DEBUG` environment variable in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#25 - Add documentation how configuration options map back to those in `Bun.serve()` in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#24 - Document default values for `port` configuration option in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#23 - Changed configuration options interface in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#22 - Fix TypeScript example documentation consistency error in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#21 - Fix the documentation's configuration object display in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#20 - Changed the function signature of `utils/networkUtils.mts` -> `startDevelopmentServer()` to accept a single configuration object instead of multiple configuration parameters
Pull Request -
State: closed - Opened by mangs 8 months ago
#19 - Enable links to source code in documentation
Pull Request -
State: closed - Opened by mangs 8 months ago
#18 - Add code owner and update pull request template
Pull Request -
State: closed - Opened by mangs 8 months ago
#17 - Build markdown documentation for all utils using TypeDoc and `typedoc-plugin-markdown`
Pull Request -
State: closed - Opened by mangs 8 months ago
#16 - Added JSDoc comments to all files and functions
Pull Request -
State: closed - Opened by mangs 8 months ago
#15 - Add more HTTPS options
Pull Request -
State: closed - Opened by mangs 8 months ago
#14 - Fix HTTPS error `OpenSSL NO_START_LINE` in `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#13 - Reduce confusion and possibility for errors by removing option overrides from `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#12 - bump version
Pull Request -
State: closed - Opened by mangs 8 months ago
#11 - Bug fixes for `utils/networkUtils.mts` -> `startDevelopmentServer()`
Pull Request -
State: closed - Opened by mangs 8 months ago
#10 - Add HTTPS serving with optional custom hostname support to the dev server
Pull Request -
State: closed - Opened by mangs 8 months ago
#9 - Update target Bun version to `1.1.2` to inherit Bun's types for `node:util` `styleText()`; the associated `global.d.ts` was removed
Pull Request -
State: closed - Opened by mangs 8 months ago