@micromag/editor 0.3.504 → 0.3.506
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/lib/index.js +5 -3
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -64,11 +64,13 @@ function _interopNamespaceDefault(e) {
|
|
|
64
64
|
|
|
65
65
|
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
66
66
|
|
|
67
|
-
// React.useInsertionEffect is not available in React <18
|
|
68
67
|
var useEffect = React__namespace.useEffect,
|
|
69
68
|
useLayoutEffect = React__namespace.useLayoutEffect,
|
|
70
|
-
useRef = React__namespace.useRef
|
|
71
|
-
|
|
69
|
+
useRef = React__namespace.useRef;
|
|
70
|
+
|
|
71
|
+
// React.useInsertionEffect is not available in React <18
|
|
72
|
+
// This hack fixes a transpilation issue on some apps
|
|
73
|
+
var useBuiltinInsertionEffect = React__namespace['useInsertion' + 'Effect'];
|
|
72
74
|
|
|
73
75
|
// Copied from:
|
|
74
76
|
// https://github.com/facebook/react/blob/main/packages/shared/ExecutionEnvironment.js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/editor",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.506",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
73
73
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
74
74
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
75
|
-
"@micromag/core": "^0.3.
|
|
76
|
-
"@micromag/elements": "^0.3.
|
|
77
|
-
"@micromag/fields": "^0.3.
|
|
78
|
-
"@micromag/screens": "^0.3.
|
|
79
|
-
"@micromag/viewer": "^0.3.
|
|
75
|
+
"@micromag/core": "^0.3.506",
|
|
76
|
+
"@micromag/elements": "^0.3.506",
|
|
77
|
+
"@micromag/fields": "^0.3.506",
|
|
78
|
+
"@micromag/screens": "^0.3.506",
|
|
79
|
+
"@micromag/viewer": "^0.3.506",
|
|
80
80
|
"classnames": "^2.2.6",
|
|
81
81
|
"lodash": "^4.17.21",
|
|
82
82
|
"prop-types": "^15.7.2",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"access": "public",
|
|
92
92
|
"registry": "https://registry.npmjs.org/"
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "b3bc0905b6e926384f26f5807551c772ccc55452"
|
|
95
95
|
}
|