@movable/studio-framework 2.40.0-redondo-beach.3 → 2.40.0-redondo-beach.4

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 CHANGED
@@ -7498,7 +7498,7 @@ var stringMatch = function stringMatch(original, comparable, ignoreRegExp) {
7498
7498
  };
7499
7499
 
7500
7500
  var studioOverwritableJs = 'var app = new studio[a-zA-Z0-9]*.A\\(\\);';
7501
- var jsIgnoreRE = new RegExp("\\s|".concat(studioOverwritableJs));
7501
+ var jsIgnoreRE = new RegExp("\\s|".concat(studioOverwritableJs), 'g');
7502
7502
  var jsCompareString = "(function(){app.render(document.getElementById('react-root')).then(function(){window.APP_SUCCESSFULLY_RENDERED=true;});})();";
7503
7503
  var isPristinePicJsTag = function isPristinePicJsTag(scriptTag) {
7504
7504
  var script = scriptTag.innerHTML;
@@ -7512,9 +7512,6 @@ var isDocumentEligibleForStaticHandling = function isDocumentEligibleForStaticHa
7512
7512
 
7513
7513
  if (!hasTagContainingPristinePicJs) {
7514
7514
  console.log('static statis is false - user-altered js detected');
7515
- console.log(from_1(scriptTags).map(function (t) {
7516
- return t.innerHTML;
7517
- }));
7518
7515
  return false;
7519
7516
  }
7520
7517
 
package/dist/index.js CHANGED
@@ -7508,7 +7508,7 @@ var stringMatch = function stringMatch(original, comparable, ignoreRegExp) {
7508
7508
  };
7509
7509
 
7510
7510
  var studioOverwritableJs = 'var app = new studio[a-zA-Z0-9]*.A\\(\\);';
7511
- var jsIgnoreRE = new RegExp("\\s|".concat(studioOverwritableJs));
7511
+ var jsIgnoreRE = new RegExp("\\s|".concat(studioOverwritableJs), 'g');
7512
7512
  var jsCompareString = "(function(){app.render(document.getElementById('react-root')).then(function(){window.APP_SUCCESSFULLY_RENDERED=true;});})();";
7513
7513
  var isPristinePicJsTag = function isPristinePicJsTag(scriptTag) {
7514
7514
  var script = scriptTag.innerHTML;
@@ -7522,9 +7522,6 @@ var isDocumentEligibleForStaticHandling = function isDocumentEligibleForStaticHa
7522
7522
 
7523
7523
  if (!hasTagContainingPristinePicJs) {
7524
7524
  console.log('static statis is false - user-altered js detected');
7525
- console.log(from_1(scriptTags).map(function (t) {
7526
- return t.innerHTML;
7527
- }));
7528
7525
  return false;
7529
7526
  }
7530
7527
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/studio-framework",
3
- "version": "2.40.0-redondo-beach.3",
3
+ "version": "2.40.0-redondo-beach.4",
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.40.0-redondo-beach.3",
39
- "@movable/studio-framework-test-helpers": "^2.40.0-redondo-beach.3",
38
+ "@movable/framework-types": "^2.40.0-redondo-beach.4",
39
+ "@movable/studio-framework-test-helpers": "^2.40.0-redondo-beach.4",
40
40
  "@types/qunit": "^2.11.1",
41
41
  "@types/qunit-dom": "^0.7.0",
42
42
  "@types/react": "^17.0.6",