From 37e3167da46705fbbf59afa27b1b0d2700989d1e Mon Sep 17 00:00:00 2001
From: Finn Woelm <public@finnwoelm.com>
Date: Sun, 26 Jul 2020 10:48:06 +0200
Subject: [PATCH] Use next-on-netlify#reduce-redirects branch

Test the reduce-redirects branch of next-on-netlify.
---
 package-lock.json | 84 +++++++++++++++++++++++++++--------------------
 package.json      |  2 +-
 2 files changed, 49 insertions(+), 37 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index fa5fe5e..61de0bf 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1395,13 +1395,13 @@
       "integrity": "sha512-9nKENeWRI6kQk44TbeqleIVtNLfcS3klVUepzl/ZCqzR5Bi06uqBCD277hdVvG/wL1pxA+R/pgJQLqnF5E2wPQ=="
     },
     "@sls-next/lambda-at-edge": {
-      "version": "1.2.0-alpha.3",
-      "resolved": "https://registry.npmjs.org/@sls-next/lambda-at-edge/-/lambda-at-edge-1.2.0-alpha.3.tgz",
-      "integrity": "sha512-/SLCi14OHNIJ5ybTXjAMtF+GIm4Xc/FHZkxPA5O94SvwcnO6vdluYOesuTwzo9sIeV2cUkqmq/RHekIzorX3VQ==",
+      "version": "1.5.1",
+      "resolved": "https://registry.npmjs.org/@sls-next/lambda-at-edge/-/lambda-at-edge-1.5.1.tgz",
+      "integrity": "sha512-xH9TL6bbE/e8XZelfXTCPjdZEXv/3utxXy9ZpOdWtsaeX76RILIZ8cNXSK3ASTipfMAxSohru82bmBmnb/KwVQ==",
       "requires": {
-        "@zeit/node-file-trace": "^0.5.1",
-        "execa": "^4.0.0",
-        "fs-extra": "^9.0.0",
+        "@zeit/node-file-trace": "^0.6.5",
+        "execa": "^4.0.2",
+        "fs-extra": "^9.0.1",
         "path-to-regexp": "^6.1.0"
       }
     },
