@gkucmierz/utils 1.28.1 → 1.28.2

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/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@gkucmierz/utils",
3
- "version": "1.28.1",
3
+ "version": "1.28.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@gkucmierz/utils",
9
- "version": "1.28.1",
9
+ "version": "1.28.2",
10
10
  "license": "MIT",
11
11
  "devDependencies": {
12
12
  "docdash": "^2.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gkucmierz/utils",
3
- "version": "1.28.1",
3
+ "version": "1.28.2",
4
4
  "description": "Usefull functions for solving programming tasks",
5
5
  "main": "main.mjs",
6
6
  "scripts": {
package/src/copy-case.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Copy the case of a string into another.
4
+ * @method
4
5
  * @param {string} target String to change the case.
5
6
  * @param {string} source Source of case pattern.
6
7
  * @return {string} Converted string.
package/src/gcd.mjs CHANGED
@@ -17,6 +17,7 @@ const getGCD = ZERO => {
17
17
 
18
18
  /**
19
19
  * Calculate GCD - Greatest Common Divisor
20
+ * @method
20
21
  * @param {Number} Natural number
21
22
  * @return {Number} GCD
22
23
  */
@@ -24,6 +25,7 @@ export const gcd = getGCD(0);
24
25
 
25
26
  /**
26
27
  * Calculate GCD - Greatest Common Divisor (BigInt version)
28
+ * @method
27
29
  * @param {BigInt} Natural BigInt number
28
30
  * @return {BigInt} GCD
29
31
  */