react-server-dom-webpack 19.1.0-canary-cbbe8666-20250213 → 19.1.0-canary-e670e72f-20250214

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.
@@ -525,39 +525,39 @@ function getThenableStateAfterSuspending() {
525
525
  return state;
526
526
  }
527
527
  var HooksDispatcher = {
528
- useMemo: function (nextCreate) {
529
- return nextCreate();
530
- },
528
+ readContext: unsupportedContext,
529
+ use: use,
531
530
  useCallback: function (callback) {
532
531
  return callback;
533
532
  },
534
- useDebugValue: function () {},
535
- useDeferredValue: unsupportedHook,
536
- useTransition: unsupportedHook,
537
- readContext: unsupportedContext,
538
533
  useContext: unsupportedContext,
534
+ useEffect: unsupportedHook,
535
+ useImperativeHandle: unsupportedHook,
536
+ useLayoutEffect: unsupportedHook,
537
+ useInsertionEffect: unsupportedHook,
538
+ useMemo: function (nextCreate) {
539
+ return nextCreate();
540
+ },
539
541
  useReducer: unsupportedHook,
540
542
  useRef: unsupportedHook,
541
543
  useState: unsupportedHook,
542
- useInsertionEffect: unsupportedHook,
543
- useLayoutEffect: unsupportedHook,
544
- useImperativeHandle: unsupportedHook,
545
- useEffect: unsupportedHook,
544
+ useDebugValue: function () {},
545
+ useDeferredValue: unsupportedHook,
546
+ useTransition: unsupportedHook,
547
+ useSyncExternalStore: unsupportedHook,
546
548
  useId: useId,
547
549
  useHostTransitionStatus: unsupportedHook,
548
- useOptimistic: unsupportedHook,
549
550
  useFormState: unsupportedHook,
550
551
  useActionState: unsupportedHook,
551
- useSyncExternalStore: unsupportedHook,
552
- useCacheRefresh: function () {
553
- return unsupportedRefresh;
554
- },
552
+ useOptimistic: unsupportedHook,
555
553
  useMemoCache: function (size) {
556
554
  for (var data = Array(size), i = 0; i < size; i++)
557
555
  data[i] = REACT_MEMO_CACHE_SENTINEL;
558
556
  return data;
559
557
  },
560
- use: use
558
+ useCacheRefresh: function () {
559
+ return unsupportedRefresh;
560
+ }
561
561
  };
562
562
  function unsupportedHook() {
563
563
  throw Error("This Hook is not supported in Server Components.");
@@ -2739,12 +2739,12 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap, options) {
2739
2739
  "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."
2740
2740
  );
2741
2741
  pendingFiles++;
2742
- var JSCompiler_object_inline_chunks_214 = [];
2742
+ var JSCompiler_object_inline_chunks_227 = [];
2743
2743
  value.on("data", function (chunk) {
2744
- JSCompiler_object_inline_chunks_214.push(chunk);
2744
+ JSCompiler_object_inline_chunks_227.push(chunk);
2745
2745
  });
2746
2746
  value.on("end", function () {
2747
- var blob = new Blob(JSCompiler_object_inline_chunks_214, {
2747
+ var blob = new Blob(JSCompiler_object_inline_chunks_227, {
2748
2748
  type: mimeType
2749
2749
  });
2750
2750
  response._formData.append(name, blob, filename);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-server-dom-webpack",
3
3
  "description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
4
- "version": "19.1.0-canary-cbbe8666-20250213",
4
+ "version": "19.1.0-canary-e670e72f-20250214",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -99,8 +99,8 @@
99
99
  "node": ">=0.10.0"
100
100
  },
101
101
  "peerDependencies": {
102
- "react": "19.1.0-canary-cbbe8666-20250213",
103
- "react-dom": "19.1.0-canary-cbbe8666-20250213",
102
+ "react": "19.1.0-canary-e670e72f-20250214",
103
+ "react-dom": "19.1.0-canary-e670e72f-20250214",
104
104
  "webpack": "^5.59.0"
105
105
  },
106
106
  "dependencies": {