@@ -1583,28 +1583,33 @@
       "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ=="
     },
     "@zeit/node-file-trace": {
-      "version": "0.5.1",
-      "resolved": "https://registry.npmjs.org/@zeit/node-file-trace/-/node-file-trace-0.5.1.tgz",
-      "integrity": "sha512-BlZDokGcOIKu5R2Qs3bZGjXRptbKqBYQ7iBnSDjJhJqP4d4hbRPPBQQnrihLOVNsauX845I+CUgRY+OOpd2jFA==",
-      "requires": {
-        "acorn": "^6.1.1",
-        "acorn-bigint": "^0.3.1",
-        "acorn-class-fields": "^0.3.1",
-        "acorn-dynamic-import": "^4.0.0",
+      "version": "0.6.5",
+      "resolved": "https://registry.npmjs.org/@zeit/node-file-trace/-/node-file-trace-0.6.5.tgz",
+      "integrity": "sha512-PbxtiZBU+axKtR9dU2/iQgK9+aP/ip94SqI/FCMWppmFPGlxGKHf8UnJZskFuqLZeWWzL+L+8SeipsNHATO9nw==",
+      "requires": {
+        "acorn": "^7.1.1",
+        "acorn-class-fields": "^0.3.2",
         "acorn-export-ns-from": "^0.1.0",
-        "acorn-import-meta": "^1.0.0",
-        "acorn-private-methods": "^0.3.0",
+        "acorn-import-meta": "^1.1.0",
+        "acorn-numeric-separator": "^0.3.0",
+        "acorn-static-class-features": "^0.2.1",
         "bindings": "^1.4.0",
         "estree-walker": "^0.6.0",
         "glob": "^7.1.3",
         "graceful-fs": "^4.1.15",
         "micromatch": "^4.0.2",
         "mkdirp": "^0.5.1",
+        "node-gyp-build": "^4.2.2",
         "node-pre-gyp": "^0.13.0",
         "resolve-from": "^5.0.0",
         "rollup-pluginutils": "^2.8.2"
       },
       "dependencies": {
+        "acorn": {
+          "version": "7.3.1",
+          "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.3.1.tgz",
+          "integrity": "sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA=="
+        },
         "braces": {
           "version": "3.0.2",
           "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
@@ -1660,11 +1665,6 @@
       "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
       "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA=="
     },
-    "acorn-bigint": {
-      "version": "0.3.1",
-      "resolved": "https://registry.npmjs.org/acorn-bigint/-/acorn-bigint-0.3.1.tgz",
-      "integrity": "sha512-WT9LheDC4/d/sD/jgC6L5UMq4U9X3KNMy0JrXp/MdJL83ZqcuPQuMkj50beOX0dMub8IoZUYycfN7bIVZuU5zg=="
-    },
     "acorn-class-fields": {
       "version": "0.3.6",
       "resolved": "https://registry.npmjs.org/acorn-class-fields/-/acorn-class-fields-0.3.6.tgz",
@@ -1673,11 +1673,6 @@
         "acorn-private-class-elements": "^0.2.6"
       }
     },
-    "acorn-dynamic-import": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz",
-      "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw=="
-    },
     "acorn-export-ns-from": {
       "version": "0.1.0",
       "resolved": "https://registry.npmjs.org/acorn-export-ns-from/-/acorn-export-ns-from-0.1.0.tgz",
@@ -1688,15 +1683,20 @@
       "resolved": "https://registry.npmjs.org/acorn-import-meta/-/acorn-import-meta-1.1.0.tgz",
       "integrity": "sha512-pshgiVR5mhpjFVdizKTN+kAGRqjJFUOEB3TvpQ6kiAutb1lvHrIVVcGoe5xzMpJkVNifCeymMG7/tsDkWn8CdQ=="
     },
+    "acorn-numeric-separator": {
+      "version": "0.3.3",
+      "resolved": "https://registry.npmjs.org/acorn-numeric-separator/-/acorn-numeric-separator-0.3.3.tgz",
+      "integrity": "sha512-xMbqqXR9EnxuGN1N6CbU+sm/sKS+VSttTnU6aRf9klvZF/P5E5BMtR3xZfSFWbVIkd4uXGKfgZJZwZ73zpExXQ=="
+    },
     "acorn-private-class-elements": {
       "version": "0.2.6",
       "resolved": "https://registry.npmjs.org/acorn-private-class-elements/-/acorn-private-class-elements-0.2.6.tgz",
       "integrity": "sha512-PV+AhOU1/vCx5zIBgGYLB5+OoT8IPKZUcWEGdLBTQgFBMMzPM9S5SKSG4EdiuULqoq3pV3C07rGuSC1Y5gbi/g=="
     },
-    "acorn-private-methods": {
-      "version": "0.3.2",
-      "resolved": "https://registry.npmjs.org/acorn-private-methods/-/acorn-private-methods-0.3.2.tgz",
-      "integrity": "sha512-jTgRNDbEkbtxOIPUmDZ4u4oDGCO4tNPDNeW+jJrkbLl/Hzl9EVLva+kGQ289irSPhxi7FI9TjuXmIiqjnJcj9w==",
+    "acorn-static-class-features": {
+      "version": "0.2.3",
+      "resolved": "https://registry.npmjs.org/acorn-static-class-features/-/acorn-static-class-features-0.2.3.tgz",
+      "integrity": "sha512-N7yRI9NduTJRam3BQTXHLR63ykHQv2MnxWTRq0+4PfQosGUz/tM0/ToRqWUqGphP960mDTm/7zJFx3dB/AZtiw==",
       "requires": {
         "acorn-private-class-elements": "^0.2.6"
       }
@@ -4824,13 +4824,20 @@
       "integrity": "sha512-TKI0e+RFOuevQnkliE73VCzx9VRF8qpXuL18uxOJvPhCe09pxLwfaDQMuNKf3b2d9PS/Ajn+Y/O41bBuJMu4aA=="
     },
     "next-on-netlify": {
-      "version": "2.3.0",
-      "resolved": "https://registry.npmjs.org/next-on-netlify/-/next-on-netlify-2.3.0.tgz",
-      "integrity": "sha512-zTQT5sKIXKrK0ghRU/PgM82H2qV1yTtrhFt+4EYLAc2T/DdYxqZ3lEJvO9yCZUxEQ/2VYKYM0he98UPdSn/Dlg==",
+      "version": "github:finnwoelm/next-on-netlify#1d5a92567c589283529d59285fff03a5ad58a3e9",
+      "from": "github:finnwoelm/next-on-netlify#reduce-redirects",
       "requires": {
-        "@sls-next/lambda-at-edge": "1.2.0-alpha.3",
-        "fs-extra": "^9.0.0",
-        "next-aws-lambda": "^2.4.1"
+        "@sls-next/lambda-at-edge": "^1.5.1",
+        "commander": "^6.0.0",
+        "fs-extra": "^9.0.1",
+        "next-aws-lambda": "^2.5.0"
+      },
+      "dependencies": {
+        "commander": {
+          "version": "6.0.0",
+          "resolved": "https://registry.npmjs.org/commander/-/commander-6.0.0.tgz",
+          "integrity": "sha512-s7EA+hDtTYNhuXkTlhqew4txMZVdszBmKWSPEMxGr8ru8JXR7bLUFIAtPhcSuFdJQ0ILMxnJi8GkQL0yvDy/YA=="
+        }
       }
     },
     "next-tick": {
@@ -4843,6 +4850,11 @@
       "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
       "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
     },
+    "node-gyp-build": {
+      "version": "4.2.3",
+      "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
+      "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg=="
+    },
     "node-libs-browser": {
       "version": "2.2.1",
       "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz",
diff --git a/package.json b/package.json
index 990f276..e83658a 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
   },
   "dependencies": {
     "next": "^9.4.4",
-    "next-on-netlify": "^2.3.0",
+    "next-on-netlify": "github:finnwoelm/next-on-netlify#reduce-redirects",
     "react": "^16.13.1",
     "react-dom": "^16.13.1"
   },
