@arcgis/lumina 4.33.0-next.29 → 4.33.0-next.30
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.
|
@@ -162,7 +162,7 @@ var ProxyComponent = class extends HtmlElement {
|
|
|
162
162
|
if (ProxyClass._LitConstructor) {
|
|
163
163
|
this._initializeComponent({ a: ProxyClass._LitConstructor });
|
|
164
164
|
} else {
|
|
165
|
-
void ProxyClass._loadPromise.then(this._initializeComponent.bind(this)).catch((error) => {
|
|
165
|
+
void (process.env.CDN ? ProxyClass._loadPromise.then(awaitTopLevelPolyfill) : ProxyClass._loadPromise).then(this._initializeComponent.bind(this)).catch((error) => {
|
|
166
166
|
this._postLoaded.reject(error);
|
|
167
167
|
setTimeout(() => {
|
|
168
168
|
throw error;
|
|
@@ -409,6 +409,10 @@ function patchLitElement(parentClass) {
|
|
|
409
409
|
devOnlyDetectIncorrectLazyUsages(parentClass);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
+
var awaitTopLevelPolyfill = async (module) => {
|
|
413
|
+
await module.$$;
|
|
414
|
+
return module;
|
|
415
|
+
};
|
|
412
416
|
|
|
413
417
|
// src/utils.ts
|
|
414
418
|
var noShadowRoot = {};
|
package/dist/hmrSupport.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/lumina",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
],
|
|
21
21
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@arcgis/components-controllers": "4.33.0-next.
|
|
24
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
23
|
+
"@arcgis/components-controllers": "4.33.0-next.30",
|
|
24
|
+
"@arcgis/components-utils": "4.33.0-next.30",
|
|
25
25
|
"@lit-labs/ssr": "^3.2.2",
|
|
26
26
|
"@lit-labs/ssr-client": "^1.1.7",
|
|
27
27
|
"@lit/context": "^1.1.3",
|