[Snyk] Upgrade chrono-node from 2.8.0 to 2.9.0#182
Open
Conversation
Snyk has created this PR to upgrade chrono-node from 2.8.0 to 2.9.0. See this package in npm: chrono-node See this project in Snyk: https://app.snyk.io/org/swathimr/project/3a8aa828-322c-4f2d-be2f-668fae598e09?utm_source=github&utm_medium=referral&page=upgrade-pr
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.
Snyk has created this PR to upgrade chrono-node from 2.8.0 to 2.9.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 6 versions ahead of your current version.
The recommended version was released 21 days ago.
Release notes
Package name: chrono-node
-
2.9.0 - 2025-09-23
-
2.8.5 - 2025-09-23
- New: export
- Fix: Do not parse year-like numbers as times deb72c5
- Fix: JP time parsing improvement b1bde28
-
2.8.4 - 2025-08-04
- Fix: Timezone override in the options is not correctly applied in reference #608, 958eb3d
- New: Swedish (SW) initial support (by @ Nicklasfox) a5c52cf.
-
2.8.3 - 2025-06-14
- Rewrite duration calculations (without DayJs) abba434
- Fix: (en) "noon" time assignment confidence (by @ crazyjncsu)
- Fix: export type ParsingContext (by @ wickedest)
-
2.8.2 - 2025-06-01
- Fix: Correct import error in 2.8.1
-
2.8.1 - 2025-05-25
- Fix: ignore short digits following date (#595 ) 971b833
- Refactor: Update the devDependencies 174b35e
- [JP] Various NL improvement by @ koji520 (#594 )
-
2.8.0 - 2025-04-06
const refInstant = new Date("2025-02-27T22:00:00.000Z");
from chrono-node GitHub release notesNew/Fix: Remove dayjs dependency
We have been working toward making Chrono relying only on native Javascript date/time library; and now we are ready to drop dayjs dependency.
This change removes ParsingComponent.dayjs() and dayjs from package.json (50585af). Thus, it is published in a minor version.
v2.8.5...v2.9.0
itandsvlocales f13e64ev2.8.4...v2.8.5
v2.8.3...v2.8.4
v2.8.2...v2.8.3
v2.8.1...v2.8.2
v2.8.0...v2.8.1
New/Fix: Reference date calculation on the assigned timezone 4033a27
Previously, the reference date calculation (e.g., "1 day ago", "tomorrow at 9am") was based on the interpretation of the reference instant/timestamp using the system timezone rather than the assigned timezone (e.g., "April 5" in the system timezone may already "April 6" in the assigned timezone).
// This instant/timestamp
// = Thu Feb 27 2025 15:00:00 GMT-0800 (PST)
// = Fri Feb 28 2025 08:00:00 GMT+0900 (JST)
chrono.parseDate("Tomorrow at 9am", { instant: refInstant, timezone: "PST" })
// In PST, "Tomorrow at 9am" => Fri Feb 28 2025 09:00:00 GMT-0800 (PST)
chrono.parseDate("Tomorrow at 9am", { instant: refInstant, timezone: "JST" })
// In JST, "Tomorrow at 9am" => Sat Mar 1 2025 09:00:00 GMT+0900 (JST)
This changed some current relative date/time output. So, it is published in a minor version, instead of a patch.
v2.7.9...v2.8.0
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: