Socket
Socket
Sign inDemoInstall

dateformat

Package Overview
Dependencies
0
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.6.2 to 5.0.0

24

package.json

@@ -5,3 +5,4 @@ {

"maintainers": [
"Felix Geisendörfer <felix@debuggable.com>"
"Felix Geisendörfer <felix@debuggable.com>",
"Chase Manning <me@chasemanning.co.nz>"
],

@@ -14,16 +15,18 @@ "homepage": "https://github.com/felixge/node-dateformat",

"Christoph Tavan <dev@tavan.de>",
"Jon Schlinkert (https://github.com/jonschlinkert)"
"Jon Schlinkert (https://github.com/jonschlinkert)",
"Chase Manning <me@chasemanning.co.nz>"
],
"version": "4.6.2",
"version": "5.0.0",
"license": "MIT",
"type": "module",
"main": "lib/dateformat",
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"mocha": "^8.2.1",
"uglify-js": "^3.12.5"
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"mocha": "^9.0.3",
"uglify-js": "^3.14.1"
},
"engines": {
"node": "*"
"node": ">=12.20"
},

@@ -38,4 +41,3 @@ "scripts": {

"url": "https://github.com/felixge/node-dateformat.git"
},
"dependencies": {}
}
}

@@ -5,4 +5,2 @@ # dateformat

[![Build Status](https://travis-ci.org/felixge/node-dateformat.svg)](https://travis-ci.org/felixge/node-dateformat)
## Modifications

@@ -26,3 +24,3 @@

```js
var dateFormat = require("dateformat");
import dateFormat from "dateformat";
var now = new Date();

@@ -144,3 +142,3 @@

```js
var dateFormat = require("dateformat");
import dateFormat from "dateformat";
dateFormat.i18n = {

@@ -147,0 +145,0 @@ dayNames: [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc