question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

šŸŽ 2.0 Milestones怐Breaking Change怑

See original GitHub issue

We want to make some changes to make Day.js modern and in a standard JS way.

And this would be a breaking change because of these changes below:

Make TypeScript definition the same behavior as JS code

Update types/index.d.ts to export default dayjs;

Mark the correct ES6 Module entry

<del>Update package.json ā€œmoduleā€ to ā€œesm/indexā€, (wonā€™t introduce in ā€œdayjsā€, see https://github.com/iamkun/dayjs/issues/1281#issuecomment-754381268)</del>

Publish a new NPM package, maybe ā€œdayjs-esmā€ to ship an ESM module with package.json module entry pointed to. ref https://github.com/iamkun/dayjs/issues/1242#issuecomment-734321931

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:16
  • Comments:32 (13 by maintainers)

github_iconTop GitHub Comments

19reactions
benmccanncommented, Mar 26, 2021

Publish a new NPM package, maybe ā€œdayjs-esmā€ to ship an ESM module with package.json module entry pointed to. ref #1242 (comment)

For 2.0, I think ESM should be the default. That is the way the whole world is moving. Then we could create dayjs-umd or whatever if itā€™s really necessary to have multiple packages

16reactions
JesusTheHuncommented, May 20, 2021

Any news on this 2.0 version ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Changes Can You Expect with ACGME Milestones 2.0?
All PCCM programs (including Pulmonary and CC-only programs) are expected to implement these revised Milestones for the 2021 academic year (seeĀ ...
Read more >
Timeline, Milestone improvements and a big surprise! | Ora Blog
Timeline - time allocation, milestone view and task dependencies. We are working on Timeline 2.0. So far we have made a lot of...
Read more >
Milestones - ACGME
Milestones Mid-Year Reporting Open October 31, 2022 until January 13, 2023. Milestones 2.0 Completed Specialties and Subspecialties and Effective DatesĀ ...
Read more >
v2.0 Roadmap - urllib3 1.26.13 documentation
šŸ“… Release and Migration Schedule# Ā· Development of v2.x breaking changes starts. Ā· Release v1.26.0 with deprecation warnings for v2. Ā· Release v2.0.0-alpha1...
Read more >
index.html - Google Git
upgrading-to-leakcanary-2.0/" class="md-nav__link">. Upgrading to LeakCanary 2 ... Breaking change: FailTestOnLeakRunListener deleted.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found