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

@vercel/remix

Package Overview
Dependencies
Maintainers
173
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 1.0.6 to 1.0.7

12

dist/build.js

@@ -127,2 +127,9 @@ "use strict";

}
// Also check for whether were in a monorepo.
// If we are, prepend the app root directory from config onto the build path.
// e.g. `/apps/my-remix-app/api/index.js`
const isMonorepo = repoRootPath && repoRootPath !== workPath;
if (isMonorepo && config.projectSettings?.rootDirectory) {
serverBuildPath = (0, path_1.join)(config.projectSettings.rootDirectory, serverBuildPath);
}
}

@@ -136,3 +143,3 @@ catch (err) {

(0, build_utils_1.glob)('**', (0, path_1.join)(entrypointFsDirname, 'public')),
createRenderFunction(entrypointFsDirname, serverBuildPath, needsHandler, nodeVersion),
createRenderFunction(entrypointFsDirname, repoRootPath, serverBuildPath, needsHandler, nodeVersion),
]);

@@ -165,3 +172,3 @@ return {

}
async function createRenderFunction(rootDir, serverBuildPath, needsHandler, nodeVersion) {
async function createRenderFunction(entrypointDir, rootDir, serverBuildPath, needsHandler, nodeVersion) {
const files = {};

@@ -180,2 +187,3 @@ const handler = needsHandler

base: rootDir,
processCwd: entrypointDir,
});

@@ -182,0 +190,0 @@ for (const warning of trace.warnings) {

4

package.json
{
"name": "@vercel/remix",
"version": "1.0.6",
"version": "1.0.7",
"license": "MIT",

@@ -32,3 +32,3 @@ "main": "./dist/index.js",

},
"gitHead": "0a2af4fb94d71a7a23ffc72fb68748be1177f345"
"gitHead": "ec9b55dc8196b650987a505ed24566818566f3cf"
}

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