date-format 4.0.4 → 4.0.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # date-format Changelog
2
2
 
3
+ ## 4.0.5
4
+
5
+ - [chore(test): better test coverage instead of ignoring](https://github.com/nomiddlename/date-format/pull/48) - thanks [@peteriman](https://github.com/peteriman)
6
+ - [chore(dep): updated dependencies](https://github.com/nomiddlename/date-format/pull/49) - thanks [@peteriman](https://github.com/peteriman)
7
+ - eslint from 8.10.0 to 8.11.0
8
+ - mocha from 9.2.1 to 9.2.2
9
+ - package-lock.json
10
+ - [chore(docs): updated README.md with badges](https://github.com/nomiddlename/date-format/pull/50) thanks [@peteriman](https://github.com/peteriman)
11
+
3
12
  ## 4.0.4
4
13
 
5
14
  - Updated dependencies - thanks [@peteriman](https://github.com/peteriman)
@@ -34,8 +43,8 @@
34
43
  - Updated dependencies
35
44
  - [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
45
  - [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)
46
+ - [acorn from 6.2.0 to 6.4.2](https://github.com/nomiddlename/date-format/pull/29) - thanks [@Dependabot](https://github.com/dependabot)
47
+ - [lodash from 4.17.14 to 4.17.21](https://github.com/nomiddlename/date-format/pull/26) - thanks [@Dependabot](https://github.com/dependabot)
39
48
 
40
49
  ## Previous versions
41
50
 
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.5",
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",
32
+ "eslint": "^8.11.0",
33
33
  "eslint-plugin-mocha": "^10.0.3",
34
- "mocha": "^9.2.1",
34
+ "mocha": "^9.2.2",
35
35
  "nyc": "^15.1.0",
36
36
  "should": "^13.2.3"
37
37
  },