complete-common 2.31.0 → 2.31.1

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.
@@ -6,7 +6,8 @@
6
6
  /**
7
7
  * Helper function to get the number of elapsed seconds since a starting time.
8
8
  *
9
- * This function always returns a whole number (using `Math.floor` on the result).
9
+ * By default, this function will return a whole number (using `Math.floor` on the result), but this
10
+ * can be disabled with the "roundToInteger" parameter.
10
11
  *
11
12
  * For example:
12
13
  *
@@ -6,7 +6,8 @@
6
6
  /**
7
7
  * Helper function to get the number of elapsed seconds since a starting time.
8
8
  *
9
- * This function always returns a whole number (using `Math.floor` on the result).
9
+ * By default, this function will return a whole number (using `Math.floor` on the result), but this
10
+ * can be disabled with the "roundToInteger" parameter.
10
11
  *
11
12
  * For example:
12
13
  *
@@ -6,7 +6,8 @@
6
6
  /**
7
7
  * Helper function to get the number of elapsed seconds since a starting time.
8
8
  *
9
- * This function always returns a whole number (using `Math.floor` on the result).
9
+ * By default, this function will return a whole number (using `Math.floor` on the result), but this
10
+ * can be disabled with the "roundToInteger" parameter.
10
11
  *
11
12
  * For example:
12
13
  *
@@ -1 +1 @@
1
- {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../src/functions/time.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,cAAc,UAAO,GACpB,MAAM,CAMR"}
1
+ {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../src/functions/time.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,SAAS,EAAE,MAAM,EACjB,cAAc,UAAO,GACpB,MAAM,CAMR"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "complete-common",
3
- "version": "2.31.0",
3
+ "version": "2.31.1",
4
4
  "description": "Helper functions for TypeScript projects.",
5
5
  "homepage": "https://complete-ts.github.io/",
6
6
  "bugs": {
@@ -32,7 +32,7 @@
32
32
  "test": "bun test ./tests"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/node": "26.0.1",
35
+ "@types/node": "26.1.0",
36
36
  "complete-node": "18.0.0",
37
37
  "typedoc": "0.28.19",
38
38
  "typedoc-plugin-markdown": "4.12.0",
@@ -7,7 +7,8 @@
7
7
  /**
8
8
  * Helper function to get the number of elapsed seconds since a starting time.
9
9
  *
10
- * This function always returns a whole number (using `Math.floor` on the result).
10
+ * By default, this function will return a whole number (using `Math.floor` on the result), but this
11
+ * can be disabled with the "roundToInteger" parameter.
11
12
  *
12
13
  * For example:
13
14
  *