@schukai/monster 3.16.0 → 3.17.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/constants.mjs +1 -1
- package/source/constraints/abstract.mjs +1 -1
- package/source/constraints/abstractoperator.mjs +1 -1
- package/source/constraints/andoperator.mjs +1 -1
- package/source/constraints/invalid.mjs +1 -1
- package/source/constraints/isarray.mjs +1 -1
- package/source/constraints/isobject.mjs +1 -1
- package/source/constraints/namespace.mjs +1 -1
- package/source/constraints/oroperator.mjs +1 -1
- package/source/constraints/valid.mjs +1 -1
- package/source/data/buildmap.mjs +1 -1
- package/source/data/buildtree.mjs +1 -1
- package/source/data/datasource/dom.mjs +1 -1
- package/source/data/datasource/namespace.mjs +1 -1
- package/source/data/datasource/server/namespace.mjs +1 -1
- package/source/data/datasource/server/restapi/namespace.mjs +1 -1
- package/source/data/datasource/server/restapi/writeerror.mjs +1 -1
- package/source/data/datasource/server/restapi.mjs +1 -1
- package/source/data/datasource/server/webconnect.mjs +1 -1
- package/source/data/datasource/server.mjs +1 -1
- package/source/data/datasource/storage/localstorage.mjs +1 -1
- package/source/data/datasource/storage/namespace.mjs +1 -1
- package/source/data/datasource/storage/sessionstorage.mjs +1 -1
- package/source/data/datasource/storage.mjs +1 -1
- package/source/data/datasource.mjs +1 -1
- package/source/data/diff.mjs +1 -1
- package/source/data/extend.mjs +1 -1
- package/source/data/namespace.mjs +1 -1
- package/source/data/pathfinder.mjs +1 -1
- package/source/data/pipe.mjs +1 -1
- package/source/data/transformer.mjs +42 -5
- package/source/dom/assembler.mjs +1 -1
- package/source/dom/attributes.mjs +1 -1
- package/source/dom/constants.mjs +1 -1
- package/source/dom/customcontrol.mjs +1 -1
- package/source/dom/customelement.mjs +1 -1
- package/source/dom/events.mjs +1 -1
- package/source/dom/focusmanager.mjs +1 -1
- package/source/dom/locale.mjs +1 -1
- package/source/dom/namespace.mjs +1 -1
- package/source/dom/ready.mjs +1 -1
- package/source/dom/resource/data.mjs +1 -1
- package/source/dom/resource/link/namespace.mjs +1 -1
- package/source/dom/resource/link/stylesheet.mjs +1 -1
- package/source/dom/resource/link.mjs +1 -1
- package/source/dom/resource/namespace.mjs +1 -1
- package/source/dom/resource/script.mjs +1 -1
- package/source/dom/resource.mjs +1 -1
- package/source/dom/resourcemanager.mjs +1 -1
- package/source/dom/template.mjs +1 -1
- package/source/dom/theme.mjs +1 -1
- package/source/dom/updater.mjs +1 -1
- package/source/dom/util.mjs +1 -1
- package/source/dom/worker/factory.mjs +1 -1
- package/source/dom/worker/namespace.mjs +1 -1
- package/source/i18n/formatter.mjs +1 -1
- package/source/i18n/locale.mjs +1 -1
- package/source/i18n/namespace.mjs +1 -1
- package/source/i18n/provider.mjs +1 -1
- package/source/i18n/providers/embed.mjs +2 -4
- package/source/i18n/providers/fetch.mjs +1 -1
- package/source/i18n/providers/namespace.mjs +1 -1
- package/source/i18n/translations.mjs +1 -1
- package/source/logging/handler/console.mjs +1 -1
- package/source/logging/handler/namespace.mjs +1 -1
- package/source/logging/handler.mjs +1 -1
- package/source/logging/logentry.mjs +1 -1
- package/source/logging/logger.mjs +1 -1
- package/source/logging/namespace.mjs +1 -1
- package/source/math/namespace.mjs +1 -1
- package/source/math/random.mjs +1 -1
- package/source/monster.mjs +1 -1
- package/source/net/namespace.mjs +1 -1
- package/source/net/webconnect/message.mjs +1 -1
- package/source/net/webconnect/namespace.mjs +1 -1
- package/source/net/webconnect.mjs +1 -1
- package/source/text/formatter.mjs +1 -1
- package/source/text/namespace.mjs +1 -1
- package/source/types/base.mjs +1 -1
- package/source/types/basewithoptions.mjs +1 -1
- package/source/types/binary.mjs +1 -1
- package/source/types/dataurl.mjs +1 -1
- package/source/types/global.mjs +1 -1
- package/source/types/id.mjs +1 -1
- package/source/types/internal.mjs +1 -1
- package/source/types/is.mjs +1 -1
- package/source/types/mediatype.mjs +1 -1
- package/source/types/namespace.mjs +1 -1
- package/source/types/node.mjs +1 -1
- package/source/types/nodelist.mjs +1 -1
- package/source/types/noderecursiveiterator.mjs +1 -1
- package/source/types/observablequeue.mjs +1 -1
- package/source/types/observer.mjs +1 -1
- package/source/types/observerlist.mjs +1 -1
- package/source/types/proxyobserver.mjs +1 -1
- package/source/types/queue.mjs +1 -1
- package/source/types/randomid.mjs +1 -1
- package/source/types/regex.mjs +1 -1
- package/source/types/stack.mjs +1 -1
- package/source/types/tokenlist.mjs +1 -1
- package/source/types/typeof.mjs +1 -1
- package/source/types/uniquequeue.mjs +1 -1
- package/source/types/uuid.mjs +1 -1
- package/source/types/validate.mjs +1 -1
- package/source/types/version.mjs +2 -2
- package/source/util/clone.mjs +1 -1
- package/source/util/comparator.mjs +1 -1
- package/source/util/deadmansswitch.mjs +1 -1
- package/source/util/freeze.mjs +1 -1
- package/source/util/namespace.mjs +1 -1
- package/source/util/processing.mjs +1 -1
- package/source/util/trimspaces.mjs +1 -1
- package/test/cases/data/pipe.mjs +65 -5
- package/test/cases/data/transformer.mjs +22 -0
- package/test/cases/monster.mjs +1 -1
package/package.json
CHANGED
package/source/constants.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/data/buildmap.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/data/diff.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/data/extend.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/data/pipe.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
validateObject,
|
|
18
18
|
validatePrimitive,
|
|
19
19
|
validateString,
|
|
20
|
+
validateBoolean,
|
|
20
21
|
} from "../types/validate.mjs";
|
|
21
22
|
import {clone} from "../util/clone.mjs";
|
|
22
23
|
import {Pathfinder} from "./pathfinder.mjs";
|
|
@@ -186,6 +187,42 @@ function transform(value) {
|
|
|
186
187
|
validateString(value);
|
|
187
188
|
return value.toLowerCase();
|
|
188
189
|
|
|
190
|
+
case "isundefined":
|
|
191
|
+
case "is-undefined":
|
|
192
|
+
return value === undefined;
|
|
193
|
+
|
|
194
|
+
case "isnull":
|
|
195
|
+
case "is-null":
|
|
196
|
+
return value === null;
|
|
197
|
+
|
|
198
|
+
case "isset":
|
|
199
|
+
case "is-set":
|
|
200
|
+
return value !== undefined && value !== null;
|
|
201
|
+
|
|
202
|
+
case "isnumber":
|
|
203
|
+
case "is-number":
|
|
204
|
+
return isPrimitive(value) && !isNaN(value);
|
|
205
|
+
|
|
206
|
+
case "isinteger":
|
|
207
|
+
case "is-integer":
|
|
208
|
+
return isPrimitive(value) && !isNaN(value) && value % 1 === 0;
|
|
209
|
+
|
|
210
|
+
case "isfloat":
|
|
211
|
+
case "is-float":
|
|
212
|
+
return isPrimitive(value) && !isNaN(value) && value % 1 !== 0;
|
|
213
|
+
|
|
214
|
+
case "isobject":
|
|
215
|
+
case "is-object":
|
|
216
|
+
return isObject(value);
|
|
217
|
+
|
|
218
|
+
case "isarray":
|
|
219
|
+
case "is-array":
|
|
220
|
+
return Array.isArray(value);
|
|
221
|
+
|
|
222
|
+
case "not":
|
|
223
|
+
validateBoolean(value);
|
|
224
|
+
return !value;
|
|
225
|
+
|
|
189
226
|
case "toupper":
|
|
190
227
|
case "strtoupper":
|
|
191
228
|
case "touppercase":
|
|
@@ -497,7 +534,7 @@ function transform(value) {
|
|
|
497
534
|
|
|
498
535
|
throw new Error("type not supported");
|
|
499
536
|
|
|
500
|
-
|
|
537
|
+
|
|
501
538
|
case "map":
|
|
502
539
|
map = new Map();
|
|
503
540
|
while (args.length > 0) {
|
|
@@ -505,13 +542,13 @@ function transform(value) {
|
|
|
505
542
|
if (keyValue === undefined) {
|
|
506
543
|
throw new Error("missing key parameter");
|
|
507
544
|
}
|
|
508
|
-
|
|
545
|
+
|
|
509
546
|
keyValue = keyValue.split("=");
|
|
510
547
|
map.set(keyValue[0], keyValue[1]);
|
|
511
548
|
}
|
|
512
|
-
|
|
549
|
+
|
|
513
550
|
return map.get(value);
|
|
514
|
-
|
|
551
|
+
|
|
515
552
|
case "timestamp":
|
|
516
553
|
date = new Date(value);
|
|
517
554
|
timestamp = date.getTime();
|
package/source/dom/assembler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/constants.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/events.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/locale.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/namespace.mjs
CHANGED
package/source/dom/ready.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/resource.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/template.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/theme.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/updater.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/dom/util.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/i18n/locale.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
package/source/i18n/provider.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -109,7 +109,7 @@ class Embed extends Provider {
|
|
|
109
109
|
|
|
110
110
|
let translations = null;
|
|
111
111
|
try {
|
|
112
|
-
translations = JSON.parse(this.translateElement.innerHTML);
|
|
112
|
+
translations = JSON.parse(this.translateElement.innerHTML.trim());
|
|
113
113
|
} catch (e) {
|
|
114
114
|
reject(e);
|
|
115
115
|
return;
|
|
@@ -150,8 +150,6 @@ class Embed extends Provider {
|
|
|
150
150
|
|
|
151
151
|
const promises = [];
|
|
152
152
|
|
|
153
|
-
let result
|
|
154
|
-
|
|
155
153
|
list.forEach((translationElement) => {
|
|
156
154
|
const p = new Embed(translationElement);
|
|
157
155
|
promises.push(p.assignToElement(undefined, element));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright schukai GmbH and contributors
|
|
2
|
+
* Copyright schukai GmbH and contributors 2023. All Rights Reserved.
|
|
3
3
|
* Node module: @schukai/monster
|
|
4
4
|
* This file is licensed under the AGPLv3 License.
|
|
5
5
|
* License text available at https://www.gnu.org/licenses/agpl-3.0.en.html
|