dinou 3.0.3 → 3.0.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dinou/core/client-error.jsx +1 -1
  3. package/dinou/core/client.jsx +1 -1
  4. package/dinou/core/server-function-proxy.js +1 -1
  5. package/package.json +4 -4
  6. package/packages/vendor/react-server-dom-esm/LICENSE +0 -21
  7. package/packages/vendor/react-server-dom-esm/README.md +0 -5
  8. package/packages/vendor/react-server-dom-esm/cjs/react-server-dom-esm-client.browser.development.js +0 -4477
  9. package/packages/vendor/react-server-dom-esm/cjs/react-server-dom-esm-client.browser.production.js +0 -1783
  10. package/packages/vendor/react-server-dom-esm/cjs/react-server-dom-esm-client.node.development.js +0 -4544
  11. package/packages/vendor/react-server-dom-esm/cjs/react-server-dom-esm-client.node.production.js +0 -2016
  12. package/packages/vendor/react-server-dom-esm/cjs/react-server-dom-esm-server.node.development.js +0 -5672
  13. package/packages/vendor/react-server-dom-esm/cjs/react-server-dom-esm-server.node.production.js +0 -2907
  14. package/packages/vendor/react-server-dom-esm/client.browser.js +0 -7
  15. package/packages/vendor/react-server-dom-esm/client.js +0 -3
  16. package/packages/vendor/react-server-dom-esm/client.node.js +0 -7
  17. package/packages/vendor/react-server-dom-esm/esm/package.json +0 -3
  18. package/packages/vendor/react-server-dom-esm/esm/react-server-dom-esm-client.browser.development.js +0 -5586
  19. package/packages/vendor/react-server-dom-esm/esm/react-server-dom-esm-client.browser.production.js +0 -2620
  20. package/packages/vendor/react-server-dom-esm/esm/react-server-dom-esm-node-loader.production.js +0 -515
  21. package/packages/vendor/react-server-dom-esm/index.js +0 -12
  22. package/packages/vendor/react-server-dom-esm/package.json +0 -63
  23. package/packages/vendor/react-server-dom-esm/server.js +0 -6
  24. package/packages/vendor/react-server-dom-esm/server.node.js +0 -17
  25. package/packages/vendor/react-server-dom-esm/static.js +0 -6
  26. package/packages/vendor/react-server-dom-esm/static.node.js +0 -12
package/CHANGELOG.md CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## [3.0.4]
9
+
10
+ ### Security
11
+
12
+ - Fix CVE-2025-55182 (React2Shell) – Remote Code Execution in React Server Components
13
+ - Updated internal react-server-dom-esm to custom build from React main (includes upstream security patch)
14
+ - All Dinou apps using Server Components / Server Actions are now protected
15
+
8
16
  ## [3.0.3]
9
17
 
10
18
  ### Fixed
@@ -1,5 +1,5 @@
1
1
  import { use } from "react";
2
- import { createFromFetch } from "@matthamlin/react-server-dom-esm/client";
2
+ import { createFromFetch } from "@roggc/react-server-dom-esm/client";
3
3
  import { hydrateRoot } from "react-dom/client";
4
4
 
5
5
  const cache = new Map();
@@ -1,5 +1,5 @@
1
1
  import { use } from "react";
2
- import { createFromFetch } from "@matthamlin/react-server-dom-esm/client";
2
+ import { createFromFetch } from "@roggc/react-server-dom-esm/client";
3
3
  import { hydrateRoot } from "react-dom/client";
4
4
 
5
5
  const cache = new Map();
@@ -1,5 +1,5 @@
1
1
  // public/server-function-proxy.js
2
- import { createFromFetch } from "@matthamlin/react-server-dom-esm/client";
2
+ import { createFromFetch } from "@roggc/react-server-dom-esm/client";
3
3
 
4
4
  export function createServerFunctionProxy(id) {
5
5
  return new Proxy(() => {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dinou",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Dinou is a modern React 19 framework with React Server Components, Server Functions, and streaming SSR.",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -40,8 +40,8 @@
40
40
  "@babel/register": "^7.27.1",
41
41
  "@babel/traverse": "^7.28.3",
42
42
  "@esbuild-plugins/tsconfig-paths": "^0.1.2",
43
- "@matthamlin/react-server-dom-esm": "file:packages/vendor/react-server-dom-esm",
44
43
  "@pmmmwh/react-refresh-webpack-plugin": "^0.6.2",
44
+ "@roggc/react-server-dom-esm": "^0.0.0-380778d2-20251207",
45
45
  "@rollup/plugin-babel": "^6.0.4",
46
46
  "@rollup/plugin-commonjs": "^28.0.6",
47
47
  "@rollup/plugin-json": "^6.1.0",
@@ -85,7 +85,7 @@
85
85
  "ws": "^8.18.3"
86
86
  },
87
87
  "peerDependencies": {
88
- "react": ">=19.1.0",
89
- "react-dom": ">=19.1.0"
88
+ "react": ">=19.2.1",
89
+ "react-dom": ">=19.2.1"
90
90
  }
91
91
  }
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) Meta Platforms, Inc. and affiliates.
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,5 +0,0 @@
1
- # react-server-dom-esm
2
-
3
- Experimental React Flight bindings for DOM using ESM.
4
-
5
- **Use it at your own risk.**