@sveltejs/adapter-vercel 1.0.0-next.70 → 1.0.0-next.71

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
@@ -224,7 +224,7 @@ export default function ({ external = [], edge, split } = {}) {
224
224
  sliced_pattern = '^/?';
225
225
  }
226
226
 
227
- const src = `${sliced_pattern}(?:/__data.json)?$`; // TODO adding /__data.json is a temporary workaround — those endpoints should be treated as distinct routes
227
+ const src = `${sliced_pattern}(?:/__data.js)?$`; // TODO adding /__data.js is a temporary workaround — those endpoints should be treated as distinct routes
228
228
 
229
229
  await generate_function(route.id || 'index', src, entry.generateManifest);
230
230
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-vercel",
3
- "version": "1.0.0-next.70",
3
+ "version": "1.0.0-next.71",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -27,7 +27,7 @@
27
27
  "esbuild": "^0.14.48"
28
28
  },
29
29
  "devDependencies": {
30
- "@sveltejs/kit": "1.0.0-next.445",
30
+ "@sveltejs/kit": "1.0.0-next.447",
31
31
  "@types/node": "^16.11.36",
32
32
  "typescript": "^4.7.4"
33
33
  },