@remix-run/server-runtime
Advanced tools
Comparing version 0.21.0 to 1.0.0-rc.1
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -6,5 +6,5 @@ export type { ServerBuild, ServerEntryModule, HandleDataRequestFunction, HandleDocumentRequestFunction } from "./build"; | ||
export type { EntryContext } from "./entry"; | ||
export type { LinkDescriptor, HTMLLinkDescriptor, PageLinkDescriptor } from "./links"; | ||
export type { LinkDescriptor, HtmlLinkDescriptor, PageLinkDescriptor } from "./links"; | ||
export type { ServerPlatform } from "./platform"; | ||
export type { ActionFunction, DataFunctionArgs, ErrorBoundaryComponent, HeadersFunction, LinksFunction, LoaderFunction, MetaFunction, MetaDescriptor, RouteComponent, RouteHandle } from "./routeModules"; | ||
export type { ActionFunction, DataFunctionArgs, ErrorBoundaryComponent, HeadersFunction, HtmlMetaDescriptor, LinksFunction, LoaderFunction, MetaDescriptor, MetaFunction, RouteComponent, RouteHandle } from "./routeModules"; | ||
export { json, redirect } from "./responses"; | ||
@@ -11,0 +11,0 @@ export type { RequestHandler } from "./server"; |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export interface HTMLLinkDescriptor { | ||
export interface HtmlLinkDescriptor { | ||
/** | ||
@@ -69,3 +69,3 @@ * Address of the hyperlink | ||
} | ||
export interface PageLinkDescriptor extends Omit<HTMLLinkDescriptor, "href" | "rel" | "type" | "sizes" | "imagesrcset" | "imagesizes" | "as" | "color" | "title"> { | ||
export interface PageLinkDescriptor extends Omit<HtmlLinkDescriptor, "href" | "rel" | "type" | "sizes" | "imagesrcset" | "imagesizes" | "as" | "color" | "title"> { | ||
/** | ||
@@ -76,2 +76,2 @@ * The absolute path of the page to prefetch. | ||
} | ||
export declare type LinkDescriptor = HTMLLinkDescriptor | PageLinkDescriptor; | ||
export declare type LinkDescriptor = HtmlLinkDescriptor | PageLinkDescriptor; |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -1,2 +0,2 @@ | ||
export type { ServerBuild, ServerEntryModule, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, CookieOptions, Cookie, AppLoadContext, AppData, EntryContext, LinkDescriptor, HTMLLinkDescriptor, PageLinkDescriptor, ErrorBoundaryComponent, ActionFunction, HeadersFunction, LinksFunction, LoaderFunction, MetaDescriptor, MetaFunction, RouteComponent, RouteHandle, RequestHandler, SessionData, Session, SessionStorage, SessionIdStorageStrategy } from "@remix-run/server-runtime"; | ||
export type { ServerBuild, ServerEntryModule, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, CookieOptions, Cookie, AppLoadContext, AppData, EntryContext, LinkDescriptor, HtmlLinkDescriptor, PageLinkDescriptor, ErrorBoundaryComponent, ActionFunction, HeadersFunction, LinksFunction, LoaderFunction, MetaDescriptor, HtmlMetaDescriptor, MetaFunction, RouteComponent, RouteHandle, RequestHandler, SessionData, Session, SessionStorage, SessionIdStorageStrategy } from "@remix-run/server-runtime"; | ||
export { createCookie, isCookie, createSession, isSession, createSessionStorage, createCookieSessionStorage, createMemorySessionStorage, json, redirect } from "@remix-run/server-runtime"; |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/server-runtime", | ||
"description": "Server runtime for Remix", | ||
"version": "0.21.0", | ||
"version": "1.0.0-rc.1", | ||
"repository": "https://github.com/remix-run/packages", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -69,3 +69,3 @@ import type { Location } from "history"; | ||
location: Location; | ||
}): MetaDescriptor; | ||
}): HtmlMetaDescriptor; | ||
} | ||
@@ -78,5 +78,6 @@ /** | ||
*/ | ||
export interface MetaDescriptor { | ||
export interface HtmlMetaDescriptor { | ||
[name: string]: string | string[]; | ||
} | ||
export declare type MetaDescriptor = HtmlMetaDescriptor; | ||
/** | ||
@@ -96,3 +97,3 @@ * A React component that is rendered for a route. | ||
links?: LinksFunction; | ||
meta?: MetaFunction | MetaDescriptor; | ||
meta?: MetaFunction | HtmlMetaDescriptor; | ||
} | ||
@@ -99,0 +100,0 @@ export interface ServerRouteModule extends EntryRouteModule { |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/server-runtime v0.21.0 | ||
* @remix-run/server-runtime v1.0.0-rc.1 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
71717
1873
24
278
1
0