Skip to content

Commit c0d08ec

Browse files
fix(deps): update dependency @netlify/edge-bundler to v8.15.0 (#5026)
* fix(deps): update dependency @netlify/edge-bundler to v8.15.0 * fix: update tests * fix: forgot to remove the .only --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Simon Knott <[email protected]>
1 parent a4088df commit c0d08ec

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@bugsnag/js": "^7.0.0",
6767
"@netlify/cache-utils": "^5.1.5",
6868
"@netlify/config": "^20.4.3",
69-
"@netlify/edge-bundler": "8.14.2",
69+
"@netlify/edge-bundler": "8.15.0",
7070
"@netlify/framework-info": "^9.8.7",
7171
"@netlify/functions-utils": "^5.2.8",
7272
"@netlify/git-utils": "^5.1.1",

packages/build/tests/edge_functions/snapshots/tests.js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ Generated by [AVA](https://avajs.dev).
653653
654654
Packaging Edge Functions from netlify/edge-functions directory:␊
655655
- function-1␊
656-
Edge Functions manifest: {"bundles":[{"asset":"HEXADECIMAL_ID.eszip","format":"eszip2"}],"routes":[{"function":"function-1","pattern":"^/one/?$"}],"post_cache_routes":[],"bundler_version":"1.0.0","layers":[],"import_map":"netlify:import-map","function_config":{}}␊
656+
Edge Functions manifest: {"bundles":[{"asset":"HEXADECIMAL_ID.eszip","format":"eszip2"}],"routes":[{"function":"function-1","pattern":"^/one/?$","excluded_patterns":[]}],"post_cache_routes":[],"bundler_version":"1.0.0","layers":[],"import_map":"netlify:import-map","function_config":{}}␊
657657
658658
(Edge Functions bundling completed in 1ms)␊
659659
Build step duration: Edge Functions bundling completed in 1ms␊
Binary file not shown.

packages/build/tests/edge_functions/tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ test.serial('builds Edge Functions from the internal directory', async (t) => {
9898

9999
const { routes, function_config } = await importJsonFile(manifestPath)
100100

101-
t.deepEqual(routes, [{ function: 'function-1', pattern: '^/.*/?$' }])
101+
t.deepEqual(routes, [{ function: 'function-1', pattern: '^/.*/?$', excluded_patterns: [] }])
102102
t.deepEqual(function_config, { 'function-1': { generator: 'internalFunc' } })
103103
})
104104

@@ -187,7 +187,7 @@ test('build plugins can manipulate netlifyToml.edge_functions array', async (t)
187187

188188
const { routes } = await importJsonFile(manifestPath)
189189

190-
t.deepEqual(routes, [{ function: 'mutated-function', pattern: '^/test-test/?$' }])
190+
t.deepEqual(routes, [{ function: 'mutated-function', pattern: '^/test-test/?$', excluded_patterns: [] }])
191191
})
192192

193193
test.serial('cleans up the edge functions dist directory before bundling', async (t) => {

0 commit comments

Comments
 (0)