date-format 4.0.3 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,56 @@
1
+ # date-format Changelog
2
+
3
+ ## 4.0.6
4
+
5
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/52) - thanks [@peteriman](https://github.com/peteriman)
6
+ - package-lock.json
7
+
8
+ ## 4.0.5
9
+
10
+ - [chore(test): better test coverage instead of ignoring](https://github.com/nomiddlename/date-format/pull/48) - thanks [@peteriman](https://github.com/peteriman)
11
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/49) - thanks [@peteriman](https://github.com/peteriman)
12
+ - eslint from 8.10.0 to 8.11.0
13
+ - mocha from 9.2.1 to 9.2.2
14
+ - package-lock.json
15
+ - [chore(docs): updated README.md with badges](https://github.com/nomiddlename/date-format/pull/50) thanks [@peteriman](https://github.com/peteriman)
16
+
17
+ ## 4.0.4
18
+
19
+ - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
20
+ - [eslint from 8.8.0 to 8.10.0 and mocha from 9.2.0 to 9.2.1](https://github.com/nomiddlename/date-format/pull/46)
21
+ - [eslint from 8.7.0 to 8.8.0 and mocha from 9.1.4 to 9.2.0](https://github.com/nomiddlename/date-format/pull/45)
22
+ - [package-lock.json](https://github.com/nomiddlename/date-format/pull/44)
23
+
24
+ ## 4.0.3
25
+
26
+ - [100% test coverage](https://github.com/nomiddlename/date-format/pull/42) - thanks [@peteriman](https://github.com/peteriman)
27
+ - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
28
+ - [eslint from 8.6.0 to 8.7.0 and mocha from 9.1.3 to 9.1.4](https://github.com/nomiddlename/date-format/pull/41)
29
+
30
+ ## 4.0.2
31
+
32
+ - [Not to publish misc files to NPM](https://github.com/nomiddlename/date-format/pull/39) - thanks [@peteriman](https://github.com/peteriman)
33
+ - CHANGELOG.md
34
+ - [Removed "log4js" from title of CHANGELOG.md](https://github.com/nomiddlename/date-format/pull/37) - thanks [@joshuabremerdexcom](https://github.com/joshuabremerdexcom)
35
+ - [Added "date-format" to title of CHANGELOG.md](https://github.com/nomiddlename/date-format/commit/64a95d0386853692d7d65174f94a0751e775f7ce#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed) - thanks [@peteriman](https://github.com/peteriman)
36
+ - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
37
+ - [eslint-plugin-mocha from 5.3.0 to 10.0.3](https://github.com/nomiddlename/date-format/pull/38)
38
+
39
+ ## 4.0.1
40
+
41
+ - is exactly the same as 4.0.0 and is a re-published 4.0.0 to npm
42
+
43
+ ## 4.0.0
44
+
45
+ - [Fix timezone format to include colon separator](https://github.com/nomiddlename/date-format/pull/27) - thanks [@peteriman](https://github.com/peteriman)
46
+ - [test: have a test case for timezone with colon](https://github.com/nomiddlename/date-format/pull/32) - thanks [@peteriman](https://github.com/peteriman)
47
+ - [Docs: Updated README.md with more examples and expected output](https://github.com/nomiddlename/date-format/pull/33) - thanks [@peteriman](https://github.com/peteriman)
48
+ - Updated dependencies
49
+ - [should-util from 1.0.0 to 1.0.1](https://github.com/nomiddlename/date-format/pull/31) - thanks [@peteriman](https://github.com/peteriman)
50
+ - [eslint from 5.16.0 to 8.6.0 and mocha from 5.2.0 to 9.1.3](https://github.com/nomiddlename/date-format/pull/30) - thanks [@peteriman](https://github.com/peteriman)
51
+ - [acorn from 6.2.0 to 6.4.2](https://github.com/nomiddlename/date-format/pull/29) - thanks [@Dependabot](https://github.com/dependabot)
52
+ - [lodash from 4.17.14 to 4.17.21](https://github.com/nomiddlename/date-format/pull/26) - thanks [@Dependabot](https://github.com/dependabot)
53
+
54
+ ## Previous versions
55
+
56
+ Change information for older versions can be found by looking at the milestones in github.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
- date-format
1
+ date-format [![CodeQL](https://github.com/nomiddlename/date-format/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/nomiddlename/date-format/actions/workflows/codeql-analysis.yml) [![Node.js CI](https://github.com/nomiddlename/date-format/actions/workflows/node.js.yml/badge.svg)](https://github.com/nomiddlename/date-format/actions/workflows/node.js.yml)
2
2
  ===========
3
3
 
4
+ [![NPM](https://nodei.co/npm/date-format.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/date-format/)
5
+
4
6
  node.js formatting of Date objects as strings. Probably exactly the same as some other library out there.
5
7
 
6
8
  ```sh
package/lib/index.js CHANGED
@@ -204,7 +204,6 @@ function parse(pattern, str, missingValuesDate) {
204
204
  /**
205
205
  * Used for testing - replace this function with a fixed date.
206
206
  */
207
- // istanbul ignore next
208
207
  function now() {
209
208
  return new Date();
210
209
  }
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "date-format",
3
- "version": "4.0.3",
3
+ "version": "4.0.6",
4
4
  "description": "Formatting Date objects as strings since 2013",
5
5
  "main": "lib/index.js",
6
6
  "files": [
7
- "lib"
7
+ "lib",
8
+ "CHANGELOG.md"
8
9
  ],
9
10
  "repository": {
10
11
  "type": "git",
@@ -28,9 +29,9 @@
28
29
  "readmeFilename": "README.md",
29
30
  "gitHead": "bf59015ab6c9e86454b179374f29debbdb403522",
30
31
  "devDependencies": {
31
- "eslint": "^8.7.0",
32
+ "eslint": "^8.11.0",
32
33
  "eslint-plugin-mocha": "^10.0.3",
33
- "mocha": "^9.1.4",
34
+ "mocha": "^9.2.2",
34
35
  "nyc": "^15.1.0",
35
36
  "should": "^13.2.3"
36
37
  },