@react-fabric/utilities 1.0.0-beta.59 → 1.0.0-beta.60
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/dist/cjs/_format.js +0 -1
- package/dist/esm/_format.js +0 -1
- package/package.json +2 -2
- package/src/_format.ts +1 -1
package/dist/cjs/_format.js
CHANGED
|
@@ -34,7 +34,6 @@ var _isType = require('./_isType.js');
|
|
|
34
34
|
* Format utility functions for various data types.
|
|
35
35
|
* This namespace provides methods to format phone numbers, numbers, bytes, percentages, dates, and durations.
|
|
36
36
|
*/
|
|
37
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
38
37
|
exports.Format = void 0;
|
|
39
38
|
(function (_Format) {
|
|
40
39
|
var getPhone = function getPhone(value, country) {
|
package/dist/esm/_format.js
CHANGED
|
@@ -34,7 +34,6 @@ import { isEmpty, isNil } from './_isType.js';
|
|
|
34
34
|
* Format utility functions for various data types.
|
|
35
35
|
* This namespace provides methods to format phone numbers, numbers, bytes, percentages, dates, and durations.
|
|
36
36
|
*/
|
|
37
|
-
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
38
37
|
var Format;
|
|
39
38
|
(function (_Format) {
|
|
40
39
|
var getPhone = function getPhone(value, country) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-fabric/utilities",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.60",
|
|
4
4
|
"description": "RUF: Utility package",
|
|
5
5
|
"author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"node": ">=18.12.0",
|
|
45
45
|
"npm": ">=8.19.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "a79f053ee7e13422c06d7d9c35d4f0c2610cdf5d"
|
|
48
48
|
}
|
package/src/_format.ts
CHANGED
|
@@ -34,7 +34,7 @@ import { isEmpty, isNil } from "./_isType";
|
|
|
34
34
|
* Format utility functions for various data types.
|
|
35
35
|
* This namespace provides methods to format phone numbers, numbers, bytes, percentages, dates, and durations.
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
|
|
38
38
|
export namespace Format {
|
|
39
39
|
const getPhone = (value: string, country: string) => {
|
|
40
40
|
const phone =
|