Version 1.14.0 removes default export
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
This used to work before version 1.14.0 and is still listed in the README:
var tslib_1 = require("tslib");
exports.x = {};
exports.y = tslib_1.__assign({}, exports.x);
I consider this a breaking change since many older libraries are built using tslib < 1.14.0 but upgrading a local app to tslib >= 1.14.0 breaks libraries that rely on the default export.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README example and compare the require("tslib") behavior between versions 1.13.x and 1.14.0, focusing on the package entry point and default export. Confirm the reported older-library usage and define done as preserving that compatibility or updating the README and compatibility expectations to match the intended behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100