Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/loose-viewer-peer.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/quiet-hooks-skip.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/sync-module-hooks.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/dump_viewer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @hot-hook/dump-viewer

## 1.0.1

### Patch Changes

- ef08665: Accept any `hot-hook` 1.x as peer dependency instead of the exact version it was released with, so installing it next to a newer `hot-hook` no longer fails with a peer dependency conflict.

## 0.4.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dump_viewer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@hot-hook/dump-viewer",
"type": "module",
"version": "1.0.0",
"version": "1.0.1",
"author": "Julien Ripouteau <julien@ripouteau.com>",
"license": "MIT",
"keywords": [
Expand Down
14 changes: 14 additions & 0 deletions packages/hot_hook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# hot-hook

## 1.1.0

### Minor Changes

- c9f357a: Use synchronous `module.registerHooks()` on Node.js >= 22.22.3, 24.11.1, 25.1.0 and 26 instead of the deprecated `module.register()` (DEP0205). Older Node.js versions fall back to `module.register()`, since their `registerHooks()` breaks CommonJS loading when combined with `module.register()` hooks such as ts-node's.

With in-thread hooks, `require()` calls also go through hot-hook.

### Patch Changes

- ed28a8c: Only inject the `import.meta.hot` helpers into modules that reference `import.meta`. Other modules, including most `node_modules` dependencies, are now loaded unchanged, so their positions and source maps are no longer shifted by the injected code. See #15.

Modules that get the helpers keep exact positions when they have an inline source map, as produced by tsx, ts-node or `@poppinss/ts-exec`: hot-hook now shifts it to account for the injected code.

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/hot_hook/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hot-hook",
"type": "module",
"version": "1.0.0",
"version": "1.1.0",
"description": "Easy hot module reloading (HMR) for Node.js and ESM",
"author": "Julien Ripouteau <julien@ripouteau.com>",
"license": "MIT",
Expand Down
Loading