V3#31
Merged
Merged
Conversation
- package.json: type=module, exports map, engines node>=22.12, --experimental-test-module-mocks + --import mock preload in test scripts - explicit .js extensions on all relative imports - IMQClient: tsconfig.json read via import.meta.url; typescript compiler resolved and generated CommonJS clients loaded via createRequire() (generated clients still transpile to CJS for the vm sandbox) - IMQCache: static built-in adapter registry replaces synchronous dynamic require; custom adapters still registrable by class/instance - decorators/cache: imports from defining modules to break a circular-import TDZ that CJS evaluation order used to tolerate - tests: ioredis/node:fs mocks expose named exports for ESM bindings; builtin method patches published via syncBuiltinESMExports(); fresh-module reloads via query-busted dynamic import; ESM-invalid module-scope this removed; ioredis added as explicit devDependency - @imqueue/core consumed as vendored ESM tarball (vendor/) for the experiment; replace with the published ^4.0.0 when core ships ESM BREAKING CHANGE: package is ESM-only; CJS consumers require Node >=22.12 (require(esm)) and TypeScript >=5.8 to type-check
- target/lib es2024 (Node >=22.12 floor fully implements it) - skipLibCheck guards against third-party d.ts breakage - verbatimModuleSyntax with import type annotations throughout (ESM-only option, hence esm branch only); vendored core tarball refreshed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.