@ktjs/shared 0.23.0 → 0.23.1

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/index.d.ts CHANGED
@@ -153,5 +153,17 @@ declare const emplaceParams: (path: string, params: Record<string, string>) => s
153
153
  */
154
154
  declare const extractParams: (pattern: string, path: string) => Record<string, string> | null;
155
155
 
156
+ // declare function $throw(message: string): never;
157
+ // declare const $warn: typeof console.warn;
158
+ // declare const $error: typeof console.error;
159
+ // declare const $debug: typeof console.debug;
160
+ declare global {
161
+ const $throw: (message?: string) => never;
162
+ const $warn: typeof console.warn;
163
+ const $log: typeof console.log;
164
+ const $error: typeof console.error;
165
+ const $debug: typeof console.debug;
166
+ }
167
+
156
168
  export { $ArrayFrom, $append, $appendChild, $assign, $buttonDisabledGetter, $buttonDisabledSetter, $define, $defines, $emptyFn, $entries, $hasOwn, $is, $isArray, $isNode, $isSame, $isThenable, $keys, $random, $replaceNode, $toString, DIRV_TYPE, MATHML_ATTR_FLAG, SVG_ATTR_FLAG, applyModel, buildQuery, emplaceParams, extractParams, normalizePath, parseQuery, parseStyle };
157
169
  export type { ChangeHandler, ChangeTriggerField, HTMLTag, InputElementTag, MathMLTag, NoTextNodeTag, NonSpecialTags, SVGTag, otherstring };
@@ -197,7 +197,7 @@ var __ktjs_shared__ = (function (exports) {
197
197
  }
198
198
 
199
199
  // Shared utilities and cached native methods for kt.js framework
200
- Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
200
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.1' });
201
201
 
202
202
  exports.$ArrayFrom = $ArrayFrom;
203
203
  exports.$append = $append;
@@ -208,7 +208,7 @@ var __ktjs_shared__ = (function (exports) {
208
208
  }
209
209
 
210
210
  // Shared utilities and cached native methods for kt.js framework
211
- Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
211
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.1' });
212
212
 
213
213
  exports.$ArrayFrom = $ArrayFrom;
214
214
  exports.$append = $append;
package/dist/index.mjs CHANGED
@@ -194,6 +194,6 @@ if (typeof Symbol === 'undefined') {
194
194
  }
195
195
 
196
196
  // Shared utilities and cached native methods for kt.js framework
197
- Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
197
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.1' });
198
198
 
199
199
  export { $ArrayFrom, $append, $appendChild, $assign, $buttonDisabledGetter, $buttonDisabledSetter, $define, $defines, $emptyFn, $entries, $hasOwn, $is, $isArray, $isNode, $isSame, $isThenable, $keys, $random, $replaceNode, $toString, DIRV_TYPE, MATHML_ATTR_FLAG, SVG_ATTR_FLAG, applyModel, buildQuery, emplaceParams, extractParams, normalizePath, parseQuery, parseStyle };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ktjs/shared",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "Shared utilities and cached native methods for kt.js framework",
5
5
  "type": "module",
6
6
  "module": "./dist/index.mjs",