best-globals 1.1.4 → 1.1.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/best-globals.d.ts CHANGED
@@ -32,8 +32,8 @@ declare module "best-globals"{
32
32
  }):ChangingOptions
33
33
  }
34
34
  class RealDate extends Date implements DateMethods{
35
- add(ti:TimeInterval):RealDate
36
- sub(ti:TimeInterval):RealDate
35
+ add(ti:TimeInterval|{days:number}):RealDate
36
+ sub(ti:TimeInterval|{days:number}):RealDate
37
37
  sub(d:RealDate):TimeInterval
38
38
  sameValue(ti:RealDate):boolean
39
39
  toDmy():string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "best-globals",
3
3
  "description": "common global function and constants - i.e. changes",
4
- "version": "1.1.4",
4
+ "version": "1.1.6",
5
5
  "author": "Codenautas <codenautas@googlegroups.com>",
6
6
  "license": "MIT",
7
7
  "repository": "codenautas/best-globals",
@@ -29,10 +29,12 @@
29
29
  "karma-expect": "^1.1.3",
30
30
  "karma-firefox-launcher": "^2.1.3",
31
31
  "karma-mocha": "^2.0.1",
32
- "nyc": "~15.1.0",
33
- "mocha": "~10.4.0",
32
+ "nyc": "~17.0.0",
33
+ "mini-tools": "^1.12.1",
34
+ "mocha": "~10.5.2",
35
+ "pg-promise-strict": "^1.4.0",
34
36
  "require-bro": "^0.3.1",
35
- "sinon": "~17.0.1",
37
+ "sinon": "~18.0.0",
36
38
  "audit-copy": "~0.1.0",
37
39
  "discrepances": "~0.2.8"
38
40
  },