Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps(express) - update dependents of express #9528

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ReactRouterUI {
*
*/
private routeChangeListener: RouteChangeSlot
) {}
) { }

/**
* render all slot routes.
Expand Down Expand Up @@ -117,7 +117,9 @@ export class ReactRouterUI {
return { initialLocation };
},
serverInit: ({ browser }) => {
const initialLocation = browser?.location.url;
const initialLocation = browser?.location ?
`${browser.location.pathname}${browser.location.search}${browser.location.hash}` :
undefined;
return { initialLocation };
},
reactClientContext: this.RoutingContext,
Expand Down
3 changes: 1 addition & 2 deletions scopes/ui-foundation/ui/ssr-middleware/ssr-middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ export async function createSsrMiddleware({ root, port, title, logger }: ssrRend
}

logger.debug(`[ssr] ${request.method} ${url}`);
const server = { port, request, response };
const props: SsrSession = { assets, browser, request, response, server };
const props: SsrSession = { assets, browser, request, response };

try {
const rendered = await render(props);
Expand Down
24 changes: 12 additions & 12 deletions workspace.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -100,24 +100,24 @@
"@teambit/bvm.path": "^0.1.2",
"@teambit/capsule": "0.0.12",
"@teambit/code.ui.code-compare-section": "0.0.5",
"@teambit/code.ui.code-tab-tree": "^0.0.615",
"@teambit/code.ui.code-tab-tree": "^0.0.617",
"@teambit/code.ui.hooks.use-code-params": "0.0.496",
"@teambit/code.ui.object-formatter": "0.0.1",
"@teambit/code.ui.queries.get-component-code": "0.0.502",
"@teambit/code.ui.queries.get-file-content": "0.0.504",
"@teambit/code.ui.utils.get-file-icon": "0.0.496",
"@teambit/community.starters.hello-world": "^0.0.16",
"@teambit/compilation.babel-compiler": "^1.1.13",
"@teambit/compilation.content.compiler-overview": "1.96.16",
"@teambit/compilation.content.compiler-overview": "1.96.17",
"@teambit/component-id": "^1.2.2",
"@teambit/component-version": "^1.0.3",
"@teambit/component.content.component-overview": "1.95.0",
"@teambit/component.content.dev-files": "1.95.9",
"@teambit/component.instructions.exporting-components": "0.0.7",
"@teambit/component.ui.artifacts.artifacts-tree": "^0.0.26",
"@teambit/component.ui.artifacts.artifacts-tree": "^0.0.28",
"@teambit/component.ui.artifacts.models.component-artifacts-model": "^0.0.12",
"@teambit/component.ui.artifacts.queries.use-component-artifacts": "^0.0.14",
"@teambit/component.ui.component-compare.compare-aspects.compare-aspects": "^0.0.148",
"@teambit/component.ui.component-compare.compare-aspects.compare-aspects": "^0.0.152",
"@teambit/component.ui.component-compare.hooks.use-component-compare": "^0.0.113",
"@teambit/component.ui.component-compare.hooks.use-component-compare-url": "^0.0.13",
"@teambit/component.ui.component-compare.layouts.compare-split-layout-preset": "^0.0.10",
Expand All @@ -130,7 +130,7 @@
"@teambit/component.ui.component-compare.utils.sort-logs": "^0.0.8",
"@teambit/component.ui.component-compare.utils.sort-tabs": "^0.0.102",
"@teambit/component.ui.component-deprecated": "^0.0.39",
"@teambit/component.ui.component-meta": "^0.0.366",
"@teambit/component.ui.component-meta": "^0.0.367",
"@teambit/component.ui.component-size": "^0.0.77",
"@teambit/component.ui.component-status-resolver": "^0.0.510",
"@teambit/component.ui.deprecation-icon": "^0.0.509",
Expand All @@ -154,7 +154,7 @@
"@teambit/defender.ui.test-table": "^0.0.510",
"@teambit/dependencies.modules.packages-excluder": "^1.0.8",
"@teambit/dependencies.pnpm.dep-path": "^0.0.2",
"@teambit/design.buttons.action-button": "^0.0.2",
"@teambit/design.buttons.action-button": "^0.0.3",
"@teambit/design.controls.menu": "^0.0.1",
"@teambit/design.elements.icon": "1.0.5",
"@teambit/design.inputs.dropdown": "1.2.16",
Expand Down Expand Up @@ -210,7 +210,7 @@
"@teambit/evangelist.input.checkbox.label": "^1.1.0",
"@teambit/evangelist.surfaces.dropdown": "1.0.2",
"@teambit/explorer.ui.command-bar": "2.0.16",
"@teambit/explorer.ui.component-card": "^0.0.45",
"@teambit/explorer.ui.component-card": "^0.0.47",
"@teambit/explorer.ui.gallery.component-grid": "0.0.496",
"@teambit/git.modules.git-ignore": "^1.0.2",
"@teambit/gitconfig": "2.0.10",
Expand All @@ -233,15 +233,15 @@
"@teambit/mdx.ui.mdx-scope-context": "^1.0.5",
"@teambit/node.deps-detectors.detective-es6": "~0.0.5",
"@teambit/node.utils.esm-loader": "^0.0.7",
"@teambit/pkg.content.packages-overview": "1.96.8",
"@teambit/pkg.content.packages-overview": "1.96.9",
"@teambit/pkg.package-json.validator": "0.0.1",
"@teambit/preview.cli.dev-server-events-listener": "^0.0.1",
"@teambit/preview.modules.preview-modules": "^1.0.3",
"@teambit/react.content.react-overview": "1.95.0",
"@teambit/react.instructions.react.adding-compositions": "0.0.7",
"@teambit/react.instructions.react.adding-tests": "0.0.6",
"@teambit/react.jest.react-jest": "^1.0.33",
"@teambit/react.rendering.ssr": "0.0.3",
"@teambit/react.rendering.ssr": "1.0.2",
"@teambit/react.ui.component-highlighter": "0.2.4",
"@teambit/react.webpack.react-webpack": "^1.0.42",
"@teambit/scope.content.scope-overview": "1.95.0",
Expand Down Expand Up @@ -269,8 +269,8 @@
"@teambit/ui-foundation.ui.full-loader": "^0.0.500",
"@teambit/ui-foundation.ui.global-loader": "^0.0.502",
"@teambit/ui-foundation.ui.hooks.use-data-query": "^0.0.506",
"@teambit/ui-foundation.ui.hooks.use-is-mobile": "^0.0.198",
"@teambit/ui-foundation.ui.hooks.use-user-agent": "^0.0.197",
"@teambit/ui-foundation.ui.hooks.use-is-mobile": "^0.0.199",
"@teambit/ui-foundation.ui.hooks.use-user-agent": "^0.0.199",
"@teambit/ui-foundation.ui.is-browser": "^0.0.500",
"@teambit/ui-foundation.ui.keycap": "^0.0.500",
"@teambit/ui-foundation.ui.main-dropdown": "^0.0.502",
Expand All @@ -288,7 +288,7 @@
"@teambit/ui-foundation.ui.tree.tree-node": "0.0.517",
"@teambit/ui-foundation.ui.use-box.bottom-link": "^0.0.119",
"@teambit/ui-foundation.ui.use-box.dropdown": "^0.0.143",
"@teambit/ui-foundation.ui.use-box.menu": "^1.0.15",
"@teambit/ui-foundation.ui.use-box.menu": "^1.0.16",
"@teambit/ui-foundation.ui.use-box.scope-menu": "^0.0.146",
"@teambit/ui-foundation.ui.use-box.tab": "^0.0.122",
"@teambit/workspace.content.variants": "1.95.9",
Expand Down