dateformat
Advanced tools
Comparing version 4.6.2 to 5.0.0
@@ -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: [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
19777
203