Socket
Socket
Sign inDemoInstall

date-and-time

Package Overview
Dependencies
Maintainers
1
Versions
58
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 2.3.1 to 2.4.0

23

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

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

".": {
"browser": "./esm/date-and-time.es.js",
"browser": {
"import": "./esm/date-and-time.es.js",
"require": "./date-and-time.js"
},
"import": "./esm/date-and-time.mjs",

@@ -17,3 +20,6 @@ "require": "./date-and-time.js"

"./locale/*": {
"browser": "./esm/locale/*.es.js",
"browser": {
"import": "./esm/locale/*.es.js",
"require": "./locale/*.js"
},
"import": "./esm/locale/*.mjs",

@@ -23,3 +29,6 @@ "require": "./locale/*.js"

"./plugin/*": {
"browser": "./esm/plugin/*.es.js",
"browser": {
"import": "./esm/plugin/*.es.js",
"require": "./plugin/*.js"
},
"import": "./esm/plugin/*.mjs",

@@ -54,7 +63,7 @@ "require": "./plugin/*.js"

"expect.js": "^0.3.1",
"mocha": "^9.2.2",
"mocha": "^10.0.0",
"mocha-headless-chrome": "^4.0.0",
"rollup": "^2.70.1",
"tsd": "^0.20.0"
"rollup": "^2.75.7",
"tsd": "^0.21.0"
}
}

@@ -27,2 +27,5 @@ # date-and-time

- 2.4.0
- Support for testing in Jest.
- 2.3.1

@@ -38,6 +41,2 @@ - Updated dev dependencies to resolve vulnerabilities.

- 2.2.0
- Added `tranformTZ()` to `timezone` plugin. See [PLUGINS.md](./PLUGINS.md) for details.
- Added `ZZ` token to support time zone values with colon like `-08:00` `+09:00` to `format()` and `parse()`.
## Usage

@@ -44,0 +43,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