date-format 4.0.4 → 4.0.7

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 CHANGED
@@ -1,17 +1,40 @@
1
1
  # date-format Changelog
2
2
 
3
+ ## 4.0.7
4
+
5
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/57) - thanks [@peteriman](https://github.com/peteriman)
6
+ - chore(dev): bump eslint-plugin-mocha from 10.0.3 to 10.0.4
7
+ - updated package-lock.json
8
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/54) - thanks [@peteriman](https://github.com/peteriman)
9
+ - chore(dev): bump eslint from 8.11.0 to 8.13.0
10
+ - package-lock.json
11
+
12
+ ## 4.0.6
13
+
14
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/52) - thanks [@peteriman](https://github.com/peteriman)
15
+ - package-lock.json
16
+
17
+ ## 4.0.5
18
+
19
+ - [chore(test): better test coverage instead of ignoring](https://github.com/nomiddlename/date-format/pull/48) - thanks [@peteriman](https://github.com/peteriman)
20
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/49) - thanks [@peteriman](https://github.com/peteriman)
21
+ - chore(dev): eslint from 8.10.0 to 8.11.0
22
+ - chore(dev): mocha from 9.2.1 to 9.2.2
23
+ - package-lock.json
24
+ - [chore(docs): updated README.md with badges](https://github.com/nomiddlename/date-format/pull/50) thanks [@peteriman](https://github.com/peteriman)
25
+
3
26
  ## 4.0.4
4
27
 
5
28
  - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
6
- - [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)
7
- - [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)
29
+ - [chore(dev): 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)
30
+ - [chore(dev): 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)
8
31
  - [package-lock.json](https://github.com/nomiddlename/date-format/pull/44)
9
32
 
10
33
  ## 4.0.3
11
34
 
12
35
  - [100% test coverage](https://github.com/nomiddlename/date-format/pull/42) - thanks [@peteriman](https://github.com/peteriman)
13
36
  - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
14
- - [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)
37
+ - [chore(dev): 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)
15
38
 
16
39
  ## 4.0.2
17
40
 
@@ -20,7 +43,7 @@
20
43
  - [Removed "log4js" from title of CHANGELOG.md](https://github.com/nomiddlename/date-format/pull/37) - thanks [@joshuabremerdexcom](https://github.com/joshuabremerdexcom)
21
44
  - [Added "date-format" to title of CHANGELOG.md](https://github.com/nomiddlename/date-format/commit/64a95d0386853692d7d65174f94a0751e775f7ce#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed) - thanks [@peteriman](https://github.com/peteriman)
22
45
  - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
23
- - [eslint-plugin-mocha from 5.3.0 to 10.0.3](https://github.com/nomiddlename/date-format/pull/38)
46
+ - [chore(dev): eslint-plugin-mocha from 5.3.0 to 10.0.3](https://github.com/nomiddlename/date-format/pull/38)
24
47
 
25
48
  ## 4.0.1
26
49
 
@@ -33,9 +56,9 @@
33
56
  - [Docs: Updated README.md with more examples and expected output](https://github.com/nomiddlename/date-format/pull/33) - thanks [@peteriman](https://github.com/peteriman)
34
57
  - Updated dependencies
35
58
  - [should-util from 1.0.0 to 1.0.1](https://github.com/nomiddlename/date-format/pull/31) - thanks [@peteriman](https://github.com/peteriman)
36
- - [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)
37
- - [acorn from 6.2.0 to 6.4.2](https://github.com/nomiddlename/date-format/pull/29)
38
- - [lodash from 4.17.14 to 4.17.21](https://github.com/nomiddlename/date-format/pull/26)
59
+ - [chore(dev): 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)
60
+ - [acorn from 6.2.0 to 6.4.2](https://github.com/nomiddlename/date-format/pull/29) - thanks [@Dependabot](https://github.com/dependabot)
61
+ - [lodash from 4.17.14 to 4.17.21](https://github.com/nomiddlename/date-format/pull/26) - thanks [@Dependabot](https://github.com/dependabot)
39
62
 
40
63
  ## Previous versions
41
64
 
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,6 +1,6 @@
1
1
  {
2
2
  "name": "date-format",
3
- "version": "4.0.4",
3
+ "version": "4.0.7",
4
4
  "description": "Formatting Date objects as strings since 2013",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -29,9 +29,9 @@
29
29
  "readmeFilename": "README.md",
30
30
  "gitHead": "bf59015ab6c9e86454b179374f29debbdb403522",
31
31
  "devDependencies": {
32
- "eslint": "^8.10.0",
33
- "eslint-plugin-mocha": "^10.0.3",
34
- "mocha": "^9.2.1",
32
+ "eslint": "^8.13.0",
33
+ "eslint-plugin-mocha": "^10.0.4",
34
+ "mocha": "^9.2.2",
35
35
  "nyc": "^15.1.0",
36
36
  "should": "^13.2.3"
37
37
  },