@saasquatch/squatch-js 2.8.3-1 → 2.8.3-3
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/squatch.cjs.js +2373 -163
- package/dist/squatch.cjs.js.map +1 -1
- package/dist/squatch.esm.js +2146 -1383
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +2379 -165
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +5 -4
- package/dist/types.d.ts +1 -134
- package/dist/widgets/PopupWidget.d.ts +2 -3
- package/dist/widgets/SkeletonTemplate.d.ts +3 -1
- package/dist/widgets/Widget.d.ts +1 -12
- package/dist/widgets/declarative/DeclarativeWidget.d.ts +0 -3
- package/dist/widgets/declarative/DeclarativeWidgets.d.ts +6 -0
- package/package.json +1 -1
- package/coverage/clover.xml +0 -981
- package/coverage/coverage-final.json +0 -24
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/coverage/lcov.info +0 -1804
- package/dist/utils/logger.d.ts +0 -23
package/dist/utils/logger.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Lightweight logger with namespace filtering, replacing the `debug` npm package.
|
|
3
|
-
*
|
|
4
|
-
* Supports glob-style enable patterns (e.g. "squatch-js*" enables all namespaces
|
|
5
|
-
* starting with "squatch-js"). When disabled, logger calls are effectively no-ops.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Enable logging for namespaces matching a glob pattern.
|
|
9
|
-
* Supports `*` as a wildcard (e.g. "squatch-js*" or "squatch-js:widget").
|
|
10
|
-
*/
|
|
11
|
-
export declare function enableDebug(pattern: string): void;
|
|
12
|
-
/**
|
|
13
|
-
* Disable all logging.
|
|
14
|
-
*/
|
|
15
|
-
export declare function disableDebug(): void;
|
|
16
|
-
/**
|
|
17
|
-
* Create a namespaced logger function.
|
|
18
|
-
* Returns a function that logs to console when the namespace is enabled.
|
|
19
|
-
* The returned function also has an `enabled` property for checking status.
|
|
20
|
-
*/
|
|
21
|
-
export declare function debug(namespace: string): ((...args: any[]) => void) & {
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
};
|