@panneau/core 3.0.164 → 3.0.169

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.
Files changed (2) hide show
  1. package/lib/contexts.js +5 -3
  2. package/package.json +3 -3
package/lib/contexts.js CHANGED
@@ -1118,11 +1118,13 @@ var ResourceProvider = function ResourceProvider(_ref) {
1118
1118
  ResourceProvider.propTypes = propTypes$2;
1119
1119
  ResourceProvider.defaultProps = defaultProps$2;
1120
1120
 
1121
- // React.useInsertionEffect is not available in React <18
1122
1121
  var useEffect = React__namespace.useEffect,
1123
1122
  useLayoutEffect = React__namespace.useLayoutEffect,
1124
- useRef = React__namespace.useRef,
1125
- useBuiltinInsertionEffect = React__namespace.useInsertionEffect;
1123
+ useRef = React__namespace.useRef;
1124
+
1125
+ // React.useInsertionEffect is not available in React <18
1126
+ // This hack fixes a transpilation issue on some apps
1127
+ var useBuiltinInsertionEffect = React__namespace['useInsertion' + 'Effect'];
1126
1128
 
1127
1129
  // Copied from:
1128
1130
  // https://github.com/facebook/react/blob/main/packages/shared/ExecutionEnvironment.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/core",
3
- "version": "3.0.164",
3
+ "version": "3.0.169",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -106,10 +106,10 @@
106
106
  "tinycolor2": "^1.4.2",
107
107
  "webfontloader": "^1.6.28",
108
108
  "wolfy87-eventemitter": "^5.2.9",
109
- "wouter": "^3.1.0"
109
+ "wouter": "^3.1.2"
110
110
  },
111
111
  "publishConfig": {
112
112
  "access": "public"
113
113
  },
114
- "gitHead": "7a1511eb7b08a09cfcf708d1ca314a12155e9bd8"
114
+ "gitHead": "a8f4fe4f0b0593485d40e97542c32742242919d4"
115
115
  }