Socket
Socket
Sign inDemoInstall

@altinget/vercel-builder

Package Overview
Dependencies
67
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.22.6 to 0.22.7

15

lib/index.js

@@ -434,2 +434,10 @@ 'use strict';

const headers = (_a = config.headers) != null ? _a : { "Cache-Control": "max-age=31557600" };
const routes = [
{ src: `/${publicPath}.+`, headers },
...Object.keys(staticFiles).map((file) => ({ src: `/${file}`, headers })),
{ handle: "filesystem" },
{ src: "/(.*)", dest: "/index", headers }
];
console.error("headers", headers);
console.error("routes", routes);
return {

@@ -442,8 +450,3 @@ output: {

},
routes: [
{ src: `/${publicPath}.+`, headers },
...Object.keys(staticFiles).map((file) => ({ src: `/${file}`, headers })),
{ handle: "filesystem" },
{ src: "/(.*)", dest: "/index" }
],
routes,
images: config.images

@@ -450,0 +453,0 @@ };

2

package.json
{
"name": "@altinget/vercel-builder",
"version": "0.22.6",
"version": "0.22.7",
"repository": "Altinget/vercel-builder",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc