yummies 5.4.7 → 5.4.8
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/async.cjs +70 -0
- package/async.d.cts +28 -0
- package/async.d.cts.map +1 -0
- package/common.cjs +18 -0
- package/common.d.cts +15 -0
- package/common.d.cts.map +1 -0
- package/common.d.ts +1 -1
- package/common.d.ts.map +1 -1
- package/complex/counter.cjs +21 -0
- package/complex/counter.d.cts +15 -0
- package/complex/counter.d.cts.map +1 -0
- package/complex/global-config.cjs +46 -0
- package/complex/global-config.d.cts +11 -0
- package/complex/global-config.d.cts.map +1 -0
- package/complex/global-config.d.ts +1 -1
- package/complex/global-config.d.ts.map +1 -1
- package/complex/index.cjs +19 -0
- package/complex/index.d.cts +4 -0
- package/complex/index.d.cts.map +1 -0
- package/complex/index.d.ts +3 -3
- package/complex/index.d.ts.map +1 -1
- package/complex/index.js +3 -3
- package/complex/modules-factory.cjs +50 -0
- package/complex/modules-factory.d.cts +49 -0
- package/complex/modules-factory.d.cts.map +1 -0
- package/complex/modules-factory.d.ts +1 -1
- package/complex/modules-factory.d.ts.map +1 -1
- package/cookie.cjs +13 -0
- package/cookie.d.cts +3 -0
- package/cookie.d.cts.map +1 -0
- package/cookie.d.ts +1 -1
- package/cookie.d.ts.map +1 -1
- package/css.cjs +28 -0
- package/css.d.cts +36 -0
- package/css.d.cts.map +1 -0
- package/data.cjs +58 -0
- package/data.d.cts +4 -0
- package/data.d.cts.map +1 -0
- package/date-time.cjs +171 -0
- package/date-time.d.cts +28 -0
- package/date-time.d.cts.map +1 -0
- package/date-time.d.ts +1 -1
- package/date-time.d.ts.map +1 -1
- package/date-time.js +4 -4
- package/device.cjs +28 -0
- package/device.d.cts +8 -0
- package/device.d.cts.map +1 -0
- package/encodings.cjs +270 -0
- package/encodings.d.cts +2 -0
- package/encodings.d.cts.map +1 -0
- package/errors.cjs +34 -0
- package/errors.d.cts +19 -0
- package/errors.d.cts.map +1 -0
- package/errors.d.ts +1 -1
- package/errors.d.ts.map +1 -1
- package/errors.js +1 -1
- package/file.cjs +29 -0
- package/file.d.cts +3 -0
- package/file.d.cts.map +1 -0
- package/format/_exports.cjs +20 -0
- package/format/_exports.d.cts +5 -0
- package/format/_exports.d.cts.map +1 -0
- package/format/_exports.d.ts +4 -4
- package/format/_exports.d.ts.map +1 -1
- package/format/_exports.js +4 -4
- package/format/constants.cjs +6 -0
- package/format/constants.d.cts +4 -0
- package/format/constants.d.cts.map +1 -0
- package/format/index.cjs +40 -0
- package/format/index.d.cts +3 -0
- package/format/index.d.cts.map +1 -0
- package/format/index.d.ts +1 -1
- package/format/index.d.ts.map +1 -1
- package/format/index.js +1 -1
- package/format/number.cjs +48 -0
- package/format/number.d.cts +36 -0
- package/format/number.d.cts.map +1 -0
- package/format/number.d.ts +1 -1
- package/format/number.d.ts.map +1 -1
- package/format/number.js +3 -3
- package/format/percent.cjs +27 -0
- package/format/percent.d.cts +15 -0
- package/format/percent.d.cts.map +1 -0
- package/format/percent.d.ts +2 -2
- package/format/percent.d.ts.map +1 -1
- package/format/percent.js +3 -3
- package/format/skip-spaces.cjs +8 -0
- package/format/skip-spaces.d.cts +5 -0
- package/format/skip-spaces.d.cts.map +1 -0
- package/html.cjs +202 -0
- package/html.d.cts +44 -0
- package/html.d.cts.map +1 -0
- package/html.d.ts +1 -1
- package/html.d.ts.map +1 -1
- package/html.js +1 -1
- package/id.cjs +76 -0
- package/id.d.cts +63 -0
- package/id.d.cts.map +1 -0
- package/imports.cjs +45 -0
- package/imports.d.cts +15 -0
- package/imports.d.cts.map +1 -0
- package/imports.js +1 -1
- package/math.cjs +23 -0
- package/math.d.cts +13 -0
- package/math.d.cts.map +1 -0
- package/math.d.ts +1 -1
- package/math.d.ts.map +1 -1
- package/media.cjs +115 -0
- package/media.d.cts +20 -0
- package/media.d.cts.map +1 -0
- package/media.js +1 -1
- package/mobx/apply-observable.cjs +16 -0
- package/mobx/apply-observable.d.cts +4 -0
- package/mobx/apply-observable.d.cts.map +1 -0
- package/mobx/apply-observable.d.ts +1 -1
- package/mobx/apply-observable.d.ts.map +1 -1
- package/mobx/create-enhanced-atom.cjs +16 -0
- package/mobx/create-enhanced-atom.d.cts +11 -0
- package/mobx/create-enhanced-atom.d.cts.map +1 -0
- package/mobx/create-enhanced-atom.d.ts +1 -1
- package/mobx/create-enhanced-atom.d.ts.map +1 -1
- package/mobx/deep-observable-struct.cjs +61 -0
- package/mobx/deep-observable-struct.d.cts +7 -0
- package/mobx/deep-observable-struct.d.cts.map +1 -0
- package/mobx/deep-observable-struct.d.ts +1 -1
- package/mobx/deep-observable-struct.d.ts.map +1 -1
- package/mobx/deep-observable-struct.js +1 -1
- package/mobx/get-mobx-administration.cjs +6 -0
- package/mobx/get-mobx-administration.d.cts +6 -0
- package/mobx/get-mobx-administration.d.cts.map +1 -0
- package/mobx/get-mobx-administration.d.ts +1 -1
- package/mobx/get-mobx-administration.d.ts.map +1 -1
- package/mobx/index.cjs +21 -0
- package/mobx/index.d.cts +6 -0
- package/mobx/index.d.cts.map +1 -0
- package/mobx/index.d.ts +5 -5
- package/mobx/index.d.ts.map +1 -1
- package/mobx/index.js +5 -5
- package/mobx/lazy-observe.cjs +47 -0
- package/mobx/lazy-observe.d.cts +8 -0
- package/mobx/lazy-observe.d.cts.map +1 -0
- package/ms.cjs +22 -0
- package/ms.d.cts +19 -0
- package/ms.d.cts.map +1 -0
- package/number.cjs +16 -0
- package/number.d.cts +8 -0
- package/number.d.cts.map +1 -0
- package/package.json +91 -329
- package/parser/_exports.cjs +19 -0
- package/parser/_exports.d.cts +4 -0
- package/parser/_exports.d.cts.map +1 -0
- package/parser/_exports.d.ts +3 -3
- package/parser/_exports.d.ts.map +1 -1
- package/parser/_exports.js +3 -3
- package/parser/index.cjs +40 -0
- package/parser/index.d.cts +3 -0
- package/parser/index.d.cts.map +1 -0
- package/parser/index.d.ts +1 -1
- package/parser/index.d.ts.map +1 -1
- package/parser/index.js +1 -1
- package/parser/number.cjs +48 -0
- package/parser/number.d.cts +21 -0
- package/parser/number.d.cts.map +1 -0
- package/parser/number.d.ts +1 -1
- package/parser/number.d.ts.map +1 -1
- package/parser/number.js +2 -2
- package/parser/percent.cjs +8 -0
- package/parser/percent.d.cts +4 -0
- package/parser/percent.d.cts.map +1 -0
- package/parser/percent.d.ts +2 -2
- package/parser/percent.d.ts.map +1 -1
- package/parser/percent.js +1 -1
- package/parser/string.cjs +18 -0
- package/parser/string.d.cts +7 -0
- package/parser/string.d.cts.map +1 -0
- package/parser/string.d.ts +1 -1
- package/parser/string.d.ts.map +1 -1
- package/parser/string.js +1 -1
- package/price.cjs +21 -0
- package/price.d.cts +6 -0
- package/price.d.cts.map +1 -0
- package/random.cjs +25 -0
- package/random.d.cts +9 -0
- package/random.d.cts.map +1 -0
- package/react/hooks/index.cjs +37 -0
- package/react/hooks/index.d.cts +22 -0
- package/react/hooks/index.d.cts.map +1 -0
- package/react/hooks/index.d.ts +21 -21
- package/react/hooks/index.d.ts.map +1 -1
- package/react/hooks/index.js +21 -21
- package/react/hooks/use-abort-controller.cjs +15 -0
- package/react/hooks/use-abort-controller.d.cts +2 -0
- package/react/hooks/use-abort-controller.d.cts.map +1 -0
- package/react/hooks/use-abort-controller.js +1 -1
- package/react/hooks/use-abort-signal.cjs +8 -0
- package/react/hooks/use-abort-signal.d.cts +2 -0
- package/react/hooks/use-abort-signal.d.cts.map +1 -0
- package/react/hooks/use-abort-signal.js +1 -1
- package/react/hooks/use-click-outside.cjs +17 -0
- package/react/hooks/use-click-outside.d.cts +9 -0
- package/react/hooks/use-click-outside.d.cts.map +1 -0
- package/react/hooks/use-click-outside.js +1 -1
- package/react/hooks/use-constant.cjs +19 -0
- package/react/hooks/use-constant.d.cts +9 -0
- package/react/hooks/use-constant.d.cts.map +1 -0
- package/react/hooks/use-define-ref.cjs +19 -0
- package/react/hooks/use-define-ref.d.cts +10 -0
- package/react/hooks/use-define-ref.d.cts.map +1 -0
- package/react/hooks/use-element-ref.cjs +12 -0
- package/react/hooks/use-element-ref.d.cts +2 -0
- package/react/hooks/use-element-ref.d.cts.map +1 -0
- package/react/hooks/use-event-listener.cjs +17 -0
- package/react/hooks/use-event-listener.d.cts +8 -0
- package/react/hooks/use-event-listener.d.cts.map +1 -0
- package/react/hooks/use-event-listener.js +1 -1
- package/react/hooks/use-event.cjs +23 -0
- package/react/hooks/use-event.d.cts +3 -0
- package/react/hooks/use-event.d.cts.map +1 -0
- package/react/hooks/use-event.d.ts +1 -1
- package/react/hooks/use-event.d.ts.map +1 -1
- package/react/hooks/use-flag.cjs +19 -0
- package/react/hooks/use-flag.d.cts +8 -0
- package/react/hooks/use-flag.d.cts.map +1 -0
- package/react/hooks/use-force-update.cjs +11 -0
- package/react/hooks/use-force-update.d.cts +2 -0
- package/react/hooks/use-force-update.d.cts.map +1 -0
- package/react/hooks/use-initial-height.cjs +15 -0
- package/react/hooks/use-initial-height.d.cts +5 -0
- package/react/hooks/use-initial-height.d.cts.map +1 -0
- package/react/hooks/use-instance.cjs +31 -0
- package/react/hooks/use-instance.d.cts +27 -0
- package/react/hooks/use-instance.d.cts.map +1 -0
- package/react/hooks/use-instance.js +2 -2
- package/react/hooks/use-intersection-observer.cjs +14 -0
- package/react/hooks/use-intersection-observer.d.cts +2 -0
- package/react/hooks/use-intersection-observer.d.cts.map +1 -0
- package/react/hooks/use-last-defined-value.cjs +12 -0
- package/react/hooks/use-last-defined-value.d.cts +2 -0
- package/react/hooks/use-last-defined-value.d.cts.map +1 -0
- package/react/hooks/use-last-value-ref.cjs +12 -0
- package/react/hooks/use-last-value-ref.d.cts +2 -0
- package/react/hooks/use-last-value-ref.d.cts.map +1 -0
- package/react/hooks/use-life-cycle.cjs +14 -0
- package/react/hooks/use-life-cycle.d.cts +5 -0
- package/react/hooks/use-life-cycle.d.cts.map +1 -0
- package/react/hooks/use-life-cycle.js +1 -1
- package/react/hooks/use-resize-observer.cjs +15 -0
- package/react/hooks/use-resize-observer.d.cts +2 -0
- package/react/hooks/use-resize-observer.d.cts.map +1 -0
- package/react/hooks/use-resize-observer.js +1 -1
- package/react/hooks/use-sync-ref.cjs +10 -0
- package/react/hooks/use-sync-ref.d.cts +2 -0
- package/react/hooks/use-sync-ref.d.cts.map +1 -0
- package/react/hooks/use-toggle.cjs +10 -0
- package/react/hooks/use-toggle.d.cts +2 -0
- package/react/hooks/use-toggle.d.cts.map +1 -0
- package/react/hooks/use-value.cjs +12 -0
- package/react/hooks/use-value.d.cts +5 -0
- package/react/hooks/use-value.d.cts.map +1 -0
- package/react/hooks/use-visibility-state.cjs +18 -0
- package/react/hooks/use-visibility-state.d.cts +2 -0
- package/react/hooks/use-visibility-state.d.cts.map +1 -0
- package/react/index.cjs +17 -0
- package/react/index.d.cts +2 -0
- package/react/index.d.cts.map +1 -0
- package/react/index.d.ts +1 -1
- package/react/index.d.ts.map +1 -1
- package/react/index.js +1 -1
- package/sound.cjs +16 -0
- package/sound.d.cts +7 -0
- package/sound.d.cts.map +1 -0
- package/storage.cjs +48 -0
- package/storage.d.cts +39 -0
- package/storage.d.cts.map +1 -0
- package/text.cjs +53 -0
- package/text.d.cts +15 -0
- package/text.d.cts.map +1 -0
- package/type-guard/_exports.cjs +129 -0
- package/type-guard/_exports.d.cts +86 -0
- package/type-guard/_exports.d.cts.map +1 -0
- package/type-guard/_exports.d.ts +1 -1
- package/type-guard/_exports.d.ts.map +1 -1
- package/type-guard/index.cjs +40 -0
- package/type-guard/index.d.cts +3 -0
- package/type-guard/index.d.cts.map +1 -0
- package/type-guard/index.d.ts +1 -1
- package/type-guard/index.d.ts.map +1 -1
- package/type-guard/index.js +1 -1
- package/utility-types.d.ts +1 -0
- package/utils/types.cjs +2 -0
- package/utils/types.d.cts +395 -0
- package/utils/types.d.cts.map +1 -0
- package/vibrate.cjs +12 -0
- package/vibrate.d.cts +5 -0
- package/vibrate.d.cts.map +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yummies",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.8",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": "js2me",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,412 +43,174 @@
|
|
|
43
43
|
"@vitest/coverage-istanbul": "^3.1.2",
|
|
44
44
|
"commitfmt": "^1.0.4",
|
|
45
45
|
"js2me-biome-config": "^1.0.3",
|
|
46
|
-
"
|
|
46
|
+
"sborshik": "^1.0.5",
|
|
47
47
|
"jsdom": "^26.1.0",
|
|
48
48
|
"lefthook": "^1.11.16",
|
|
49
49
|
"nodemon": "^3.1.9",
|
|
50
50
|
"rimraf": "^6.0.1",
|
|
51
51
|
"tsx": "^4.20.5",
|
|
52
52
|
"typescript": "^5.8.3",
|
|
53
|
-
"vitest": "^3.1.2"
|
|
53
|
+
"vitest": "^3.1.2",
|
|
54
|
+
"zshy": "^0.4.2"
|
|
54
55
|
},
|
|
55
56
|
"type": "module",
|
|
57
|
+
"files": [
|
|
58
|
+
"*"
|
|
59
|
+
],
|
|
56
60
|
"exports": {
|
|
57
|
-
"./
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
+
"./package.json": "./package.json",
|
|
62
|
+
"./complex": {
|
|
63
|
+
"types": "./complex/index.d.cts",
|
|
64
|
+
"import": "./complex/index.js",
|
|
65
|
+
"require": "./complex/index.cjs"
|
|
61
66
|
},
|
|
62
|
-
"./
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
67
|
+
"./format": {
|
|
68
|
+
"types": "./format/index.d.cts",
|
|
69
|
+
"import": "./format/index.js",
|
|
70
|
+
"require": "./format/index.cjs"
|
|
66
71
|
},
|
|
67
|
-
"./
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
72
|
+
"./mobx": {
|
|
73
|
+
"types": "./mobx/index.d.cts",
|
|
74
|
+
"import": "./mobx/index.js",
|
|
75
|
+
"require": "./mobx/index.cjs"
|
|
71
76
|
},
|
|
72
|
-
"./
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
77
|
+
"./parser": {
|
|
78
|
+
"types": "./parser/index.d.cts",
|
|
79
|
+
"import": "./parser/index.js",
|
|
80
|
+
"require": "./parser/index.cjs"
|
|
76
81
|
},
|
|
77
|
-
"./
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
82
|
+
"./react": {
|
|
83
|
+
"types": "./react/index.d.cts",
|
|
84
|
+
"import": "./react/index.js",
|
|
85
|
+
"require": "./react/index.cjs"
|
|
81
86
|
},
|
|
82
|
-
"./
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
87
|
+
"./type-guard": {
|
|
88
|
+
"types": "./type-guard/index.d.cts",
|
|
89
|
+
"import": "./type-guard/index.js",
|
|
90
|
+
"require": "./type-guard/index.cjs"
|
|
86
91
|
},
|
|
87
|
-
"./
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
92
|
+
"./utils/types": {
|
|
93
|
+
"types": "./utils/types.d.cts",
|
|
94
|
+
"import": "./utils/types.js",
|
|
95
|
+
"require": "./utils/types.cjs"
|
|
96
|
+
},
|
|
97
|
+
"./async": {
|
|
98
|
+
"types": "./async.d.cts",
|
|
99
|
+
"import": "./async.js",
|
|
100
|
+
"require": "./async.cjs"
|
|
101
|
+
},
|
|
102
|
+
"./common": {
|
|
103
|
+
"types": "./common.d.cts",
|
|
104
|
+
"import": "./common.js",
|
|
105
|
+
"require": "./common.cjs"
|
|
91
106
|
},
|
|
92
107
|
"./cookie": {
|
|
108
|
+
"types": "./cookie.d.cts",
|
|
93
109
|
"import": "./cookie.js",
|
|
94
|
-
"
|
|
95
|
-
"types": "./cookie.d.ts"
|
|
110
|
+
"require": "./cookie.cjs"
|
|
96
111
|
},
|
|
97
112
|
"./css": {
|
|
113
|
+
"types": "./css.d.cts",
|
|
98
114
|
"import": "./css.js",
|
|
99
|
-
"
|
|
100
|
-
"types": "./css.d.ts"
|
|
101
|
-
},
|
|
102
|
-
"./data.test": {
|
|
103
|
-
"import": "./data.test.js",
|
|
104
|
-
"default": "./data.test.js",
|
|
105
|
-
"types": "./data.test.d.ts"
|
|
115
|
+
"require": "./css.cjs"
|
|
106
116
|
},
|
|
107
117
|
"./data": {
|
|
118
|
+
"types": "./data.d.cts",
|
|
108
119
|
"import": "./data.js",
|
|
109
|
-
"
|
|
110
|
-
"types": "./data.d.ts"
|
|
111
|
-
},
|
|
112
|
-
"./date-time.test": {
|
|
113
|
-
"import": "./date-time.test.js",
|
|
114
|
-
"default": "./date-time.test.js",
|
|
115
|
-
"types": "./date-time.test.d.ts"
|
|
120
|
+
"require": "./data.cjs"
|
|
116
121
|
},
|
|
117
122
|
"./date-time": {
|
|
123
|
+
"types": "./date-time.d.cts",
|
|
118
124
|
"import": "./date-time.js",
|
|
119
|
-
"
|
|
120
|
-
"types": "./date-time.d.ts"
|
|
125
|
+
"require": "./date-time.cjs"
|
|
121
126
|
},
|
|
122
127
|
"./device": {
|
|
128
|
+
"types": "./device.d.cts",
|
|
123
129
|
"import": "./device.js",
|
|
124
|
-
"
|
|
125
|
-
"types": "./device.d.ts"
|
|
130
|
+
"require": "./device.cjs"
|
|
126
131
|
},
|
|
127
132
|
"./encodings": {
|
|
133
|
+
"types": "./encodings.d.cts",
|
|
128
134
|
"import": "./encodings.js",
|
|
129
|
-
"
|
|
130
|
-
"types": "./encodings.d.ts"
|
|
135
|
+
"require": "./encodings.cjs"
|
|
131
136
|
},
|
|
132
137
|
"./errors": {
|
|
138
|
+
"types": "./errors.d.cts",
|
|
133
139
|
"import": "./errors.js",
|
|
134
|
-
"
|
|
135
|
-
"types": "./errors.d.ts"
|
|
140
|
+
"require": "./errors.cjs"
|
|
136
141
|
},
|
|
137
142
|
"./file": {
|
|
143
|
+
"types": "./file.d.cts",
|
|
138
144
|
"import": "./file.js",
|
|
139
|
-
"
|
|
140
|
-
"types": "./file.d.ts"
|
|
141
|
-
},
|
|
142
|
-
"./format/_exports": {
|
|
143
|
-
"import": "./format/_exports.js",
|
|
144
|
-
"default": "./format/_exports.js",
|
|
145
|
-
"types": "./format/_exports.d.ts"
|
|
146
|
-
},
|
|
147
|
-
"./format/constants": {
|
|
148
|
-
"import": "./format/constants.js",
|
|
149
|
-
"default": "./format/constants.js",
|
|
150
|
-
"types": "./format/constants.d.ts"
|
|
151
|
-
},
|
|
152
|
-
"./format": {
|
|
153
|
-
"import": "./format/index.js",
|
|
154
|
-
"default": "./format/index.js",
|
|
155
|
-
"types": "./format/index.d.ts"
|
|
156
|
-
},
|
|
157
|
-
"./format/number.test": {
|
|
158
|
-
"import": "./format/number.test.js",
|
|
159
|
-
"default": "./format/number.test.js",
|
|
160
|
-
"types": "./format/number.test.d.ts"
|
|
161
|
-
},
|
|
162
|
-
"./format/number": {
|
|
163
|
-
"import": "./format/number.js",
|
|
164
|
-
"default": "./format/number.js",
|
|
165
|
-
"types": "./format/number.d.ts"
|
|
166
|
-
},
|
|
167
|
-
"./format/percent": {
|
|
168
|
-
"import": "./format/percent.js",
|
|
169
|
-
"default": "./format/percent.js",
|
|
170
|
-
"types": "./format/percent.d.ts"
|
|
171
|
-
},
|
|
172
|
-
"./format/skip-spaces": {
|
|
173
|
-
"import": "./format/skip-spaces.js",
|
|
174
|
-
"default": "./format/skip-spaces.js",
|
|
175
|
-
"types": "./format/skip-spaces.d.ts"
|
|
145
|
+
"require": "./file.cjs"
|
|
176
146
|
},
|
|
177
147
|
"./html": {
|
|
148
|
+
"types": "./html.d.cts",
|
|
178
149
|
"import": "./html.js",
|
|
179
|
-
"
|
|
180
|
-
"types": "./html.d.ts"
|
|
150
|
+
"require": "./html.cjs"
|
|
181
151
|
},
|
|
182
152
|
"./id": {
|
|
153
|
+
"types": "./id.d.cts",
|
|
183
154
|
"import": "./id.js",
|
|
184
|
-
"
|
|
185
|
-
"types": "./id.d.ts"
|
|
155
|
+
"require": "./id.cjs"
|
|
186
156
|
},
|
|
187
157
|
"./imports": {
|
|
158
|
+
"types": "./imports.d.cts",
|
|
188
159
|
"import": "./imports.js",
|
|
189
|
-
"
|
|
190
|
-
"types": "./imports.d.ts"
|
|
160
|
+
"require": "./imports.cjs"
|
|
191
161
|
},
|
|
192
162
|
"./math": {
|
|
163
|
+
"types": "./math.d.cts",
|
|
193
164
|
"import": "./math.js",
|
|
194
|
-
"
|
|
195
|
-
"types": "./math.d.ts"
|
|
165
|
+
"require": "./math.cjs"
|
|
196
166
|
},
|
|
197
167
|
"./media": {
|
|
168
|
+
"types": "./media.d.cts",
|
|
198
169
|
"import": "./media.js",
|
|
199
|
-
"
|
|
200
|
-
"types": "./media.d.ts"
|
|
201
|
-
},
|
|
202
|
-
"./mobx/apply-observable": {
|
|
203
|
-
"import": "./mobx/apply-observable.js",
|
|
204
|
-
"default": "./mobx/apply-observable.js",
|
|
205
|
-
"types": "./mobx/apply-observable.d.ts"
|
|
206
|
-
},
|
|
207
|
-
"./mobx/create-enhanced-atom": {
|
|
208
|
-
"import": "./mobx/create-enhanced-atom.js",
|
|
209
|
-
"default": "./mobx/create-enhanced-atom.js",
|
|
210
|
-
"types": "./mobx/create-enhanced-atom.d.ts"
|
|
211
|
-
},
|
|
212
|
-
"./mobx/deep-observable-struct.test": {
|
|
213
|
-
"import": "./mobx/deep-observable-struct.test.js",
|
|
214
|
-
"default": "./mobx/deep-observable-struct.test.js",
|
|
215
|
-
"types": "./mobx/deep-observable-struct.test.d.ts"
|
|
216
|
-
},
|
|
217
|
-
"./mobx/deep-observable-struct": {
|
|
218
|
-
"import": "./mobx/deep-observable-struct.js",
|
|
219
|
-
"default": "./mobx/deep-observable-struct.js",
|
|
220
|
-
"types": "./mobx/deep-observable-struct.d.ts"
|
|
221
|
-
},
|
|
222
|
-
"./mobx/get-mobx-administration": {
|
|
223
|
-
"import": "./mobx/get-mobx-administration.js",
|
|
224
|
-
"default": "./mobx/get-mobx-administration.js",
|
|
225
|
-
"types": "./mobx/get-mobx-administration.d.ts"
|
|
226
|
-
},
|
|
227
|
-
"./mobx": {
|
|
228
|
-
"import": "./mobx/index.js",
|
|
229
|
-
"default": "./mobx/index.js",
|
|
230
|
-
"types": "./mobx/index.d.ts"
|
|
231
|
-
},
|
|
232
|
-
"./mobx/lazy-observe": {
|
|
233
|
-
"import": "./mobx/lazy-observe.js",
|
|
234
|
-
"default": "./mobx/lazy-observe.js",
|
|
235
|
-
"types": "./mobx/lazy-observe.d.ts"
|
|
170
|
+
"require": "./media.cjs"
|
|
236
171
|
},
|
|
237
172
|
"./ms": {
|
|
173
|
+
"types": "./ms.d.cts",
|
|
238
174
|
"import": "./ms.js",
|
|
239
|
-
"
|
|
240
|
-
"types": "./ms.d.ts"
|
|
175
|
+
"require": "./ms.cjs"
|
|
241
176
|
},
|
|
242
177
|
"./number": {
|
|
178
|
+
"types": "./number.d.cts",
|
|
243
179
|
"import": "./number.js",
|
|
244
|
-
"
|
|
245
|
-
"types": "./number.d.ts"
|
|
246
|
-
},
|
|
247
|
-
"./parser/_exports": {
|
|
248
|
-
"import": "./parser/_exports.js",
|
|
249
|
-
"default": "./parser/_exports.js",
|
|
250
|
-
"types": "./parser/_exports.d.ts"
|
|
251
|
-
},
|
|
252
|
-
"./parser": {
|
|
253
|
-
"import": "./parser/index.js",
|
|
254
|
-
"default": "./parser/index.js",
|
|
255
|
-
"types": "./parser/index.d.ts"
|
|
256
|
-
},
|
|
257
|
-
"./parser/number.test": {
|
|
258
|
-
"import": "./parser/number.test.js",
|
|
259
|
-
"default": "./parser/number.test.js",
|
|
260
|
-
"types": "./parser/number.test.d.ts"
|
|
261
|
-
},
|
|
262
|
-
"./parser/number": {
|
|
263
|
-
"import": "./parser/number.js",
|
|
264
|
-
"default": "./parser/number.js",
|
|
265
|
-
"types": "./parser/number.d.ts"
|
|
266
|
-
},
|
|
267
|
-
"./parser/percent": {
|
|
268
|
-
"import": "./parser/percent.js",
|
|
269
|
-
"default": "./parser/percent.js",
|
|
270
|
-
"types": "./parser/percent.d.ts"
|
|
271
|
-
},
|
|
272
|
-
"./parser/string": {
|
|
273
|
-
"import": "./parser/string.js",
|
|
274
|
-
"default": "./parser/string.js",
|
|
275
|
-
"types": "./parser/string.d.ts"
|
|
180
|
+
"require": "./number.cjs"
|
|
276
181
|
},
|
|
277
182
|
"./price": {
|
|
183
|
+
"types": "./price.d.cts",
|
|
278
184
|
"import": "./price.js",
|
|
279
|
-
"
|
|
280
|
-
"types": "./price.d.ts"
|
|
185
|
+
"require": "./price.cjs"
|
|
281
186
|
},
|
|
282
187
|
"./random": {
|
|
188
|
+
"types": "./random.d.cts",
|
|
283
189
|
"import": "./random.js",
|
|
284
|
-
"
|
|
285
|
-
"types": "./random.d.ts"
|
|
286
|
-
},
|
|
287
|
-
"./react/hooks": {
|
|
288
|
-
"import": "./react/hooks/index.js",
|
|
289
|
-
"default": "./react/hooks/index.js",
|
|
290
|
-
"types": "./react/hooks/index.d.ts"
|
|
291
|
-
},
|
|
292
|
-
"./react/hooks/use-abort-controller": {
|
|
293
|
-
"import": "./react/hooks/use-abort-controller.js",
|
|
294
|
-
"default": "./react/hooks/use-abort-controller.js",
|
|
295
|
-
"types": "./react/hooks/use-abort-controller.d.ts"
|
|
296
|
-
},
|
|
297
|
-
"./react/hooks/use-abort-signal": {
|
|
298
|
-
"import": "./react/hooks/use-abort-signal.js",
|
|
299
|
-
"default": "./react/hooks/use-abort-signal.js",
|
|
300
|
-
"types": "./react/hooks/use-abort-signal.d.ts"
|
|
301
|
-
},
|
|
302
|
-
"./react/hooks/use-click-outside": {
|
|
303
|
-
"import": "./react/hooks/use-click-outside.js",
|
|
304
|
-
"default": "./react/hooks/use-click-outside.js",
|
|
305
|
-
"types": "./react/hooks/use-click-outside.d.ts"
|
|
306
|
-
},
|
|
307
|
-
"./react/hooks/use-constant": {
|
|
308
|
-
"import": "./react/hooks/use-constant.js",
|
|
309
|
-
"default": "./react/hooks/use-constant.js",
|
|
310
|
-
"types": "./react/hooks/use-constant.d.ts"
|
|
311
|
-
},
|
|
312
|
-
"./react/hooks/use-define-ref": {
|
|
313
|
-
"import": "./react/hooks/use-define-ref.js",
|
|
314
|
-
"default": "./react/hooks/use-define-ref.js",
|
|
315
|
-
"types": "./react/hooks/use-define-ref.d.ts"
|
|
316
|
-
},
|
|
317
|
-
"./react/hooks/use-element-ref": {
|
|
318
|
-
"import": "./react/hooks/use-element-ref.js",
|
|
319
|
-
"default": "./react/hooks/use-element-ref.js",
|
|
320
|
-
"types": "./react/hooks/use-element-ref.d.ts"
|
|
321
|
-
},
|
|
322
|
-
"./react/hooks/use-event-listener": {
|
|
323
|
-
"import": "./react/hooks/use-event-listener.js",
|
|
324
|
-
"default": "./react/hooks/use-event-listener.js",
|
|
325
|
-
"types": "./react/hooks/use-event-listener.d.ts"
|
|
326
|
-
},
|
|
327
|
-
"./react/hooks/use-event": {
|
|
328
|
-
"import": "./react/hooks/use-event.js",
|
|
329
|
-
"default": "./react/hooks/use-event.js",
|
|
330
|
-
"types": "./react/hooks/use-event.d.ts"
|
|
331
|
-
},
|
|
332
|
-
"./react/hooks/use-flag": {
|
|
333
|
-
"import": "./react/hooks/use-flag.js",
|
|
334
|
-
"default": "./react/hooks/use-flag.js",
|
|
335
|
-
"types": "./react/hooks/use-flag.d.ts"
|
|
336
|
-
},
|
|
337
|
-
"./react/hooks/use-force-update": {
|
|
338
|
-
"import": "./react/hooks/use-force-update.js",
|
|
339
|
-
"default": "./react/hooks/use-force-update.js",
|
|
340
|
-
"types": "./react/hooks/use-force-update.d.ts"
|
|
341
|
-
},
|
|
342
|
-
"./react/hooks/use-initial-height": {
|
|
343
|
-
"import": "./react/hooks/use-initial-height.js",
|
|
344
|
-
"default": "./react/hooks/use-initial-height.js",
|
|
345
|
-
"types": "./react/hooks/use-initial-height.d.ts"
|
|
346
|
-
},
|
|
347
|
-
"./react/hooks/use-instance": {
|
|
348
|
-
"import": "./react/hooks/use-instance.js",
|
|
349
|
-
"default": "./react/hooks/use-instance.js",
|
|
350
|
-
"types": "./react/hooks/use-instance.d.ts"
|
|
351
|
-
},
|
|
352
|
-
"./react/hooks/use-intersection-observer": {
|
|
353
|
-
"import": "./react/hooks/use-intersection-observer.js",
|
|
354
|
-
"default": "./react/hooks/use-intersection-observer.js",
|
|
355
|
-
"types": "./react/hooks/use-intersection-observer.d.ts"
|
|
356
|
-
},
|
|
357
|
-
"./react/hooks/use-last-defined-value": {
|
|
358
|
-
"import": "./react/hooks/use-last-defined-value.js",
|
|
359
|
-
"default": "./react/hooks/use-last-defined-value.js",
|
|
360
|
-
"types": "./react/hooks/use-last-defined-value.d.ts"
|
|
361
|
-
},
|
|
362
|
-
"./react/hooks/use-last-value-ref": {
|
|
363
|
-
"import": "./react/hooks/use-last-value-ref.js",
|
|
364
|
-
"default": "./react/hooks/use-last-value-ref.js",
|
|
365
|
-
"types": "./react/hooks/use-last-value-ref.d.ts"
|
|
366
|
-
},
|
|
367
|
-
"./react/hooks/use-life-cycle": {
|
|
368
|
-
"import": "./react/hooks/use-life-cycle.js",
|
|
369
|
-
"default": "./react/hooks/use-life-cycle.js",
|
|
370
|
-
"types": "./react/hooks/use-life-cycle.d.ts"
|
|
371
|
-
},
|
|
372
|
-
"./react/hooks/use-resize-observer": {
|
|
373
|
-
"import": "./react/hooks/use-resize-observer.js",
|
|
374
|
-
"default": "./react/hooks/use-resize-observer.js",
|
|
375
|
-
"types": "./react/hooks/use-resize-observer.d.ts"
|
|
376
|
-
},
|
|
377
|
-
"./react/hooks/use-sync-ref": {
|
|
378
|
-
"import": "./react/hooks/use-sync-ref.js",
|
|
379
|
-
"default": "./react/hooks/use-sync-ref.js",
|
|
380
|
-
"types": "./react/hooks/use-sync-ref.d.ts"
|
|
381
|
-
},
|
|
382
|
-
"./react/hooks/use-toggle": {
|
|
383
|
-
"import": "./react/hooks/use-toggle.js",
|
|
384
|
-
"default": "./react/hooks/use-toggle.js",
|
|
385
|
-
"types": "./react/hooks/use-toggle.d.ts"
|
|
386
|
-
},
|
|
387
|
-
"./react/hooks/use-value": {
|
|
388
|
-
"import": "./react/hooks/use-value.js",
|
|
389
|
-
"default": "./react/hooks/use-value.js",
|
|
390
|
-
"types": "./react/hooks/use-value.d.ts"
|
|
391
|
-
},
|
|
392
|
-
"./react/hooks/use-visibility-state": {
|
|
393
|
-
"import": "./react/hooks/use-visibility-state.js",
|
|
394
|
-
"default": "./react/hooks/use-visibility-state.js",
|
|
395
|
-
"types": "./react/hooks/use-visibility-state.d.ts"
|
|
396
|
-
},
|
|
397
|
-
"./react": {
|
|
398
|
-
"import": "./react/index.js",
|
|
399
|
-
"default": "./react/index.js",
|
|
400
|
-
"types": "./react/index.d.ts"
|
|
190
|
+
"require": "./random.cjs"
|
|
401
191
|
},
|
|
402
192
|
"./sound": {
|
|
193
|
+
"types": "./sound.d.cts",
|
|
403
194
|
"import": "./sound.js",
|
|
404
|
-
"
|
|
405
|
-
"types": "./sound.d.ts"
|
|
195
|
+
"require": "./sound.cjs"
|
|
406
196
|
},
|
|
407
197
|
"./storage": {
|
|
198
|
+
"types": "./storage.d.cts",
|
|
408
199
|
"import": "./storage.js",
|
|
409
|
-
"
|
|
410
|
-
"types": "./storage.d.ts"
|
|
411
|
-
},
|
|
412
|
-
"./text.test": {
|
|
413
|
-
"import": "./text.test.js",
|
|
414
|
-
"default": "./text.test.js",
|
|
415
|
-
"types": "./text.test.d.ts"
|
|
200
|
+
"require": "./storage.cjs"
|
|
416
201
|
},
|
|
417
202
|
"./text": {
|
|
203
|
+
"types": "./text.d.cts",
|
|
418
204
|
"import": "./text.js",
|
|
419
|
-
"
|
|
420
|
-
"types": "./text.d.ts"
|
|
421
|
-
},
|
|
422
|
-
"./type-guard/_exports": {
|
|
423
|
-
"import": "./type-guard/_exports.js",
|
|
424
|
-
"default": "./type-guard/_exports.js",
|
|
425
|
-
"types": "./type-guard/_exports.d.ts"
|
|
426
|
-
},
|
|
427
|
-
"./type-guard/index.test": {
|
|
428
|
-
"import": "./type-guard/index.test.js",
|
|
429
|
-
"default": "./type-guard/index.test.js",
|
|
430
|
-
"types": "./type-guard/index.test.d.ts"
|
|
431
|
-
},
|
|
432
|
-
"./type-guard": {
|
|
433
|
-
"import": "./type-guard/index.js",
|
|
434
|
-
"default": "./type-guard/index.js",
|
|
435
|
-
"types": "./type-guard/index.d.ts"
|
|
436
|
-
},
|
|
437
|
-
"./utils/types": {
|
|
438
|
-
"import": "./utils/types.js",
|
|
439
|
-
"default": "./utils/types.js",
|
|
440
|
-
"types": "./utils/types.d.ts"
|
|
205
|
+
"require": "./text.cjs"
|
|
441
206
|
},
|
|
442
207
|
"./vibrate": {
|
|
208
|
+
"types": "./vibrate.d.cts",
|
|
443
209
|
"import": "./vibrate.js",
|
|
444
|
-
"
|
|
445
|
-
"types": "./vibrate.d.ts"
|
|
210
|
+
"require": "./vibrate.cjs"
|
|
446
211
|
},
|
|
447
|
-
"./
|
|
212
|
+
"./utility-types": "./utility-types.d.ts"
|
|
448
213
|
},
|
|
449
|
-
"files": [
|
|
450
|
-
"*"
|
|
451
|
-
],
|
|
452
214
|
"scripts": {
|
|
453
215
|
"clean": "rm -rf dist",
|
|
454
216
|
"lint:check": "pnpm exec biome check --write --no-errors-on-unmatched --files-ignore-unknown=true",
|
|
@@ -456,8 +218,8 @@
|
|
|
456
218
|
"check": "npm run lint:check && npm run ts:check",
|
|
457
219
|
"prebuild": "npm run clean && npm run check",
|
|
458
220
|
"build:watch": "pnpm build && nodemon --watch src --ext ts --exec \"pnpm build\"",
|
|
459
|
-
"build": "
|
|
460
|
-
"pub": "
|
|
221
|
+
"build": "zshy && sborshik fill-dist && tsx scripts/generate-utility-types-file",
|
|
222
|
+
"pub": "pnpm build && sborshik publish --openDistDir",
|
|
461
223
|
"pub:patch": "PUBLISH_VERSION=patch pnpm pub",
|
|
462
224
|
"pub:minor": "PUBLISH_VERSION=minor pnpm pub",
|
|
463
225
|
"pub:major": "PUBLISH_VERSION=major pnpm pub",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./number.cjs"), exports);
|
|
18
|
+
__exportStar(require("./percent.cjs"), exports);
|
|
19
|
+
__exportStar(require("./string.cjs"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_exports.d.ts","sourceRoot":"","sources":["../../src/parser/_exports.ts"],"names":[],"mappings":"AAAA,6BAA4B;AAC5B,8BAA6B;AAC7B,6BAA4B"}
|
package/parser/_exports.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from "./number.js";
|
|
2
|
+
export * from "./percent.js";
|
|
3
|
+
export * from "./string.js";
|
|
4
4
|
//# sourceMappingURL=_exports.d.ts.map
|
package/parser/_exports.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_exports.d.ts","sourceRoot":"","sources":["../../src/parser/_exports.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"_exports.d.ts","sourceRoot":"","sources":["../../src/parser/_exports.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,6BAA6B;AAC7B,4BAA4B"}
|
package/parser/_exports.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from "./number.js";
|
|
2
|
+
export * from "./percent.js";
|
|
3
|
+
export * from "./string.js";
|
package/parser/index.cjs
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.parser = void 0;
|
|
37
|
+
// This way is more treeshakable than collecting
|
|
38
|
+
// it into one exportable object export const parser
|
|
39
|
+
const parser = __importStar(require("./_exports.cjs"));
|
|
40
|
+
exports.parser = parser;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parser/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,uBAAsB;AAExC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/parser/index.d.ts
CHANGED
package/parser/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parser/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/parser/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,sBAAsB;AAExC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
package/parser/index.js
CHANGED