@movable/studio-framework 2.40.0-redondo-beach.5 → 2.41.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/dist/index.es.js +7 -3
- package/dist/index.js +7 -3
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -7511,12 +7511,12 @@ var isDocumentEligibleForStaticHandling = function isDocumentEligibleForStaticHa
|
|
|
7511
7511
|
var hasTagContainingPristinePicJs = from_1(scriptTags).some(isPristinePicJsTag);
|
|
7512
7512
|
|
|
7513
7513
|
if (!hasTagContainingPristinePicJs) {
|
|
7514
|
-
console.log('static
|
|
7514
|
+
console.log('static status is false - user-altered js detected');
|
|
7515
7515
|
return false;
|
|
7516
7516
|
}
|
|
7517
7517
|
|
|
7518
7518
|
if (scriptTags.length > COUNT_OF_SCRIPT_TAGS_COMPILED_BY_STUDIO) {
|
|
7519
|
-
console.log('static
|
|
7519
|
+
console.log('static status is false - user-added script tags detected');
|
|
7520
7520
|
return false;
|
|
7521
7521
|
}
|
|
7522
7522
|
|
|
@@ -8484,7 +8484,11 @@ var StudioFramework = /*#__PURE__*/function () {
|
|
|
8484
8484
|
}
|
|
8485
8485
|
|
|
8486
8486
|
if (this.shouldPerformStaticCheck) {
|
|
8487
|
-
if (window.RENDERED_STATICALLY = isDocumentEligibleForStaticHandling(targetElement))
|
|
8487
|
+
if (window.RENDERED_STATICALLY = isDocumentEligibleForStaticHandling(targetElement)) {
|
|
8488
|
+
console.log('static status is true - static check has finished');
|
|
8489
|
+
} else {
|
|
8490
|
+
console.log('static status is false - static check has finished');
|
|
8491
|
+
}
|
|
8488
8492
|
}
|
|
8489
8493
|
|
|
8490
8494
|
if (format === 'html') {
|
package/dist/index.js
CHANGED
|
@@ -7521,12 +7521,12 @@ var isDocumentEligibleForStaticHandling = function isDocumentEligibleForStaticHa
|
|
|
7521
7521
|
var hasTagContainingPristinePicJs = from_1(scriptTags).some(isPristinePicJsTag);
|
|
7522
7522
|
|
|
7523
7523
|
if (!hasTagContainingPristinePicJs) {
|
|
7524
|
-
console.log('static
|
|
7524
|
+
console.log('static status is false - user-altered js detected');
|
|
7525
7525
|
return false;
|
|
7526
7526
|
}
|
|
7527
7527
|
|
|
7528
7528
|
if (scriptTags.length > COUNT_OF_SCRIPT_TAGS_COMPILED_BY_STUDIO) {
|
|
7529
|
-
console.log('static
|
|
7529
|
+
console.log('static status is false - user-added script tags detected');
|
|
7530
7530
|
return false;
|
|
7531
7531
|
}
|
|
7532
7532
|
|
|
@@ -8494,7 +8494,11 @@ var StudioFramework = /*#__PURE__*/function () {
|
|
|
8494
8494
|
}
|
|
8495
8495
|
|
|
8496
8496
|
if (this.shouldPerformStaticCheck) {
|
|
8497
|
-
if (window.RENDERED_STATICALLY = isDocumentEligibleForStaticHandling(targetElement))
|
|
8497
|
+
if (window.RENDERED_STATICALLY = isDocumentEligibleForStaticHandling(targetElement)) {
|
|
8498
|
+
console.log('static status is true - static check has finished');
|
|
8499
|
+
} else {
|
|
8500
|
+
console.log('static status is false - static check has finished');
|
|
8501
|
+
}
|
|
8498
8502
|
}
|
|
8499
8503
|
|
|
8500
8504
|
if (format === 'html') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movable/studio-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.41.0",
|
|
4
4
|
"description": "A Component library for reactive Studio apps.",
|
|
5
5
|
"author": "Movable Ink",
|
|
6
6
|
"repository": "movableink/studio-framework",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@babel/preset-react": "^7.14.5",
|
|
36
36
|
"@babel/preset-typescript": "^7.13.0",
|
|
37
37
|
"@movable/eslint-config-react": "^1.0.1",
|
|
38
|
-
"@movable/framework-types": "^2.
|
|
39
|
-
"@movable/studio-framework-test-helpers": "^2.
|
|
38
|
+
"@movable/framework-types": "^2.41.0",
|
|
39
|
+
"@movable/studio-framework-test-helpers": "^2.41.0",
|
|
40
40
|
"@types/qunit": "^2.11.1",
|
|
41
41
|
"@types/qunit-dom": "^0.7.0",
|
|
42
42
|
"@types/react": "^17.0.6",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"volta": {
|
|
69
69
|
"extends": "../../package.json"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "425fbdbeabf68ade20ad3def2df9943761b339eb"
|
|
72
72
|
}
|