Skip to content

[Snyk] Upgrade tinydate from 1.2.0 to 1.3.0#4

Open
javascript-benchmark wants to merge 1 commit intomainfrom
snyk-upgrade-c06a54126a48abca9fbcd859a21498bb
Open

[Snyk] Upgrade tinydate from 1.2.0 to 1.3.0#4
javascript-benchmark wants to merge 1 commit intomainfrom
snyk-upgrade-c06a54126a48abca9fbcd859a21498bb

Conversation

@javascript-benchmark
Copy link
Copy Markdown
Owner

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade tinydate from 1.2.0 to 1.3.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 1 version ahead of your current version.
  • The recommended version was released 2 years ago, on 2020-06-29.
Release notes
Package name: tinydate
  • 1.3.0 - 2020-06-29

    Features

    Chores

  • 1.2.0 - 2019-07-29

    Features

    • Allow custom patterns (#7, #8): 65a64e5

      You may optionally add new patterns or override existing patterns through tinydate's second parameter. You will still receive a render function – now with your customized functionality!

      Important: Each item of your custom dictionary must be a function~!

      const today = new Date('2019-07-04, 5:30:00 PM');

      // Example custom dictionary:
      // - Adds {MMMM}
      // - Overrides {DD}
      const stamp = tinydate('Today is: {MMMM} {DD}, {YYYY}', {
      MMMM: d => d.toLocaleString('default', { month: 'long' }),
      DD: d => d.getDate()
      });

      stamp(today);
      //=> 'Today is: July 4, 2019'

    Chores

    • Update and lock devDepdencies versions: fa606ab
    • Update module size (+9 bytes): ac24991
from tinydate GitHub release notes
Commit messages
Package name: tinydate

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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