@next-core/brick-kit 2.154.17 → 2.154.18
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.bundle.js
CHANGED
|
@@ -2579,7 +2579,12 @@
|
|
|
2579
2579
|
return getDynamicReadOnlyProxy({
|
|
2580
2580
|
get(target, key) {
|
|
2581
2581
|
var pkg = customProcessorRegistry.get(key);
|
|
2582
|
-
|
|
2582
|
+
|
|
2583
|
+
if (!pkg) {
|
|
2584
|
+
throw new Error("'PROCESSORS.".concat(key, "' is not registered! Have you installed the relevant brick package of '").concat(key.replace(/[A-Z]/g, m => "-".concat(m.toLowerCase())), "-NB'?"));
|
|
2585
|
+
}
|
|
2586
|
+
|
|
2587
|
+
return getDynamicReadOnlyProxy({
|
|
2583
2588
|
get(t, k) {
|
|
2584
2589
|
return pkg.get(k);
|
|
2585
2590
|
},
|
|
@@ -2588,7 +2593,7 @@
|
|
|
2588
2593
|
return Array.from(pkg.keys());
|
|
2589
2594
|
}
|
|
2590
2595
|
|
|
2591
|
-
})
|
|
2596
|
+
});
|
|
2592
2597
|
},
|
|
2593
2598
|
|
|
2594
2599
|
ownKeys() {
|