@vercel/next 3.4.4 → 3.4.5

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/dist/index.js +4 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -41988,7 +41988,10 @@ async function getServerlessPages(params) {
41988
41988
  const [pages, appPaths, middlewareManifest] = await Promise.all([
41989
41989
  (0, build_utils_1.glob)('**/!(_middleware).js', params.pagesDir),
41990
41990
  params.appPathRoutesManifest
41991
- ? (0, build_utils_1.glob)('**/page.js', path_1.default.join(params.pagesDir, '../app'))
41991
+ ? Promise.all([
41992
+ (0, build_utils_1.glob)('**/page.js', path_1.default.join(params.pagesDir, '../app')),
41993
+ (0, build_utils_1.glob)('**/route.js', path_1.default.join(params.pagesDir, '../app')),
41994
+ ]).then(items => Object.assign(...items))
41992
41995
  : Promise.resolve({}),
41993
41996
  (0, utils_1.getMiddlewareManifest)(params.entryPath, params.outputDirectory),
41994
41997
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -45,9 +45,9 @@
45
45
  "@types/semver": "6.0.0",
46
46
  "@types/text-table": "0.2.1",
47
47
  "@types/webpack-sources": "3.2.0",
48
- "@vercel/build-utils": "6.2.3",
48
+ "@vercel/build-utils": "6.2.4",
49
49
  "@vercel/nft": "0.22.5",
50
- "@vercel/routing-utils": "2.1.8",
50
+ "@vercel/routing-utils": "2.1.9",
51
51
  "async-sema": "3.0.1",
52
52
  "buffer-crc32": "0.2.13",
53
53
  "bytes": "3.1.2",
@@ -71,5 +71,5 @@
71
71
  "typescript": "4.5.2",
72
72
  "webpack-sources": "3.2.3"
73
73
  },
74
- "gitHead": "881e43a0e2d6daa2f7654ad16566960b00d412aa"
74
+ "gitHead": "9308a0fda5e14ee8a07b9a3506e4480f5f67d212"
75
75
  }