Socket
Socket
Sign inDemoInstall

diff-ymd-package

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff-ymd-package - npm Package Versions

13

2.1.0

Diff

Changelog

Source

[v2.1.0]

Added
  • Simplification: Modularize the diff-ymd-package
  • Added the DatesYMD class in separate file
  • Added the diffDates function in separate file
  • Updated tests codes
  • Updated the README.md documentation for better presentation.
  • Enhanced README.md for follwing best practices
Changed
  • Improved algorithm efficiency: Enhanced performance for existing methods to provide faster calculations.
  • Modified internal structure: Refactored internal code for better readability and maintainability.
  • Enhanced README.md for follwing best practices
Fixed
  • Fixed some issues related to the new changes.
  • Configured files for publishing diff-ymd-package v2.1.0 on npm registry.
Documentation
  • README.md updated: Added consistent formating and recommended for best practices.
  • Enhanced code comments: Provided thorough inline documentation for better codes understanding.
Testing
  • Continuous Integration: Integrated automated testing with GitHub Actions for ongoing code quality assurance.
farhan7reza7
published 2.0.3 •

Changelog

Source

[v2.0.3]

Fixed
  • formatted readme documentation for better presentation
  • added wiki for diff-ymd-package better docummentation
  • updated diff-ymd-package gh-pages documention
  • updated varaibles keywords to modern Js keywords
  • fixed some other issues and configured files for v2.0.3
farhan7reza7
published 2.0.2 •

Changelog

Source

[v2.0.2]

Fixed

fixed some issues and configured files for publishing diff-ymd-package v2.0.2 on npm registry

farhan7reza7
published 2.0.1 •

Changelog

Source

[v2.0.1]

Fixed

fixed some issues and configured files for publishing diff-ymd-package v2.0.1 on npm registry

farhan7reza7
published 2.0.0 •

Changelog

Source

[v2.0.0] - [2024-01-24]

Added
  • Simplification: Updated the DatesYMD class to accept dateString, epoch, and dateObject as well along with string as parameters.
  • Added the method diffInMonths to calculate the difference in months between two dates.
  • Added the method diffInWeeks to calculate the difference in weeks between two dates.
  • Added the method diffInDays to calculate the difference in days between two dates.
  • Added the method diffInYears to calculate the difference in years between two dates.
  • Added the method diffInHours to calculate the difference in hours between two dates.
  • Added the method diffInMinutes to calculate the difference in minutes between two dates.
  • Added the method diffInSeconds to calculate the difference in seconds between two dates.
  • Updated Unit tests: Included comprehensive Jest tests for the newly added methods.
  • Updated the README.md documentation to include the new methods.
Changed
  • Improved algorithm efficiency: Enhanced performance for existing methods to provide faster calculations.
  • Modified internal structure: Refactored internal code for better readability and maintainability.
Fixed
  • Fixed some issues related to the new changes.
  • Configured files for publishing diff-ymd-package v2.0.0 on npm registry.
Documentation
  • README.md updated: Added examples and use cases and api documentation for the new methods.
  • Enhanced code comments: Provided thorough inline documentation for better codes understanding.
Testing
  • Increased test coverage: Expanded Jest test suite to cover all scenarios, ensuring robust functionality.
  • Continuous Integration: Integrated automated testing with GitHub Actions for ongoing code quality assurance.
farhan7reza7
published 1.1.3 •

Changelog

Source

[v1.1.3]

Fixed

fixed some issues and configured files for v1.1.3

farhan7reza7
published 1.1.2 •

Changelog

Source

[v1.1.2]

Fixed

fixed some issues and configured files for v1.1.2

farhan7reza7
published 1.1.1 •

Changelog

Source

[v1.1.1]

Fixed

fixed some issues and configured files for v1.1.1

farhan7reza7
published 1.1.0 •

Changelog

Source

[v1.1.0]

Added
  • Improved handling of customized formatting.
  • Includes method for creating customized differrence formats.
  • Included Unit test using Jest for customizing method.
  • Included through comments in tests script
Changed
  • Included through comments in tests script
Fixed

fixed some issues and configured files for publishing diff-ymd-package v1.1.0 on npm registry

farhan7reza7
published 1.0.5 •

Changelog

Source

[v1.0.5]

Fixed

fixed some issues and configured files for publishing diff-ymd-package v1.0.5 on npm registry

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc