Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

date-fns

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-fns - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

src/__tests__/is_same_week_test.js

5

CHANGELOG.md
# Changelog
## v0.7.0 (8 Oct 2014)
* Additions:
- `isSameWeek`
## v0.6.0 (7 Oct 2014)

@@ -4,0 +9,0 @@

2

package.json
{
"name": "date-fns",
"version": "0.6.0",
"version": "0.7.0",
"author": "Sasha Koss <kossnocorp@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Date helpers",

@@ -17,8 +17,9 @@ # date-fns

* [`endOfMonth`](./src/end_of_month.js) - returns end of a month for passed date
* [`eachDay`](./src/each_day) - returns array of dates within specified range
* [`addDays`](./src/add_days) - add specified number of days to passed date
* [`subDays`](./src/sub_days) - substract specified number of days from passed date
* [`isSameMonth`](./src/is_same_month) - returns true if passed dates has same month (and year)
* [`isFirstDayOfMonth`](./src/is_first_day_of_month) - return true if passed date is first day of month
* [`isLastDayOfMonth`](./src/is_last_day_of_month) - return true if passed date is last day of month
* [`eachDay`](./src/each_day.js) - returns array of dates within specified range
* [`addDays`](./src/add_days.js) - add specified number of days to passed date
* [`subDays`](./src/sub_days.js) - substract specified number of days from passed date
* [`isSameWeek`](./src/is_same_week.js) - returns true if passed dates belongs to the same week
* [`isSameMonth`](./src/is_same_month.js) - returns true if passed dates has same month (and year)
* [`isFirstDayOfMonth`](./src/is_first_day_of_month.js) - return true if passed date is first day of month
* [`isLastDayOfMonth`](./src/is_last_day_of_month.js) - return true if passed date is last day of month
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