@schukai/monster 4.135.0 → 4.136.0
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/package.json +1 -1
- package/source/data/datasource/server/restapi.mjs +3 -0
- package/source/data/datasource/server/webconnect.mjs +3 -0
- package/source/data/datasource/server.mjs +3 -0
- package/source/data/datasource/storage.mjs +3 -0
- package/source/i18n/formatter.mjs +3 -0
- package/source/i18n/provider.mjs +3 -0
- package/source/logging/handler.mjs +3 -0
- package/source/logging/logger.mjs +3 -0
- package/source/net/webconnect/message.mjs +3 -0
- package/source/net/webconnect.mjs +3 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.
|
|
1
|
+
{"author":"Volker Schukai","dependencies":{"@floating-ui/dom":"^1.7.6"},"description":"Monster is a simple library for creating fast, robust and lightweight websites.","homepage":"https://monsterjs.org/","keywords":["framework","web","dom","css","sass","mobile-first","app","front-end","templates","schukai","core","shopcloud","alvine","monster","buildmap","stack","observer","observable","uuid","node","nodelist","css-in-js","logger","log","theme"],"license":"AGPL 3.0","main":"source/monster.mjs","module":"source/monster.mjs","name":"@schukai/monster","repository":{"type":"git","url":"https://gitlab.schukai.com/oss/libraries/javascript/monster.git"},"type":"module","version":"4.136.0"}
|
|
@@ -39,6 +39,9 @@ const rawDataSymbol = Symbol.for(
|
|
|
39
39
|
*
|
|
40
40
|
* @externalExample ../../../../example/data/datasource/server/restapi.mjs
|
|
41
41
|
* @example /examples/libraries/data/datasource/server/restapi/simple/ Configure read and write endpoints
|
|
42
|
+
* @example /examples/libraries/data/datasource/server/restapi/response-callback/ Replace the default read callback with a custom assignment flow
|
|
43
|
+
* @example /examples/libraries/data/datasource/server/restapi/partial-write/ Patch only changed fields before sending a write request
|
|
44
|
+
* @example /examples/libraries/data/datasource/server/restapi/report-path/ Read validation reports from a nested response path
|
|
42
45
|
* @license AGPLv3
|
|
43
46
|
* @since 1.22.0
|
|
44
47
|
* @copyright Volker Schukai
|
|
@@ -35,6 +35,9 @@ const webConnectSymbol = Symbol("connection");
|
|
|
35
35
|
*
|
|
36
36
|
* @externalExample ../../../../example/data/datasource/server/webconnect.mjs
|
|
37
37
|
* @example /examples/libraries/data/datasource/server/webconnect/simple/ Configure a realtime datasource bridge
|
|
38
|
+
* @example /examples/libraries/data/datasource/server/webconnect/message-queue/ Read queued realtime messages through the datasource API
|
|
39
|
+
* @example /examples/libraries/data/datasource/server/webconnect/transformed-read/ Apply read mapping to incoming socket payloads
|
|
40
|
+
* @example /examples/libraries/data/datasource/server/webconnect/write-envelope/ Prepare outgoing socket writes with sheathing options
|
|
38
41
|
* @license AGPLv3
|
|
39
42
|
* @since 3.1.0
|
|
40
43
|
* @copyright Volker Schukai
|
|
@@ -33,6 +33,9 @@ const serverVersionSymbol = Symbol("serverVersion");
|
|
|
33
33
|
* @fragments /fragments/libraries/data/datasource/server/
|
|
34
34
|
*
|
|
35
35
|
* @example /examples/libraries/data/datasource/server/simple/ Transform and prepare server payloads
|
|
36
|
+
* @example /examples/libraries/data/datasource/server/transformer-callbacks/ Combine transformer expressions with mapping callbacks
|
|
37
|
+
* @example /examples/libraries/data/datasource/server/partial-diff/ Reduce write payloads through the partial diff callback
|
|
38
|
+
* @example /examples/libraries/data/datasource/server/sheathing-object/ Wrap outgoing payloads into a server-side envelope
|
|
36
39
|
* @license AGPLv3
|
|
37
40
|
* @since 3.4.0
|
|
38
41
|
* @copyright Volker Schukai
|
|
@@ -32,6 +32,9 @@ const storageObjectSymbol = Symbol.for(
|
|
|
32
32
|
* @fragments /fragments/libraries/data/datasource/storage/
|
|
33
33
|
*
|
|
34
34
|
* @example /examples/libraries/data/datasource/storage/simple/ Read and write JSON through Web Storage
|
|
35
|
+
* @example /examples/libraries/data/datasource/storage/session-draft/ Persist draft state in session storage
|
|
36
|
+
* @example /examples/libraries/data/datasource/storage/local-preferences/ Persist user preferences in local storage
|
|
37
|
+
* @example /examples/libraries/data/datasource/storage/remove-on-undefined/ Remove the storage entry when the datasource becomes undefined
|
|
35
38
|
* @license AGPLv3
|
|
36
39
|
* @since 1.22.0
|
|
37
40
|
* @copyright Volker Schukai
|
|
@@ -31,6 +31,9 @@ const internalTranslationSymbol = Symbol("internalTranslation");
|
|
|
31
31
|
* The Formatter extends the Text.Formatter with the possibility to replace the key by a translation.
|
|
32
32
|
*
|
|
33
33
|
* @fragments /fragments/libraries/i18n/formatter/
|
|
34
|
+
* @example /examples/libraries/i18n/formatter/basic-translation/ Resolve one translation key through the i18n marker
|
|
35
|
+
* @example /examples/libraries/i18n/formatter/parameterized-text/ Combine translated text with formatter parameters
|
|
36
|
+
* @example /examples/libraries/i18n/formatter/custom-markers/ Configure custom formatter markers for translated strings
|
|
34
37
|
*
|
|
35
38
|
* @license AGPLv3
|
|
36
39
|
* @since 1.26.0
|
package/source/i18n/provider.mjs
CHANGED
|
@@ -41,6 +41,9 @@ const translationsLinkSymbol = Symbol.for(
|
|
|
41
41
|
* @fragments /fragments/libraries/i18n/provider/
|
|
42
42
|
*
|
|
43
43
|
* @example /examples/libraries/i18n/provider/simple/ Assign translations to a document
|
|
44
|
+
* @example /examples/libraries/i18n/provider/merge-existing/ Merge a second translation payload into an already linked element
|
|
45
|
+
* @example /examples/libraries/i18n/provider/subtree-assignment/ Attach translations to a dedicated subtree instead of the whole document
|
|
46
|
+
* @example /examples/libraries/i18n/provider/locale-switch/ Resolve different translation objects for different locales
|
|
44
47
|
* @license AGPLv3
|
|
45
48
|
* @since 1.13.0
|
|
46
49
|
* @copyright Volker Schukai
|
|
@@ -25,6 +25,9 @@ export { Handler };
|
|
|
25
25
|
* @fragments /fragments/libraries/logging/handler/
|
|
26
26
|
*
|
|
27
27
|
* @example /examples/libraries/logging/handler/simple/ Filter log entries before forwarding them
|
|
28
|
+
* @example /examples/libraries/logging/handler/level-switch/ Switch handler thresholds with the convenience methods
|
|
29
|
+
* @example /examples/libraries/logging/handler/structured-output/ Forward structured log entry data into a custom buffer
|
|
30
|
+
* @example /examples/libraries/logging/handler/off-state/ Disable a handler completely with the off level
|
|
28
31
|
* @license AGPLv3
|
|
29
32
|
* @since 1.5.0
|
|
30
33
|
* @copyright Volker Schukai
|
|
@@ -71,6 +71,9 @@ const OFF = 0;
|
|
|
71
71
|
* @fragments /fragments/libraries/logging/logger/
|
|
72
72
|
*
|
|
73
73
|
* @example /examples/libraries/logging/logger/simple/ Write entries through a console handler
|
|
74
|
+
* @example /examples/libraries/logging/logger/multiple-handlers/ Route the same log entry through multiple handlers
|
|
75
|
+
* @example /examples/libraries/logging/logger/level-filtering/ Filter log output through handler log levels
|
|
76
|
+
* @example /examples/libraries/logging/logger/remove-handler/ Remove a handler and verify that it no longer receives entries
|
|
74
77
|
* @license AGPLv3
|
|
75
78
|
* @since 1.5.0
|
|
76
79
|
* @copyright Volker Schukai
|
|
@@ -25,6 +25,9 @@ const dataSymbol = Symbol("@@data");
|
|
|
25
25
|
* @fragments /fragments/libraries/net/webconnect/message/
|
|
26
26
|
*
|
|
27
27
|
* @example /examples/libraries/net/webconnect/message/simple/ Serialize and restore a structured message
|
|
28
|
+
* @example /examples/libraries/net/webconnect/message/nested-payload/ Keep nested payload data intact through serialization
|
|
29
|
+
* @example /examples/libraries/net/webconnect/message/queue-ready-shape/ Use a message shape that is ready for queue inspection and logging
|
|
30
|
+
* @example /examples/libraries/net/webconnect/message/object-access/ Access raw message data through getData and toJSON
|
|
28
31
|
* @license AGPLv3
|
|
29
32
|
* @since 3.4.0
|
|
30
33
|
* @copyright Volker Schukai
|
|
@@ -213,6 +213,9 @@ function connectServer(resolve, reject) {
|
|
|
213
213
|
*
|
|
214
214
|
* @externalExample ../../example/net/webconnect.mjs
|
|
215
215
|
* @example /examples/libraries/net/webconnect/simple/ Connect and consume structured messages
|
|
216
|
+
* @example /examples/libraries/net/webconnect/send-and-close/ Send structured messages and close the connection manually
|
|
217
|
+
* @example /examples/libraries/net/webconnect/observer-queue/ Observe incoming queue updates through the receive queue observer API
|
|
218
|
+
* @example /examples/libraries/net/webconnect/reconnect-options/ Configure reconnect and timeout options for resilient connections
|
|
216
219
|
* @license AGPLv3
|
|
217
220
|
* @since 3.1.0
|
|
218
221
|
* @copyright Volker Schukai
|