* Add WebSocketServer instance return to createNodeWebSocket
This change introduces the return of the WebSocketServer instance from the createNodeWebSocket function, enhancing its usability by allowing consumers access to the WebSocketServer instance for additional operations.
- Updated tests to verify the returned WebSocketServer instance
- Added wss property to NodeWebSocket interface for type safety
* style
* feat: added hono/mcp package
* chore: changeset
* chore: minor changes
* chore: minor changes
* chore: formated the code
* chore: minor correction
* chore: removed changelog file
* chore: changed the class name
* chore: updated the readme
* fix: closed the stream
* chore: minor change
* fix: added an interval to keep the connection alive and merge 2 streams into a single one
* chore: updated lockfile
* fix: stupid mistake 😅
* chore: formatted the README.md file
* chore: minor change
* chore: minor changes
* chore: minor change
* add an explicit return type annotation
* format the code
---------
Co-authored-by: Yusuke Wada <yusuke@kamawada.com>
* feat: create AI bot blocker middleware
* chore: add changeset
* fix: uppercase function called too late
* chore: don't version-control robots.json
* chore: track `robots.json`
* ci: add `@hono/ai-robots-txt` workflow script
* fix: change initial version
* feat: add automatic `robots.json` sync from upstream
* feat!: change package name and architecture
* refactor(ua-blocker): prebuild compiled regex (#1)
* fix: add json data files to tsconfig
* chore: rename workflow files
* fix: test if string _contains_ "Yes"
It might be a markdown link, so not the exact string, but "[Yes](<link>)"
* fix: tests reflect the fixed "Yes" check
* feat: move generator back to prebuild
generated regex should use the version-controled robots.json, not
directly the upstream file
* chore: add .zed
* chore: remove unused files
* fix: properly setup workspace before running scripts
* chore: remove `prebuild` script from `build`, `typecheck`, and `test`
* chore: run `getrobotstxt` and `prebuild`
* fix: export `RegExp`s, not `string[]`s
* chore: mention RegExp and uppercase matching in docs
* fix: adapt tests to regex exports
* chore: add tests for direct regex passing
* chore: format code
---------
Co-authored-by: Jonathan Haines <jonno.haines@gmail.com>
* feat(zod-validator): support Zod v4
* changeset
* oops. using `any`
* remove the not used value
* [wip] support both v3 and v4
* update
* avoid the type error on build
* remove unnecessary `unknown`
* fixed type and add test
* avoid the type error
* rename the test
* don't use `schema instanceof ZodObject`
* update README
* use released `3.25.6`
* changeset
* use `zod` instead of `zod/v3`
* don't update the peerDependencies
* use both v3 and v4 types if Zod has v4
* fix ZodError
* fixed
* update lock file
* update README
* remove unnecessary cast