@sveltejs/adapter-vercel 2.4.0 → 2.4.1

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 +2 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -358,7 +358,8 @@ function hash_config(config) {
358
358
  config.external ?? '',
359
359
  config.regions ?? '',
360
360
  config.memory ?? '',
361
- config.maxDuration ?? ''
361
+ config.maxDuration ?? '',
362
+ !!config.isr // need to distinguish ISR from non-ISR functions, because ISR functions can't use streaming mode
362
363
  ].join('/');
363
364
  }
364
365
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-vercel",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -29,7 +29,7 @@
29
29
  "devDependencies": {
30
30
  "@types/node": "^16.18.6",
31
31
  "typescript": "^4.9.4",
32
- "@sveltejs/kit": "^1.12.0"
32
+ "@sveltejs/kit": "^1.14.0"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "@sveltejs/kit": "^1.5.0"