Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remix-run/server-runtime

Package Overview
Dependencies
Maintainers
2
Versions
1026
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/server-runtime - npm Package Compare versions

Comparing version 0.21.0 to 1.0.0-rc.1

2

cookies.js
/**
* @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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc