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

date-and-time

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

date-and-time - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

9

package.json
{
"name": "date-and-time",
"version": "3.0.2",
"version": "3.0.3",
"description": "A Minimalist DateTime utility for Node.js and the browser",

@@ -11,2 +11,3 @@ "main": "date-and-time.js",

".": {
"types": "./date-and-time.d.ts",
"import": "./esm/date-and-time.mjs",

@@ -17,2 +18,3 @@ "require": "./date-and-time.js",

"./locale/*": {
"types": "./locale/*.d.ts",
"import": "./esm/locale/*.mjs",

@@ -23,2 +25,3 @@ "require": "./locale/*.js",

"./plugin/*": {
"types": "./plugin/*.d.ts",
"import": "./esm/plugin/*.mjs",

@@ -55,5 +58,5 @@ "require": "./plugin/*.js",

"mocha": "^10.2.0",
"rollup": "^3.25.1",
"tsd": "^0.28.1"
"rollup": "^3.29.2",
"tsd": "^0.29.0"
}
}
# date-and-time
[![Circle CI](https://circleci.com/gh/knowledgecode/date-and-time.svg?style=shield)](https://circleci.com/gh/knowledgecode/date-and-time)
[![Circle CI](https://circleci.com/gh/knowledgecode/date-and-time.svg?style=shield)](https://circleci.com/gh/knowledgecode/date-and-time)

@@ -28,2 +28,5 @@ This JS library is just a collection of functions for manipulating date and time. It's small, simple, and easy to learn.

- 3.0.3
- Fixed TypeScript types exports in `package.json`.
- 3.0.2

@@ -36,5 +39,2 @@ - Dropped the use of the logical OR assignment operator to support older environments.

- 3.0.0
- **Breaking Changes!** Added `utc` option to the 3rd parameter of `addYears()`, `addMonths()`, `addDays()`, `addHours()`, `addMinutes()`, `addSeconds()` and `addMilliseconds()`. If you use these functions in timezones with daylight savings time, you may get different results depending on the 3rd parameter.
## Usage

@@ -41,0 +41,0 @@

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