Skip to content

Commit c3a6969

Browse files
committed
build: new phoenix fs with electron support for linux port
1 parent afa59b3 commit c3a6969

5 files changed

Lines changed: 36 additions & 22 deletions

File tree

docs/API-Reference/utils/ValidationUtils.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Used to validate whether type of unknown value is an integer.
1818
<a name="isIntegerInRange"></a>
1919

2020
## isIntegerInRange(value, [lowerLimit], [upperLimit]) ⇒ <code>boolean</code>
21-
Used to validate whether type of unknown value is an integer, and, if so,is it within the option lower and upper limits.
21+
Used to validate whether type of unknown value is an integer, and, if so,
22+
is it within the option lower and upper limits.
2223

2324
**Kind**: global function
2425
**Returns**: <code>boolean</code> - true if value is an interger, and optionally in specified range.
@@ -29,3 +30,18 @@ Used to validate whether type of unknown value is an integer, and, if so,is it
2930
| [lowerLimit] | <code>number</code> | Optional lower limit (inclusive) |
3031
| [upperLimit] | <code>number</code> | Optional upper limit (inclusive) |
3132

33+
<a name="isWithinRange"></a>
34+
35+
## isWithinRange(value, [lowerLimit], [upperLimit]) ⇒ <code>boolean</code>
36+
Used to validate whether type of unknown value is a number (including decimals),
37+
and, if so, is it within the optional lower and upper limits.
38+
39+
**Kind**: global function
40+
**Returns**: <code>boolean</code> - true if value is a finite number, and optionally in specified range.
41+
42+
| Param | Type | Description |
43+
| --- | --- | --- |
44+
| value | <code>\*</code> | Value for which to validate its type |
45+
| [lowerLimit] | <code>number</code> | Optional lower limit (inclusive) |
46+
| [upperLimit] | <code>number</code> | Optional upper limit (inclusive) |
47+

package-lock.json

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@floating-ui/dom": "^0.5.4",
9595
"@fortawesome/fontawesome-free": "^6.1.2",
9696
"@highlightjs/cdn-assets": "^11.5.1",
97-
"@phcode/fs": "^3.0.1",
97+
"@phcode/fs": "^4.0.1",
9898
"@phcode/language-support": "^1.1.0",
9999
"@pixelbrackets/gfm-stylesheet": "^1.1.0",
100100
"@prettier/plugin-php": "^0.22.2",
@@ -121,4 +121,4 @@
121121
"tinycolor2": "^1.4.2",
122122
"underscore": "^1.13.4"
123123
}
124-
}
124+
}

src-node/package-lock.json

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-node/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"IMPORTANT!!": "Adding things here will bloat up the package size",
2121
"dependencies": {
22-
"@phcode/fs": "^3.0.1",
22+
"@phcode/fs": "^4.0.1",
2323
"open": "^10.1.0",
2424
"npm": "10.1.0",
2525
"ws": "^8.17.1",
@@ -29,4 +29,4 @@
2929
"which": "^2.0.1",
3030
"@expo/sudo-prompt": "^9.3.2"
3131
}
32-
}
32+
}

0 commit comments

Comments
 (0)