Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency chrono-node to v2 #190

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 7, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
chrono-node ^1.4.8 -> ^2.2.7 age adoption passing confidence

Release Notes

wanasit/chrono

v2.2.7

Compare Source

  • Improvement: Apply case-sensitive timezone extraction on date expressions f036345
  • Fix: Time parsing ending with "a" or "p" 77fbd83
  • New: BCE/CE year label support dde6103
  • New: "tmrw" as abbr for "tomorrow" b9c02f5

v2.2.6

Compare Source

  • Fix: Improve performance by avoid unnecessary parsing in time exp cdfb6bc
  • Fix: negative time range parsing 053cc8f
  • Fix: handling quote sign around time parsing 6a52cf3

v2.2.5

Compare Source

  • Fix: Performance improvement by reduce the usage of dayjs in results 38cbefb
  • Fix: Small performance improvement through caching fab8f51
  • New: Adding basic benchmark ac08a8c

v2.2.4

Compare Source

  • Fix: improve parsing performance by caching complied regex 036f7aa
  • Fix: unblounded regex backtracking in timeunit parsing 98815b5

v2.2.3

Compare Source

  • Fix: vague time parsing in strict mode b582ae7
  • Add Typedoc integration 3d044ee
  • Fix: Import bug in v2.2.2 16737f5

v2.2.2

Compare Source

v2.2.1

Compare Source

  • Fix: time expression ending with numbers only
  • New: Make (in|within|for) optional if forwardDate=true (#​372)
  • New: Improved NL support (#​373)

v2.2.0

Compare Source

  • (minor-incompatible) Removing edge-case time checking for ambitious case-like "midnight" or "tomorrow" at ~1AM.
  • Fix: stop guessing single digit after dot as minute (#​374)

v2.1.11

Compare Source

  • Fix: when parsing relative time, also imply time milisecond unit
  • Bump dayjs and typescript version

v2.1.10

Compare Source

  • [New/Fix] Improve certainty-level and timezone handling in relative time parsing (#​175)
  • [Fix] short month names handling (#​357)
  • [Fix] "for" time unit reference

v2.1.9

Compare Source

  • [Fix] handle some preprosition words in within format parser 8dfc495
  • [Fix] timezone offset hour only handling a186fdf
  • [Fix] pattern year-month-day handling 76d493b
  • [New] Add NL locale

v2.1.8

Compare Source

  • [New] Added FR timeunit date/time parsing
  • [New] Add Portuguese (PT) language support

v2.1.7

Compare Source

  • [Fix] Avoid export * ... syntax usages #​341

v2.1.6

Compare Source

  • [New] Add German support (chrono.de)
  • [New] Improve vague timeunit expressions parsing (e.g. in around 2 hours)
  • [New] Better casual unit parsing support (e.g. -4hr3min, or next 3weeek 4days)
  • [Fix] Use null instead of undefined in timezone (see #​340)

v2.1.5

Compare Source

  • [New] FR date with month name e.g. "10 Fevrier 2012"
  • [New] FR weekday parsing e.g. "la deadline était vendredi dernier"
  • [Fix] A problem related to space suffix in time parsing reported in #​337

v2.1.4

Compare Source

  • [New] French date parser (prototype) 2e12e32
  • [New] Casual date parsing (e.g. today, tomorrow, etc) also implies the reference time 17bb16f
  • [Fix] ParsingComponent.get() suppose to return undefined instead of null e1a3c04

v2.1.3

Compare Source

  • [New] support + timeunit pattern #​294
  • [New] Imply ref time when parsing timeunit reference ce989eb
  • [Fix] check and improve year 90s extraction 31d2a61

v2.1.2

Compare Source

[Fix] Stop using remaining lookbehind reported in #​332

v2.1.1

Compare Source

v2.1.0

Compare Source

Package loading
  • The main module is now dist/index.js
  • Typescript's TypeInfo information is now available dist/index.d.ts
  • Change the module type to commonjs
  • ~~Use import chrono from 'chrono-node' instead of import * as chrono from 'Chrono-node'~~ (only Node.js)
Fixes
  • Stop using lookbehind
  • Minor interface changes

v2.0.3

Compare Source

v2.0.2

Compare Source

  • Fix the webpack building script

What's changed in v2

For Users
  • Chrono’s default now handles only international English. While in the previous version, it tried to parse with all known languages.
  • Minor interface redesign
For contributors and advanced users
  • The project is rewritten in TypeScript
  • New Parser and Refiner interface (see chrono.ts)

v2.0.1

Compare Source

v2.0.0

Compare Source


Configuration

📅 Schedule: "before 7am on Tuesday" in timezone Australia/Sydney.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@changeset-bot
Copy link

changeset-bot bot commented Jun 7, 2021

⚠️ No Changeset found

Latest commit: bb7f450

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@bladey bladey closed this Jun 8, 2021
@renovate
Copy link
Contributor Author

renovate bot commented Jun 8, 2021

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 2.x releases. However, if you upgrade to 2.x manually then Renovate will reenable minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/chrono-node-2.x branch June 8, 2021 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants