@alwatr/parse-duration 5.0.0 → 5.4.0

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
@@ -3,6 +3,40 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/parse-duration@1.1.8...@alwatr/parse-duration@5.4.0) (2025-02-18)
7
+
8
+ ## 5.3.0 (2025-02-03)
9
+
10
+ ### Miscellaneous Chores
11
+
12
+ * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @
13
+
14
+ ### Dependencies update
15
+
16
+ * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @
17
+ * update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @
18
+
19
+ ## 5.0.0 (2024-11-02)
20
+
21
+ ### ⚠ BREAKING CHANGES
22
+
23
+ * To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
24
+
25
+ ### Code Refactoring
26
+
27
+ * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
28
+
29
+ ## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
30
+
31
+ ### Miscellaneous Chores
32
+
33
+ * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @ArmanAsadian
34
+
35
+ ### Dependencies update
36
+
37
+ * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @dependabot[bot]
38
+ * update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @alimd
39
+
6
40
  ## 5.0.0 (2024-11-02)
7
41
 
8
42
  ### ⚠ BREAKING CHANGES
package/README.md CHANGED
@@ -39,8 +39,6 @@ parseDuration('10d', 'h'); // 240
39
39
 
40
40
  The following companies, organizations, and individuals support Nanolib ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
41
41
 
42
- [![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)
43
-
44
42
  ### Contributing
45
43
 
46
44
  Contributions are welcome! Please read our [contribution guidelines](https://github.com/Alwatr/.github/blob/next/CONTRIBUTING.md) before submitting a pull request.
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/parse-duration v5.0.0 */
1
+ /* @alwatr/parse-duration v5.4.0 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -26,7 +26,7 @@ __export(main_exports, {
26
26
  module.exports = __toCommonJS(main_exports);
27
27
  var import_is_number = require("@alwatr/is-number");
28
28
  var import_package_tracer = require("@alwatr/package-tracer");
29
- __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/parse-duration", "5.0.0");
29
+ __dev_mode__: import_package_tracer.packageTracer.add("@alwatr/parse-duration", "5.4.0");
30
30
  var unitConversion_ = {
31
31
  s: 1e3,
32
32
  m: 6e4,
@@ -66,5 +66,4 @@ var parseDuration = (duration, toUnit) => {
66
66
  0 && (module.exports = {
67
67
  parseDuration
68
68
  });
69
- /*! For license information please see main.cjs.LEGAL.txt */
70
69
  //# sourceMappingURL=main.cjs.map
package/dist/main.mjs CHANGED
@@ -1,9 +1,9 @@
1
- /* @alwatr/parse-duration v5.0.0 */
1
+ /* @alwatr/parse-duration v5.4.0 */
2
2
 
3
3
  // src/main.ts
4
4
  import { isNumber } from "@alwatr/is-number";
5
5
  import { packageTracer } from "@alwatr/package-tracer";
6
- __dev_mode__: packageTracer.add("@alwatr/parse-duration", "5.0.0");
6
+ __dev_mode__: packageTracer.add("@alwatr/parse-duration", "5.4.0");
7
7
  var unitConversion_ = {
8
8
  s: 1e3,
9
9
  m: 6e4,
@@ -42,5 +42,4 @@ var parseDuration = (duration, toUnit) => {
42
42
  export {
43
43
  parseDuration
44
44
  };
45
- /*! For license information please see main.mjs.LEGAL.txt */
46
45
  //# sourceMappingURL=main.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/parse-duration",
3
- "version": "5.0.0",
3
+ "version": "5.4.0",
4
4
  "description": "A simple utility to parse a duration string into milliseconds number.",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -70,15 +70,15 @@
70
70
  "clean": "rm -rfv dist *.tsbuildinfo"
71
71
  },
72
72
  "dependencies": {
73
- "@alwatr/is-number": "^5.0.0",
74
- "@alwatr/package-tracer": "^5.0.0"
73
+ "@alwatr/is-number": "^5.4.0",
74
+ "@alwatr/package-tracer": "^5.4.0"
75
75
  },
76
76
  "devDependencies": {
77
- "@alwatr/nano-build": "^5.0.0",
77
+ "@alwatr/nano-build": "^5.4.0",
78
78
  "@alwatr/prettier-config": "^5.0.0",
79
79
  "@alwatr/tsconfig-base": "^5.0.0",
80
80
  "jest": "^29.7.0",
81
- "typescript": "^5.6.3"
81
+ "typescript": "^5.7.3"
82
82
  },
83
- "gitHead": "7d12943fafa8ef50636346e66ff56c50e2fd0c72"
83
+ "gitHead": "074be0d0fe780bf929e163045f8f598cd2697636"
84
84
  }
File without changes
File without changes