@kizmann/pico-js 2.0.2 → 2.0.4
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/pico-js.browser.js +1 -1
- package/dist/pico-js.browser.js.map +1 -1
- package/dist/pico-js.esm.js +1 -1
- package/dist/pico-js.esm.js.map +1 -1
- package/package.json +4 -10
- package/src/index.esm.js +31 -77
- package/src/now/NowDefault.js +16 -16
- package/src/utils/Hash.js +5 -5
- package/src/utils/Mixed.js +1 -1
- package/types/index.esm.d.ts +17 -56
- package/types/now/NowDefault.d.ts +64 -0
- package/types/utils/Event.d.ts +1 -1
- package/types/utils/Locale.d.ts +1 -1
- package/types/utils/Mixed.d.ts +20 -18
- package/types/utils/Number.d.ts +1 -1
- package/types/utils/String.d.ts +8 -7
package/types/utils/String.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ export class PicoString {
|
|
|
74
74
|
/**
|
|
75
75
|
* @see PicoString.uc
|
|
76
76
|
*/
|
|
77
|
-
static upper: typeof
|
|
77
|
+
static upper: typeof Str.uc;
|
|
78
78
|
/**
|
|
79
79
|
* Uppercase first character
|
|
80
80
|
*
|
|
@@ -96,7 +96,7 @@ export class PicoString {
|
|
|
96
96
|
/**
|
|
97
97
|
* @see PicoString.lc
|
|
98
98
|
*/
|
|
99
|
-
static lower: typeof
|
|
99
|
+
static lower: typeof Str.lc;
|
|
100
100
|
/**
|
|
101
101
|
* Lowercase first character
|
|
102
102
|
*
|
|
@@ -118,7 +118,7 @@ export class PicoString {
|
|
|
118
118
|
/**
|
|
119
119
|
* @see PicoString.cc
|
|
120
120
|
*/
|
|
121
|
-
static camelcase: typeof
|
|
121
|
+
static camelcase: typeof Str.cc;
|
|
122
122
|
/**
|
|
123
123
|
* Convert to kebab-case
|
|
124
124
|
*
|
|
@@ -131,7 +131,7 @@ export class PicoString {
|
|
|
131
131
|
/**
|
|
132
132
|
* @see PicoString.kc
|
|
133
133
|
*/
|
|
134
|
-
static kebabcase: typeof
|
|
134
|
+
static kebabcase: typeof Str.kc;
|
|
135
135
|
/**
|
|
136
136
|
* Convert to snake_case
|
|
137
137
|
*
|
|
@@ -144,7 +144,7 @@ export class PicoString {
|
|
|
144
144
|
/**
|
|
145
145
|
* @see PicoString.sc
|
|
146
146
|
*/
|
|
147
|
-
static snakecase: typeof
|
|
147
|
+
static snakecase: typeof Str.sc;
|
|
148
148
|
/**
|
|
149
149
|
* Convert to PascalCase
|
|
150
150
|
*
|
|
@@ -157,7 +157,7 @@ export class PicoString {
|
|
|
157
157
|
/**
|
|
158
158
|
* @see PicoString.pc
|
|
159
159
|
*/
|
|
160
|
-
static pascalcase: typeof
|
|
160
|
+
static pascalcase: typeof Str.pc;
|
|
161
161
|
/**
|
|
162
162
|
* Check if string contains value
|
|
163
163
|
*
|
|
@@ -327,4 +327,5 @@ export namespace PicoString {
|
|
|
327
327
|
function real(): void;
|
|
328
328
|
function array(): void;
|
|
329
329
|
}
|
|
330
|
-
export default
|
|
330
|
+
export default Str;
|
|
331
|
+
import { Str } from "../index.esm.js";
|