Skip to content

Commit 03fd04f

Browse files
fix(deps): update netlify packages (#1974)
1 parent ce848cb commit 03fd04f

File tree

3 files changed

+90
-23
lines changed

3 files changed

+90
-23
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@netlify/framework-info": "^2.3.0",
8080
"@netlify/plugin-edge-handlers": "^1.11.5",
8181
"@netlify/traffic-mesh-agent": "^0.27.10",
82-
"@netlify/zip-it-and-ship-it": "^2.5.0",
82+
"@netlify/zip-it-and-ship-it": "^2.6.0",
8383
"@oclif/command": "^1.6.1",
8484
"@oclif/config": "^1.15.1",
8585
"@oclif/errors": "^1.3.4",
@@ -140,7 +140,7 @@
140140
"minimist": "^1.2.5",
141141
"multiparty": "^4.2.1",
142142
"netlify": "^6.1.13",
143-
"netlify-redirect-parser": "^3.0.5",
143+
"netlify-redirect-parser": "^3.0.6",
144144
"netlify-redirector": "^0.2.1",
145145
"node-fetch": "^2.6.0",
146146
"open": "^7.0.0",
@@ -191,6 +191,7 @@
191191
"pidtree": "^0.5.0",
192192
"seedrandom": "^3.0.5",
193193
"sinon": "^8.1.1",
194+
"sort-on": "^4.1.0",
194195
"standard-version": "^9.0.0",
195196
"strip-ansi": "^6.0.0",
196197
"temp-dir": "^2.0.0",

src/utils/get-functions.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const path = require('path')
22

33
const test = require('ava')
4+
const sortOn = require('sort-on')
45

56
const { withSiteBuilder } = require('../../tests/utils/site-builder')
67

@@ -57,7 +58,7 @@ test('should mark background functions based on filenames', async (t) => {
5758

5859
const functions = path.join(builder.directory, 'functions')
5960
const funcs = await getFunctions(functions)
60-
t.deepEqual(funcs, [
61+
t.deepEqual(sortOn(funcs, ['mainFile', 'extension']), [
6162
{
6263
name: 'bar-background',
6364
mainFile: path.join(builder.directory, 'functions', 'bar-background', 'bar-background.js'),

0 commit comments

Comments
 (0)