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

@vercel/remix

Package Overview
Dependencies
Maintainers
9
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/remix - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

2

dist/edge/crypto.js
/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -18,2 +18,3 @@ * Copyright (c) Vercel, Inc.

var isbot = require('isbot');
var node = require('@remix-run/node');

@@ -44,9 +45,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

let body = new stream.PassThrough();
pipe(body);
resolve(
// @ts-expect-error
new Response(body, {
let stream$1 = node.createReadableStreamFromReadable(body);
resolve(new Response(stream$1, {
status: responseStatusCode,
headers: responseHeaders
}));
pipe(body);
},

@@ -71,9 +71,8 @@ onShellError(err) {

let body = new stream.PassThrough();
pipe(body);
resolve(
// @ts-expect-error
new Response(body, {
let stream$1 = node.createReadableStreamFromReadable(body);
resolve(new Response(stream$1, {
status: didError ? 500 : responseStatusCode,
headers: responseHeaders
}));
pipe(body);
},

@@ -80,0 +79,0 @@ onShellError(err) {

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -15,3 +15,5 @@ * Copyright (c) Vercel, Inc.

const genRanHex = size => [...Array(size)].map(() => Math.floor(Math.random() * 16).toString(16)).join("");
const genRanHex = size => Array.from({
length: size
}, () => Math.floor(Math.random() * 16).toString(16)).join("");
const createKvSessionStorageFactory = createSessionStorage => {

@@ -43,3 +45,3 @@ return ({

async readData(id) {
return (await kv.get(id)) || null;
return (await kv.get(id)) ?? null;
},

@@ -46,0 +48,0 @@ async updateData(id, data, expires) {

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

{
"name": "@vercel/remix",
"version": "2.0.1",
"version": "2.1.0",
"description": "Isomorphic runtime + adapter for Remix on Vercel",

@@ -28,4 +28,4 @@ "repository": {

"dependencies": {
"@remix-run/node": "2.0.1",
"@remix-run/server-runtime": "2.0.1",
"@remix-run/node": "2.1.0",
"@remix-run/server-runtime": "2.1.0",
"isbot": "^3.6.8"

@@ -32,0 +32,0 @@ },

/**
* @vercel/remix v2.0.1
* @vercel/remix v2.1.0
*

@@ -4,0 +4,0 @@ * Copyright (c) Vercel, Inc.

Sorry, the diff of this file is not supported yet

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