@sveltejs/adapter-vercel 1.0.0-next.79 → 1.0.0-next.80

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -315,7 +315,7 @@ async function create_function_bundle(builder, entry, dir, runtime) {
315
315
 
316
316
  if (error.message.startsWith('Failed to resolve dependency')) {
317
317
  const match = /Cannot find module '(.+?)' loaded from (.+)/;
318
- const [, module, importer] = match.exec(error.message);
318
+ const [, module, importer] = match.exec(error.message) ?? [, error.message, '(unknown)'];
319
319
 
320
320
  if (!resolution_failures.has(importer)) {
321
321
  resolution_failures.set(importer, []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-vercel",
3
- "version": "1.0.0-next.79",
3
+ "version": "1.0.0-next.80",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -27,7 +27,7 @@
27
27
  "esbuild": "^0.15.7"
28
28
  },
29
29
  "devDependencies": {
30
- "@sveltejs/kit": "1.0.0-next.515",
30
+ "@sveltejs/kit": "1.0.0-next.518",
31
31
  "@types/node": "^16.11.36",
32
32
  "typescript": "^4.8.2"
33
33
  },