From ac30438000416ca4990522a22aec1cde2979a03c Mon Sep 17 00:00:00 2001 From: Hendrik Liebau Date: Thu, 26 Sep 2024 13:24:28 +0200 Subject: [PATCH] Update React to `0.0.0-experimental-778e1ed2-20240926` --- apps/aws-app/package.json | 4 +- apps/cloudflare-app/package.json | 6 +- apps/shared-app/package.json | 4 +- apps/vercel-app/package.json | 4 +- package-lock.json | 343 ++++++++++-------- package.json | 2 +- packages/core/package.json | 6 +- packages/webpack-rsc/package.json | 6 +- ...act-server-dom-webpack-client.browser.d.ts | 28 ++ 9 files changed, 239 insertions(+), 164 deletions(-) diff --git a/apps/aws-app/package.json b/apps/aws-app/package.json index 467461b..4db9d84 100644 --- a/apps/aws-app/package.json +++ b/apps/aws-app/package.json @@ -18,8 +18,8 @@ "dependencies": { "@mfng/core": "*", "@mfng/shared-app": "*", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926" }, "devDependencies": { "@hono/node-server": "^1.8.2", diff --git a/apps/cloudflare-app/package.json b/apps/cloudflare-app/package.json index eb9f989..81699b8 100644 --- a/apps/cloudflare-app/package.json +++ b/apps/cloudflare-app/package.json @@ -18,8 +18,8 @@ "dependencies": { "@mfng/core": "*", "@mfng/shared-app": "*", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926" }, "devDependencies": { "@cloudflare/workers-types": "^4.20240222.0", @@ -38,7 +38,7 @@ "mini-css-extract-plugin": "^2.7.5", "postcss": "^8.4.21", "postcss-loader": "^7.0.2", - "react-server-dom-webpack": "0.0.0-experimental-04b058868c-20240508", + "react-server-dom-webpack": "0.0.0-experimental-778e1ed2-20240926", "resolve-typescript-plugin": "^2.0.0", "source-map-loader": "^4.0.1", "swc-loader": "^0.2.3", diff --git a/apps/shared-app/package.json b/apps/shared-app/package.json index 3c13ac3..2e489f8 100644 --- a/apps/shared-app/package.json +++ b/apps/shared-app/package.json @@ -26,8 +26,8 @@ "clsx": "^1.2.1", "countries-list": "^2.6.1", "fuse.js": "^6.6.2", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "react-markdown": "^8.0.5", "server-only": "^0.0.1", "zod": "^3.21.4" diff --git a/apps/vercel-app/package.json b/apps/vercel-app/package.json index 87cee91..1e9b866 100644 --- a/apps/vercel-app/package.json +++ b/apps/vercel-app/package.json @@ -22,8 +22,8 @@ "@mfng/core": "*", "@mfng/shared-app": "*", "@vercel/analytics": "^0.1.11", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "web-vitals": "^3.3.1" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 7452f07..45b18db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29,7 +29,7 @@ "eslint-plugin-markdown": "^3.0.1", "prettier": "^2.8.7", "prettier-plugin-tailwindcss": "^0.2.4", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "rimraf": "^4.4.1", "turbo": "^1.8.8", "typescript": "^5.4.5" @@ -42,8 +42,8 @@ "dependencies": { "@mfng/core": "*", "@mfng/shared-app": "*", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926" }, "devDependencies": { "@hono/node-server": "^1.8.2", @@ -81,8 +81,8 @@ "dependencies": { "@mfng/core": "*", "@mfng/shared-app": "*", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926" }, "devDependencies": { "@cloudflare/workers-types": "^4.20240222.0", @@ -101,7 +101,7 @@ "mini-css-extract-plugin": "^2.7.5", "postcss": "^8.4.21", "postcss-loader": "^7.0.2", - "react-server-dom-webpack": "0.0.0-experimental-04b058868c-20240508", + "react-server-dom-webpack": "0.0.0-experimental-778e1ed2-20240926", "resolve-typescript-plugin": "^2.0.0", "source-map-loader": "^4.0.1", "swc-loader": "^0.2.3", @@ -122,8 +122,8 @@ "clsx": "^1.2.1", "countries-list": "^2.6.1", "fuse.js": "^6.6.2", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "react-markdown": "^8.0.5", "server-only": "^0.0.1", "zod": "^3.21.4" @@ -142,8 +142,8 @@ "@mfng/core": "*", "@mfng/shared-app": "*", "@vercel/analytics": "^0.1.11", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "web-vitals": "^3.3.1" }, "devDependencies": { @@ -2344,10 +2344,11 @@ "dev": true }, "node_modules/@babel/runtime": { - "version": "7.24.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.5.tgz", - "integrity": "sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==", + "version": "7.25.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", + "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", "dev": true, + "license": "MIT", "dependencies": { "regenerator-runtime": "^0.14.0" }, @@ -2481,10 +2482,11 @@ } }, "node_modules/@changesets/apply-release-plan/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -2516,10 +2518,11 @@ } }, "node_modules/@changesets/assemble-release-plan/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -2692,10 +2695,11 @@ } }, "node_modules/@changesets/cli/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -2876,10 +2880,11 @@ } }, "node_modules/@changesets/get-dependents-graph/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -4832,10 +4837,11 @@ } }, "node_modules/@remix-run/dev/node_modules/lilconfig": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.1.tgz", - "integrity": "sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", + "integrity": "sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" }, @@ -4917,10 +4923,11 @@ } }, "node_modules/@remix-run/dev/node_modules/ws": { - "version": "7.5.9", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", - "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "version": "7.5.10", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", + "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.3.0" }, @@ -4938,10 +4945,11 @@ } }, "node_modules/@remix-run/dev/node_modules/yaml": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.2.tgz", - "integrity": "sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==", + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.5.1.tgz", + "integrity": "sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==", "dev": true, + "license": "ISC", "bin": { "yaml": "bin.mjs" }, @@ -5586,12 +5594,13 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "20.12.11", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.11.tgz", - "integrity": "sha512-vDg9PZ/zi+Nqp6boSOT7plNuthRugEKixDv5sFTIpkE89MmNtEArAShI4mxuX2+UrLEe9pxC1vm2cjm9YlWbJw==", + "version": "20.16.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.9.tgz", + "integrity": "sha512-rkvIVJxsOfBejxK7I0FO5sa2WxFmJCzoDwcd88+fq/CUfynNywTo/1/T6hyFz22CyztsnLS9nVlHOnTI36RH5w==", "dev": true, + "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~6.19.2" } }, "node_modules/@types/normalize-package-data": { @@ -5833,10 +5842,11 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", - "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5848,10 +5858,11 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -6600,10 +6611,11 @@ } }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", + "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", "dev": true, + "license": "MIT", "bin": { "acorn": "bin/acorn" }, @@ -6782,15 +6794,16 @@ } }, "node_modules/ajv-formats/node_modules/ajv": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", - "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -8033,10 +8046,11 @@ } }, "node_modules/cacheable-request/node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, + "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -9000,11 +9014,12 @@ } }, "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.3.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", + "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -10678,10 +10693,11 @@ } }, "node_modules/eslint-plugin-import/node_modules/semver": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", - "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", + "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -10849,10 +10865,11 @@ } }, "node_modules/estree-util-attach-comments/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" }, "node_modules/estree-util-build-jsx": { "version": "2.2.2", @@ -10870,10 +10887,11 @@ } }, "node_modules/estree-util-build-jsx/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" }, "node_modules/estree-util-build-jsx/node_modules/@types/estree-jsx": { "version": "1.0.5", @@ -11237,6 +11255,13 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, + "node_modules/fast-uri": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.1.tgz", + "integrity": "sha512-MWipKbbYiYI0UC7cl8m/i/IWTqfC8YXsqjzybjddLsFjStroQzsHXkc73JutMvBiXmOvapk+axIl79ig5t55Bw==", + "dev": true, + "license": "MIT" + }, "node_modules/fastest-levenshtein": { "version": "1.0.16", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz", @@ -12121,10 +12146,11 @@ } }, "node_modules/hast-util-to-estree/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" }, "node_modules/hast-util-to-estree/node_modules/@types/estree-jsx": { "version": "1.0.5", @@ -12314,10 +12340,11 @@ ] }, "node_modules/ignore": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", - "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } @@ -13916,10 +13943,11 @@ } }, "node_modules/loader-utils": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.2.1.tgz", - "integrity": "sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-3.3.1.tgz", + "integrity": "sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==", "dev": true, + "license": "MIT", "engines": { "node": ">= 12.13.0" } @@ -15180,10 +15208,11 @@ } }, "node_modules/micromark-util-events-to-acorn/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" }, "node_modules/micromark-util-html-tag-name": { "version": "1.1.0", @@ -15597,9 +15626,10 @@ } }, "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" }, "node_modules/mustache": { "version": "4.2.0", @@ -16266,10 +16296,11 @@ } }, "node_modules/periscopic/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" }, "node_modules/periscopic/node_modules/estree-walker": { "version": "3.0.3", @@ -17453,22 +17484,24 @@ } }, "node_modules/react": { - "version": "0.0.0-experimental-04b058868c-20240508", - "resolved": "https://registry.npmjs.org/react/-/react-0.0.0-experimental-04b058868c-20240508.tgz", - "integrity": "sha512-Sw5C323J4jyhwnJM1C3DflomFdvsi6OFn6ygokaUeWjEyUxpzyzXCunfm4hE9PsE/IYqQFMWQY8ZtlTv5eQBHA==", + "version": "0.0.0-experimental-778e1ed2-20240926", + "resolved": "https://registry.npmjs.org/react/-/react-0.0.0-experimental-778e1ed2-20240926.tgz", + "integrity": "sha512-TaWvaisD/bM/tYZmVQNAWS23jS4I2CsBRgEIwF7ByMLotebJMQ+38KnDLDVv28QLesHgErHaJuYKo3/472B/cg==", + "license": "MIT", "engines": { "node": ">=0.10.0" } }, "node_modules/react-dom": { - "version": "0.0.0-experimental-04b058868c-20240508", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-0.0.0-experimental-04b058868c-20240508.tgz", - "integrity": "sha512-Lln68q2EH1Gjy01IwAsSWmf4bvrH7FFJc5stnTX4TOj4IEfeRxdQgQtSO1c2G065TGe6hua01lDewGifSktT9w==", + "version": "0.0.0-experimental-778e1ed2-20240926", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-0.0.0-experimental-778e1ed2-20240926.tgz", + "integrity": "sha512-iuYUtM155fRJxpQEfw24ArX91rvhZ9JCyXoJ3+DUExPvyxvTH8tQaZNDv2Ap7dV15kJJTrblSWSOUqHSnNlFTQ==", + "license": "MIT", "dependencies": { - "scheduler": "0.0.0-experimental-04b058868c-20240508" + "scheduler": "0.0.0-experimental-778e1ed2-20240926" }, "peerDependencies": { - "react": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926" } }, "node_modules/react-is": { @@ -17516,20 +17549,22 @@ } }, "node_modules/react-server-dom-webpack": { - "version": "0.0.0-experimental-04b058868c-20240508", - "resolved": "https://registry.npmjs.org/react-server-dom-webpack/-/react-server-dom-webpack-0.0.0-experimental-04b058868c-20240508.tgz", - "integrity": "sha512-Y5A/BcgBTHfLovk0od9Fyt+44li9U2H8I5q16TmDnVNnXfntM4L9RdjPgI/T2AOsSmByBJ2Nw1Iwco7k425fnQ==", + "version": "0.0.0-experimental-778e1ed2-20240926", + "resolved": "https://registry.npmjs.org/react-server-dom-webpack/-/react-server-dom-webpack-0.0.0-experimental-778e1ed2-20240926.tgz", + "integrity": "sha512-qqPkrskmgUQnj9ZNIDKCsrHTSPN3rRtZSCVdCVFU+HF+lPlwqsqcTVJaoHnRn/JlJIzWMfU+OAXmHRdGXmbUww==", "dev": true, + "license": "MIT", "dependencies": { "acorn-loose": "^8.3.0", - "neo-async": "^2.6.1" + "neo-async": "^2.6.1", + "webpack-sources": "^3.2.0" }, "engines": { "node": ">=0.10.0" }, "peerDependencies": { - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "webpack": "^5.59.0" } }, @@ -18374,9 +18409,10 @@ "dev": true }, "node_modules/scheduler": { - "version": "0.0.0-experimental-04b058868c-20240508", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.0.0-experimental-04b058868c-20240508.tgz", - "integrity": "sha512-9CYaAmpRK3c2NLiKf48q4pqG2MifEqG1R1lgYTTowMzpeBXyKAamB0CDpvbsdGeXSyLnvdLC3hrMzrbfpuXIfw==" + "version": "0.0.0-experimental-778e1ed2-20240926", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.0.0-experimental-778e1ed2-20240926.tgz", + "integrity": "sha512-7Rk2AmqBVtnTO3RERI6vxZ/LMtm50MmKCpzIQzAr97dqlXU3HjWlSCa4uADyxTdDBS76GINyw9ZSYKD1slQtig==", + "license": "MIT" }, "node_modules/schema-utils": { "version": "4.2.0", @@ -18398,15 +18434,16 @@ } }, "node_modules/schema-utils/node_modules/ajv": { - "version": "8.13.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", - "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", + "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.4.1" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -18509,12 +18546,6 @@ "node": ">=4" } }, - "node_modules/send/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, "node_modules/serialize-javascript": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz", @@ -19598,10 +19629,11 @@ "dev": true }, "node_modules/tar-fs/node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dev": true, + "license": "MIT", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -19922,10 +19954,14 @@ } }, "node_modules/ts-node/node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -20649,10 +20685,11 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", - "dev": true + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "dev": true, + "license": "MIT" }, "node_modules/unicode-canonical-property-names-ecmascript": { "version": "2.0.0", @@ -21559,10 +21596,14 @@ } }, "node_modules/vm2/node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -22327,10 +22368,14 @@ } }, "node_modules/wrangler/node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -22464,10 +22509,11 @@ } }, "node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz", + "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10.0.0" }, @@ -22521,10 +22567,11 @@ } }, "node_modules/xdm/node_modules/@types/estree": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", - "integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==", - "dev": true + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", + "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", + "dev": true, + "license": "MIT" }, "node_modules/xdm/node_modules/estree-util-is-identifier-name": { "version": "2.1.0", @@ -22743,9 +22790,9 @@ "@types/htmlescape": "^1.1.1", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", - "react-server-dom-webpack": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", + "react-server-dom-webpack": "0.0.0-experimental-778e1ed2-20240926" }, "peerDependencies": { "react": "*", @@ -22777,9 +22824,9 @@ "jest-config": "^29.5.0", "memory-fs": "^0.5.0", "prettier": "^2.8.7", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", - "react-server-dom-webpack": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", + "react-server-dom-webpack": "0.0.0-experimental-778e1ed2-20240926", "webpack": "^5.75.0" }, "peerDependencies": { diff --git a/package.json b/package.json index 9045065..69655b0 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "eslint-plugin-markdown": "^3.0.1", "prettier": "^2.8.7", "prettier-plugin-tailwindcss": "^0.2.4", - "react-dom": "0.0.0-experimental-04b058868c-20240508", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", "rimraf": "^4.4.1", "turbo": "^1.8.8", "typescript": "^5.4.5" diff --git a/packages/core/package.json b/packages/core/package.json index b2bbe14..24b24bc 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -49,9 +49,9 @@ "@types/htmlescape": "^1.1.1", "@types/react": "^18.3.2", "@types/react-dom": "^18.3.0", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", - "react-server-dom-webpack": "0.0.0-experimental-04b058868c-20240508" + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", + "react-server-dom-webpack": "0.0.0-experimental-778e1ed2-20240926" }, "peerDependencies": { "react": "*", diff --git a/packages/webpack-rsc/package.json b/packages/webpack-rsc/package.json index f0a7ac0..45e00e4 100644 --- a/packages/webpack-rsc/package.json +++ b/packages/webpack-rsc/package.json @@ -43,9 +43,9 @@ "jest-config": "^29.5.0", "memory-fs": "^0.5.0", "prettier": "^2.8.7", - "react": "0.0.0-experimental-04b058868c-20240508", - "react-dom": "0.0.0-experimental-04b058868c-20240508", - "react-server-dom-webpack": "0.0.0-experimental-04b058868c-20240508", + "react": "0.0.0-experimental-778e1ed2-20240926", + "react-dom": "0.0.0-experimental-778e1ed2-20240926", + "react-server-dom-webpack": "0.0.0-experimental-778e1ed2-20240926", "webpack": "^5.75.0" }, "peerDependencies": { diff --git a/types/react-server-dom-webpack-client.browser.d.ts b/types/react-server-dom-webpack-client.browser.d.ts index 3992e43..b7d952d 100644 --- a/types/react-server-dom-webpack-client.browser.d.ts +++ b/types/react-server-dom-webpack-client.browser.d.ts @@ -8,13 +8,38 @@ declare module 'react-server-dom-webpack/client.browser' { export interface ReactServerDomClientOptions { callServer?: CallServerCallback; + temporaryReferences?: TemporaryReferenceSet; + findSourceMapURL?: FindSourceMapURLCallback; + replayConsoleLogs?: boolean; + environmentName?: string; } + type TemporaryReferenceSet = Map; + export type CallServerCallback = ( id: string, args: ReactServerValue, ) => Thenable; + export type EncodeFormActionCallback = ( + id: any, + args: Promise, + ) => ReactCustomFormAction; + + export type ReactCustomFormAction = { + name?: string; + action?: string; + encType?: string; + method?: string; + target?: string; + data?: null | FormData; + }; + + export type FindSourceMapURLCallback = ( + fileName: string, + environmentName: string, + ) => null | string; + export function createFromFetch( promiseForResponse: Promise, options?: ReactServerDomClientOptions, @@ -32,5 +57,8 @@ declare module 'react-server-dom-webpack/client.browser' { export function createServerReference( id: string, callServer: CallServerCallback, + encodeFormAction?: EncodeFormActionCallback, + findSourceMapURL?: FindSourceMapURLCallback, // DEV-only + functionName?: string, ): (...args: unknown[]) => Promise; }