@movable/studio-framework 2.38.3 → 2.39.0-test-rollup-bug
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 +4 -4
- package/dist/index.js +4 -4
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -7411,9 +7411,9 @@ function cleanHTML(element) {
|
|
|
7411
7411
|
newBody.style.cssText = BASE_STYLE;
|
|
7412
7412
|
newBody.appendChild(element);
|
|
7413
7413
|
|
|
7414
|
-
if (analyticsLength >
|
|
7414
|
+
if (analyticsLength > 500) {
|
|
7415
7415
|
analytics.setAttribute('data-mi-data', '{}');
|
|
7416
|
-
console.log('extraData trying to be set exceeds
|
|
7416
|
+
console.log('extraData trying to be set exceeds 500 characters, setting extraData to be empty to avoid breaking crops');
|
|
7417
7417
|
}
|
|
7418
7418
|
|
|
7419
7419
|
if (analytics) {
|
|
@@ -8247,9 +8247,9 @@ var StudioFramework = /*#__PURE__*/function () {
|
|
|
8247
8247
|
if (format === 'html') {
|
|
8248
8248
|
var analyticsLength = analytics ? (analytics.getAttribute('data-mi-data') || '').length : 0;
|
|
8249
8249
|
|
|
8250
|
-
if (analyticsLength >
|
|
8250
|
+
if (analyticsLength > 500) {
|
|
8251
8251
|
analytics.setAttribute('data-mi-data', '{}');
|
|
8252
|
-
console.log('extraData trying to be set exceeds
|
|
8252
|
+
console.log('extraData trying to be set exceeds 500 characters, setting extraData to be empty to avoid breaking crops');
|
|
8253
8253
|
}
|
|
8254
8254
|
} // Force a full overwrite
|
|
8255
8255
|
|
package/dist/index.js
CHANGED
|
@@ -7421,9 +7421,9 @@ function cleanHTML(element) {
|
|
|
7421
7421
|
newBody.style.cssText = BASE_STYLE;
|
|
7422
7422
|
newBody.appendChild(element);
|
|
7423
7423
|
|
|
7424
|
-
if (analyticsLength >
|
|
7424
|
+
if (analyticsLength > 500) {
|
|
7425
7425
|
analytics.setAttribute('data-mi-data', '{}');
|
|
7426
|
-
console.log('extraData trying to be set exceeds
|
|
7426
|
+
console.log('extraData trying to be set exceeds 500 characters, setting extraData to be empty to avoid breaking crops');
|
|
7427
7427
|
}
|
|
7428
7428
|
|
|
7429
7429
|
if (analytics) {
|
|
@@ -8257,9 +8257,9 @@ var StudioFramework = /*#__PURE__*/function () {
|
|
|
8257
8257
|
if (format === 'html') {
|
|
8258
8258
|
var analyticsLength = analytics ? (analytics.getAttribute('data-mi-data') || '').length : 0;
|
|
8259
8259
|
|
|
8260
|
-
if (analyticsLength >
|
|
8260
|
+
if (analyticsLength > 500) {
|
|
8261
8261
|
analytics.setAttribute('data-mi-data', '{}');
|
|
8262
|
-
console.log('extraData trying to be set exceeds
|
|
8262
|
+
console.log('extraData trying to be set exceeds 500 characters, setting extraData to be empty to avoid breaking crops');
|
|
8263
8263
|
}
|
|
8264
8264
|
} // Force a full overwrite
|
|
8265
8265
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movable/studio-framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.39.0-test-rollup-bug",
|
|
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.39.0-test-rollup-bug",
|
|
39
|
+
"@movable/studio-framework-test-helpers": "^2.39.0-test-rollup-bug",
|
|
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": "cbcc8829966e83abbb0314479fb31ca0727a3e26"
|
|
72
72
|
}
|