GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — chore: Publish feathers as ESM only (v6) by fratzinger · Pull Request #3723 · feathersjs/feathers Conversation
Member
Summary
packages/feathers/package.json
"exports": {
- ".": { "import": "./lib/index.js", "require": "./cjs/index.js" },
+ ".": "./lib/index.js",
... (the same for all 7 subpaths)
},
- "files": [..., "lib/**", "cjs/**"],
+ "files": [..., "lib/**"],
- "compile": "shx rm -rf lib/ cjs/ && tsc && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > cjs/package.json"
+ "compile": "shx rm -rf lib/ && tsc"
-packages/feathers/tsconfig.cjs.json
.gitignore, .eslintrc.js cjs entries removedRelated: #3674. No dependencies on other PRs. #3720 (Node.js 24+) makes sure every supported Node.js version can EvidenceFrom a CommonJS consumer ( A TypeScript CommonJS consumer, by
Merge DangerDoor: two-way Blast Radius: small
🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsRemove the CommonJS build (`cjs/`) and the `require` export conditions. CommonJS projects can still load `feathers` with `require()` since Node.js supports loading ES modules synchronously (Node.js 20.19+ and 22.12+), and the library has no top-level `await`. TypeScript CommonJS projects using `module: node16` or `node18` now get error TS1479 and need to switch to `module: nodenext` (TypeScript 5.8+). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |