@vercel/remix
Advanced tools
Comparing version 1.14.3 to 1.15.0
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc. |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -30,6 +30,6 @@ * Copyright (c) Vercel, Inc. | ||
}); | ||
if (isbot__default["default"](request.headers.get('user-agent'))) { | ||
if (isbot__default["default"](request.headers.get("user-agent"))) { | ||
await body.allReady; | ||
} | ||
responseHeaders.set('Content-Type', 'text/html'); | ||
responseHeaders.set("Content-Type", "text/html"); | ||
return new Response(body, { | ||
@@ -36,0 +36,0 @@ headers: responseHeaders, |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc. |
@@ -1,3 +0,4 @@ | ||
export { createCookie, createCookieSessionStorage, createSessionStorage, } from './implementations'; | ||
export { createRequestHandler, createSession, defer, isCookie, isSession, json, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from '@remix-run/server-runtime'; | ||
export type { ActionArgs, ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, V2_HtmlMetaDescriptor, JsonFunction, LinkDescriptor, LinksFunction, LoaderArgs, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, V2_MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, SerializeFrom, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedDeferredData, TypedResponse, UnsignFunction, UploadHandler, UploadHandlerPart, } from '@remix-run/server-runtime'; | ||
export { createCookie, createCookieSessionStorage, createSessionStorage, } from "./implementations"; | ||
export { createSession, defer, isCookie, isSession, json, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime"; | ||
export { handleRequest } from "./entry.server"; | ||
export type { ActionArgs, ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, JsonFunction, LinkDescriptor, LinksFunction, LoaderArgs, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, SerializeFrom, ServerBuild, ServerEntryModule, V2_ServerRuntimeMetaArgs as V2_MetaArgs, V2_ServerRuntimeMetaDescriptor as V2_MetaDescriptor, V2_ServerRuntimeMetaDescriptor as V2_HtmlMetaDescriptor, V2_ServerRuntimeMetaFunction as V2_MetaFunction, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedDeferredData, TypedResponse, UnsignFunction, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime"; |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -17,2 +17,3 @@ * Copyright (c) Vercel, Inc. | ||
var serverRuntime = require('@remix-run/server-runtime'); | ||
var entry_server = require('./entry.server.js'); | ||
@@ -28,6 +29,2 @@ | ||
}); | ||
Object.defineProperty(exports, 'createRequestHandler', { | ||
enumerable: true, | ||
get: function () { return serverRuntime.createRequestHandler; } | ||
}); | ||
Object.defineProperty(exports, 'createSession', { | ||
@@ -69,1 +66,2 @@ enumerable: true, | ||
}); | ||
exports.handleRequest = entry_server.handleRequest; |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc. |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -29,3 +29,3 @@ * Copyright (c) Vercel, Inc. | ||
// ensures that bots can see the full page content. | ||
if (isbot__default["default"](request.headers.get('user-agent'))) { | ||
if (isbot__default["default"](request.headers.get("user-agent"))) { | ||
return serveTheBots(responseStatusCode, responseHeaders, remixServer); | ||
@@ -43,3 +43,3 @@ } | ||
onAllReady() { | ||
responseHeaders.set('Content-Type', 'text/html'); | ||
responseHeaders.set("Content-Type", "text/html"); | ||
let body = new stream.PassThrough(); | ||
@@ -68,3 +68,3 @@ pipe(body); | ||
onShellReady() { | ||
responseHeaders.set('Content-Type', 'text/html'); | ||
responseHeaders.set("Content-Type", "text/html"); | ||
let body = new stream.PassThrough(); | ||
@@ -71,0 +71,0 @@ pipe(body); |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc. |
export { createCookie, createCookieSessionStorage, createSessionStorage, } from "@remix-run/node"; | ||
export { createRequestHandler, createSession, defer, isCookie, isSession, json, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime"; | ||
export type { ActionArgs, ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, V2_HtmlMetaDescriptor, JsonFunction, LinkDescriptor, LinksFunction, LoaderArgs, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, V2_MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, SerializeFrom, ServerBuild, ServerEntryModule, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedDeferredData, TypedResponse, UnsignFunction, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime"; | ||
export { createSession, defer, isCookie, isSession, json, MaxPartSizeExceededError, redirect, unstable_composeUploadHandlers, unstable_createMemoryUploadHandler, unstable_parseMultipartFormData, } from "@remix-run/server-runtime"; | ||
export { handleRequest } from "./entry.server"; | ||
export type { ActionArgs, ActionFunction, AppData, AppLoadContext, Cookie, CookieOptions, CookieParseOptions, CookieSerializeOptions, CookieSignatureOptions, DataFunctionArgs, EntryContext, ErrorBoundaryComponent, HandleDataRequestFunction, HandleDocumentRequestFunction, HeadersFunction, HtmlLinkDescriptor, HtmlMetaDescriptor, JsonFunction, LinkDescriptor, LinksFunction, LoaderArgs, LoaderFunction, MemoryUploadHandlerFilterArgs, MemoryUploadHandlerOptions, MetaDescriptor, MetaFunction, PageLinkDescriptor, RequestHandler, RouteComponent, RouteHandle, SerializeFrom, ServerBuild, ServerEntryModule, V2_ServerRuntimeMetaArgs as V2_MetaArgs, V2_ServerRuntimeMetaDescriptor as V2_MetaDescriptor, V2_ServerRuntimeMetaDescriptor as V2_HtmlMetaDescriptor, V2_ServerRuntimeMetaFunction as V2_MetaFunction, Session, SessionData, SessionIdStorageStrategy, SessionStorage, SignFunction, TypedDeferredData, TypedResponse, UnsignFunction, UploadHandler, UploadHandlerPart, } from "@remix-run/server-runtime"; |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -17,2 +17,3 @@ * Copyright (c) Vercel, Inc. | ||
var serverRuntime = require('@remix-run/server-runtime'); | ||
var entry_server = require('./entry.server.js'); | ||
@@ -37,6 +38,2 @@ | ||
}); | ||
Object.defineProperty(exports, 'createRequestHandler', { | ||
enumerable: true, | ||
get: function () { return serverRuntime.createRequestHandler; } | ||
}); | ||
Object.defineProperty(exports, 'createSession', { | ||
@@ -78,1 +75,2 @@ enumerable: true, | ||
}); | ||
exports.handleRequest = entry_server.handleRequest; |
/// <reference types="node" /> | ||
import "./globals"; | ||
import type { IncomingMessage, ServerResponse } from 'http'; | ||
import type { IncomingMessage, ServerResponse } from "http"; | ||
import type { AppLoadContext, ServerBuild } from "@remix-run/node"; | ||
@@ -5,0 +5,0 @@ import { Request as NodeRequest } from "@remix-run/node"; |
/** | ||
* @vercel/remix v1.14.3 | ||
* @vercel/remix v1.15.0 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc. |
{ | ||
"name": "@vercel/remix", | ||
"version": "1.14.3", | ||
"version": "1.15.0", | ||
"description": "Isomorphic runtime + adapter for Remix on Vercel", | ||
@@ -16,2 +16,3 @@ "repository": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"browser": "./dist/edge/index.js", | ||
@@ -21,15 +22,12 @@ "default": "./dist/index.js" | ||
"./server": { | ||
"types": "./server.d.ts", | ||
"browser": "./dist/edge/server.js", | ||
"default": "./dist/server.js" | ||
"default": "./server.js" | ||
}, | ||
"./entry.server": { | ||
"browser": "./dist/edge/entry.server.js", | ||
"default": "./dist/entry.server.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"dependencies": { | ||
"@remix-run/node": "1.14.1", | ||
"@remix-run/server-runtime": "1.14.1", | ||
"isbot": "3.6.6" | ||
"@remix-run/node": "1.15.0", | ||
"@remix-run/server-runtime": "1.15.0", | ||
"isbot": "3.6.7" | ||
}, | ||
@@ -45,2 +43,6 @@ "peerDependencies": { | ||
"dist/", | ||
"globals.js", | ||
"globals.d.ts", | ||
"server.js", | ||
"server.d.ts", | ||
"CHANGELOG.md", | ||
@@ -47,0 +49,0 @@ "LICENSE.md", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
25577
25
604
0
2
+ Added@remix-run/node@1.15.0(transitive)
+ Added@remix-run/router@1.5.0(transitive)
+ Added@remix-run/server-runtime@1.15.0(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedisbot@3.6.7(transitive)
- Removed@remix-run/node@1.14.1(transitive)
- Removed@remix-run/router@1.3.3(transitive)
- Removed@remix-run/server-runtime@1.14.1(transitive)
- Removedhas-proto@1.1.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedisbot@3.6.6(transitive)
Updated@remix-run/node@1.15.0
Updatedisbot@3.6.7