diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c4b6f01ae6..d2db582d87 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - "packages/runtime": "4.36.0", - "packages/next": "1.4.5" + "packages/runtime": "4.36.1", + "packages/next": "1.4.6" } diff --git a/package-lock.json b/package-lock.json index 2035ca6cf1..fed75879ed 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@babel/preset-env": "^7.15.8", "@babel/preset-typescript": "^7.16.0", "@delucis/if-env": "^1.1.2", - "@netlify/build": "^29.11.1", + "@netlify/build": "^29.11.2", "@netlify/eslint-config-node": "^7.0.1", "@testing-library/cypress": "^9.0.0", "@types/fs-extra": "^9.0.13", @@ -2605,16 +2605,16 @@ "dev": true }, "node_modules/@dependents/detective-less": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-3.0.2.tgz", - "integrity": "sha512-1YUvQ+e0eeTWAHoN8Uz2x2U37jZs6IGutiIE5LXId7cxfUGhtZjzxE06FdUiuiRrW+UE0vNCdSNPH2lY4dQCOQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-4.0.0.tgz", + "integrity": "sha512-0udn+HKjGUzTX4Z+0vXdEJVsO28gxy5QxWjeChK4ZH+bwdvIXLuztiGZk8wLyAG1+LNZ5haVHKr5j1XfJnAkyQ==", "dev": true, "dependencies": { "gonzales-pe": "^4.3.0", - "node-source-walk": "^5.0.1" + "node-source-walk": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/@eslint/eslintrc": { @@ -3362,9 +3362,9 @@ "dev": true }, "node_modules/@netlify/build": { - "version": "29.11.1", - "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.11.1.tgz", - "integrity": "sha512-Z/Be2ZzENeLvsuXBs2NaeVch5okHC8epIddP3HZqctcoqrrxNbDwfO/J7CT3kXfdjWmdxcFYh2aVcFPM3WdBsg==", + "version": "29.11.2", + "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.11.2.tgz", + "integrity": "sha512-w2MJBjBPlmtbdHnkn5uQrLMHFfiGtSSDcvoWrXmx56IqwXd/WGA5nNfuwvCJ2C76QXNPNQbaEj7IgTkXSRffnQ==", "dev": true, "dependencies": { "@bugsnag/js": "^7.0.0", @@ -3372,11 +3372,11 @@ "@netlify/config": "^20.4.1", "@netlify/edge-bundler": "8.14.1", "@netlify/framework-info": "^9.8.6", - "@netlify/functions-utils": "^5.2.4", + "@netlify/functions-utils": "^5.2.5", "@netlify/git-utils": "^5.1.1", "@netlify/plugins-list": "^6.68.0", "@netlify/run-utils": "^5.1.0", - "@netlify/zip-it-and-ship-it": "9.3.0", + "@netlify/zip-it-and-ship-it": "9.3.1", "@sindresorhus/slugify": "^2.0.0", "ansi-escapes": "^6.0.0", "chalk": "^5.0.0", @@ -4747,23 +4747,23 @@ } }, "node_modules/@netlify/functions": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.4.0.tgz", - "integrity": "sha512-gy7ULTIRroc2/jyFVGx1djCmmBMVisIwrvkqggq5B6iDcInRSy2Tpkm+V5C63hKJVkNRskKWtLQKm9ecCaQTjA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.6.0.tgz", + "integrity": "sha512-6G92AlcpFrQG72XU8YH8pg94eDnq7+Q0YJhb8x4qNpdGsvuzvrfHWBmqFGp/Yshmv4wex9lpsTRZOocdrA2erQ==", "dependencies": { "is-promise": "^4.0.0" }, "engines": { - "node": ">=8.3.0" + "node": ">=14.0.0" } }, "node_modules/@netlify/functions-utils": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.4.tgz", - "integrity": "sha512-YZKlDH0isG3YXdj2OkPiD4UrAFu3tnWK1BnSQ6f1X0Xw1URiaCkq60WcyVaJiL3urB4Pf2baUWppscbF77MSUQ==", + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.5.tgz", + "integrity": "sha512-5hBipwtWfTPZ404EAuIvPVR6uLwAU2xqLlR8h3ptYY7BZSclvqfM6vGgfBIebn0qn/iwq1H04cOB5G7CVj4rVA==", "dev": true, "dependencies": { - "@netlify/zip-it-and-ship-it": "9.3.0", + "@netlify/zip-it-and-ship-it": "9.3.1", "cpy": "^8.1.0", "path-exists": "^5.0.0" }, @@ -5026,9 +5026,9 @@ } }, "node_modules/@netlify/zip-it-and-ship-it": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.3.0.tgz", - "integrity": "sha512-X76ZGlGSspZzZ/Cb527s+a3dPNl4maThy6MkMhX2fdj8tFLLB1htPDW0a6qjoH5+ZewHIdW7AjGSn1UBdenekQ==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.3.1.tgz", + "integrity": "sha512-lzi+/WrttQpCMfD1oP0XtbxETuZvvusDz1SyfldfZ/noZ0aZIGst2G+8SvkhVvyZP2TOlnScb06aSLUZjOcqpQ==", "dev": true, "dependencies": { "@babel/parser": "7.16.8", @@ -5055,7 +5055,7 @@ "normalize-path": "^3.0.0", "p-map": "^5.0.0", "path-exists": "^5.0.0", - "precinct": "^10.0.0", + "precinct": "^11.0.0", "require-package-name": "^2.0.1", "resolve": "^2.0.0-next.1", "semver": "^7.0.0", @@ -7065,12 +7065,12 @@ } }, "node_modules/ast-module-types": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-5.0.0.tgz", + "integrity": "sha512-JvqziE0Wc0rXQfma0HZC/aY7URXHFuZV84fJRtP8u+lhp0JYCNd5wJzVXP45t0PH0Mej3ynlzvdyITYIu0G4LQ==", "dev": true, "engines": { - "node": ">=12.0" + "node": ">=14" } }, "node_modules/ast-types-flow": { @@ -10324,46 +10324,46 @@ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" }, "node_modules/detective-amd": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-4.2.0.tgz", - "integrity": "sha512-RbuEJHz78A8nW7CklkqTzd8lDCN42En53dgEIsya0DilpkwslamSZDasLg8dJyxbw46OxhSQeY+C2btdSkCvQQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-5.0.1.tgz", + "integrity": "sha512-e7n0E0Wte78U9lcpl3hsTh1ZJ+zp/rgEbdbzGLgTowSbbSemuHnM8olp4KHMF1eCaurrCE50IU9VkoV13ezK4A==", "dev": true, "dependencies": { - "ast-module-types": "^4.0.0", + "ast-module-types": "^5.0.0", "escodegen": "^2.0.0", - "get-amd-module-type": "^4.1.0", - "node-source-walk": "^5.0.1" + "get-amd-module-type": "^5.0.0", + "node-source-walk": "^6.0.0" }, "bin": { "detective-amd": "bin/cli.js" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/detective-cjs": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-4.1.0.tgz", - "integrity": "sha512-QxzMwt5MfPLwS7mG30zvnmOvHLx5vyVvjsAV6gQOyuMoBR5G1DhS1eJZ4P10AlH+HSnk93mTcrg3l39+24XCtg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-5.0.1.tgz", + "integrity": "sha512-6nTvAZtpomyz/2pmEmGX1sXNjaqgMplhQkskq2MLrar0ZAIkHMrDhLXkRiK2mvbu9wSWr0V5/IfiTrZqAQMrmQ==", "dev": true, "dependencies": { - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1" + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/detective-es6": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-3.0.1.tgz", - "integrity": "sha512-evPeYIEdK1jK3Oji5p0hX4sPV/1vK+o4ihcWZkMQE6voypSW/cIBiynOLxQk5KOOQbdP8oOAsYqouMTYO5l1sw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-4.0.0.tgz", + "integrity": "sha512-mkK4wKxiZ6w+XXeZc+Cma4kpb5ZjuGQbpmvJdZuuDCJ59+Ddlqx3zP+vGMVs+u98pt2P4mu2a7CNNgAoG7jb7A==", "dev": true, "dependencies": { - "node-source-walk": "^5.0.0" + "node-source-walk": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/detective-postcss": { @@ -10409,59 +10409,59 @@ } }, "node_modules/detective-sass": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-4.1.3.tgz", - "integrity": "sha512-xGRbwGaGte57gvEqM8B9GDiURY3El/H49vA6g9wFkxq9zalmTlTAuqWu+BsH0iwonGPruLt55tZZDEZqPc6lag==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-5.0.0.tgz", + "integrity": "sha512-9H+B4gdUGKpYaSuFw43fseht6ROeygIA7F+fgN/mw+olQQ1E2o6Y1wOF4MtvUS8pOCo+pToMVtqFnX9gkLAvoA==", "dev": true, "dependencies": { "gonzales-pe": "^4.3.0", - "node-source-walk": "^5.0.1" + "node-source-walk": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/detective-scss": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-3.1.1.tgz", - "integrity": "sha512-FWkfru1jZBhUeuBsOeGKXKAVDrzYFSQFK2o2tuG/nCCFQ0U/EcXC157MNAcR5mmj+mCeneZzlkBOFJTesDjrww==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-4.0.0.tgz", + "integrity": "sha512-AnVt9XtKEvdRfKgj0Lgx/jQlR60bTL2RYPA/f/Lv4k9p1ki3Q0/SbSDz2nvftNISB4DBhmEHPIx30urqhETExw==", "dev": true, "dependencies": { "gonzales-pe": "^4.3.0", - "node-source-walk": "^5.0.1" + "node-source-walk": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/detective-stylus": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-3.0.0.tgz", - "integrity": "sha512-1xYTzbrduExqMYmte7Qk99IRA3Aa6oV7PYzd+3yDcQXkmENvyGF/arripri6lxRDdNYEb4fZFuHtNRAXbz3iAA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-4.0.0.tgz", + "integrity": "sha512-TfPotjhszKLgFBzBhTOxNHDsutIxx9GTWjrL5Wh7Qx/ydxKhwUrlSFeLIn+ZaHPF+h0siVBkAQSuy6CADyTxgQ==", "dev": true, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/detective-typescript": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-10.0.0.tgz", - "integrity": "sha512-1Y4Q96u93+LG3RBseA97ouX7LPYaB/QJNHwROTQiMTEZMff+p5VkquOI+RpRzDZCqo6IgyknMJELlrxNb9CQ1Q==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-11.0.1.tgz", + "integrity": "sha512-pVCuFWdEAyHI16zO3NBWSAULV8pevSkX3gwK8w3y9RrBGUrig6wDvwv6vUpnu+HfOr0MDmjMkmJGNWaTb6+HkA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "^5.58.0", - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1", + "@typescript-eslint/typescript-estree": "^5.59.2", + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0", "typescript": "^5.0.4" }, "engines": { - "node": "^12.20.0 || ^14.14.0 || >=16.0.0" + "node": "^14.14.0 || >=16.0.0" } }, "node_modules/detective-typescript/node_modules/@typescript-eslint/types": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.5.tgz", + "integrity": "sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -10472,13 +10472,13 @@ } }, "node_modules/detective-typescript/node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.2.tgz", - "integrity": "sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.5.tgz", + "integrity": "sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/visitor-keys": "5.59.2", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/visitor-keys": "5.59.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -10499,12 +10499,12 @@ } }, "node_modules/detective-typescript/node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz", + "integrity": "sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "5.59.2", + "@typescript-eslint/types": "5.59.5", "eslint-visitor-keys": "^3.3.0" }, "engines": { @@ -10516,9 +10516,9 @@ } }, "node_modules/detective-typescript/node_modules/eslint-visitor-keys": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", - "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -13363,16 +13363,16 @@ } }, "node_modules/get-amd-module-type": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-4.1.0.tgz", - "integrity": "sha512-0e/eK6vTGCnSfQ6eYs3wtH05KotJYIP7ZIZEueP/KlA+0dIAEs8bYFvOd/U56w1vfjhJqBagUxVMyy9Tr/cViQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-5.0.0.tgz", + "integrity": "sha512-9mUVPLcOJ8n6VvW+9QOCdYC350Rmqg/hK2I+mFrqoV4KtBkZVGZDnINzN8Zo3s5VoxWk8/isVC48W02+auxDaQ==", "dev": true, "dependencies": { - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1" + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/get-caller-file": { @@ -18233,19 +18233,19 @@ } }, "node_modules/module-definition": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-4.1.0.tgz", - "integrity": "sha512-rHXi/DpMcD2qcKbPCTklDbX9lBKJrUSl971TW5l6nMpqKCIlzJqmQ8cfEF5M923h2OOLHPDVlh5pJxNyV+AJlw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-5.0.0.tgz", + "integrity": "sha512-26AjFVhscVR/jXRisu65XBIVABTp5/hfFKIuOvckS+E2zClQZTXNRSpaVDG/LV0lE07BCEMHP3VxBeM/IZ4a8w==", "dev": true, "dependencies": { - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1" + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0" }, "bin": { "module-definition": "bin/cli.js" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/moize": { @@ -18783,15 +18783,15 @@ "dev": true }, "node_modules/node-source-walk": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.2.tgz", - "integrity": "sha512-Y4jr/8SRS5hzEdZ7SGuvZGwfORvNsSsNRwDXx5WisiqzsVfeftDvRgfeqWNgZvWSJbgubTRVRYBzK6UO+ErqjA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-6.0.1.tgz", + "integrity": "sha512-QUlkJYzrNewUCp4c7CCPN8Mh8c+pwNs23JsQfHKUwIkCxYa6c0AFLuUJIZxU6BdnarfytPSGKm1YMAz06hj9cw==", "dev": true, "dependencies": { - "@babel/parser": "^7.21.4" + "@babel/parser": "^7.21.8" }, "engines": { - "node": ">=12" + "node": ">=14" } }, "node_modules/node-stream-zip": { @@ -20183,38 +20183,38 @@ } }, "node_modules/precinct": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-10.0.1.tgz", - "integrity": "sha512-2oinJmkleAV4ORE7guunFGoNcP7dyWjXenUd7m4LX/spLbluKrV8Xgw4qGx7l71tR7YxtJ8/S6zl+uyR9ay+8w==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/precinct/-/precinct-11.0.2.tgz", + "integrity": "sha512-UuhB1q0nEFf80iMGcs7IoT0o1GnNFWT4CjZjcMsHDXAIsW/aiLovOSbeMJ2Ejg6raRsplsriZZkoBUh0h/IHlw==", "dev": true, "dependencies": { - "@dependents/detective-less": "^3.0.2", - "commander": "^9.5.0", - "detective-amd": "^4.2.0", - "detective-cjs": "^4.1.0", - "detective-es6": "^3.0.1", + "@dependents/detective-less": "^4.0.0", + "commander": "^10.0.1", + "detective-amd": "^5.0.1", + "detective-cjs": "^5.0.1", + "detective-es6": "^4.0.0", "detective-postcss": "^6.1.3", - "detective-sass": "^4.1.3", - "detective-scss": "^3.1.1", - "detective-stylus": "^3.0.0", - "detective-typescript": "^10.0.0", - "module-definition": "^4.1.0", - "node-source-walk": "^5.0.2" + "detective-sass": "^5.0.0", + "detective-scss": "^4.0.0", + "detective-stylus": "^4.0.0", + "detective-typescript": "^11.0.1", + "module-definition": "^5.0.0", + "node-source-walk": "^6.0.1" }, "bin": { "precinct": "bin/cli.js" }, "engines": { - "node": "^12.20.0 || ^14.14.0 || >=16.0.0" + "node": "^14.14.0 || >=16.0.0" } }, "node_modules/precinct/node_modules/commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true, "engines": { - "node": "^12.20.0 || >=14" + "node": ">=14" } }, "node_modules/prelude-ls": { @@ -24441,7 +24441,7 @@ }, "packages/next": { "name": "@netlify/next", - "version": "1.4.5", + "version": "1.4.6", "license": "MIT", "devDependencies": { "@netlify/edge-functions": "^2.0.0", @@ -24461,11 +24461,11 @@ }, "packages/runtime": { "name": "@netlify/plugin-nextjs", - "version": "4.36.0", + "version": "4.36.1", "license": "MIT", "dependencies": { "@netlify/esbuild": "0.14.39", - "@netlify/functions": "^1.4.0", + "@netlify/functions": "^1.6.0", "@netlify/ipx": "^1.4.0", "@vercel/node-bridge": "^2.1.0", "chalk": "^4.1.2", @@ -24490,7 +24490,7 @@ }, "devDependencies": { "@delucis/if-env": "^1.1.2", - "@netlify/build": "^29.11.1", + "@netlify/build": "^29.11.2", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.4.1", "@types/merge-stream": "^1.1.2", @@ -26245,13 +26245,13 @@ "dev": true }, "@dependents/detective-less": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-3.0.2.tgz", - "integrity": "sha512-1YUvQ+e0eeTWAHoN8Uz2x2U37jZs6IGutiIE5LXId7cxfUGhtZjzxE06FdUiuiRrW+UE0vNCdSNPH2lY4dQCOQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@dependents/detective-less/-/detective-less-4.0.0.tgz", + "integrity": "sha512-0udn+HKjGUzTX4Z+0vXdEJVsO28gxy5QxWjeChK4ZH+bwdvIXLuztiGZk8wLyAG1+LNZ5haVHKr5j1XfJnAkyQ==", "dev": true, "requires": { "gonzales-pe": "^4.3.0", - "node-source-walk": "^5.0.1" + "node-source-walk": "^6.0.0" } }, "@eslint/eslintrc": { @@ -26845,9 +26845,9 @@ "dev": true }, "@netlify/build": { - "version": "29.11.1", - "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.11.1.tgz", - "integrity": "sha512-Z/Be2ZzENeLvsuXBs2NaeVch5okHC8epIddP3HZqctcoqrrxNbDwfO/J7CT3kXfdjWmdxcFYh2aVcFPM3WdBsg==", + "version": "29.11.2", + "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.11.2.tgz", + "integrity": "sha512-w2MJBjBPlmtbdHnkn5uQrLMHFfiGtSSDcvoWrXmx56IqwXd/WGA5nNfuwvCJ2C76QXNPNQbaEj7IgTkXSRffnQ==", "dev": true, "requires": { "@bugsnag/js": "^7.0.0", @@ -26855,11 +26855,11 @@ "@netlify/config": "^20.4.1", "@netlify/edge-bundler": "8.14.1", "@netlify/framework-info": "^9.8.6", - "@netlify/functions-utils": "^5.2.4", + "@netlify/functions-utils": "^5.2.5", "@netlify/git-utils": "^5.1.1", "@netlify/plugins-list": "^6.68.0", "@netlify/run-utils": "^5.1.0", - "@netlify/zip-it-and-ship-it": "9.3.0", + "@netlify/zip-it-and-ship-it": "9.3.1", "@sindresorhus/slugify": "^2.0.0", "ansi-escapes": "^6.0.0", "chalk": "^5.0.0", @@ -27707,20 +27707,20 @@ } }, "@netlify/functions": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.4.0.tgz", - "integrity": "sha512-gy7ULTIRroc2/jyFVGx1djCmmBMVisIwrvkqggq5B6iDcInRSy2Tpkm+V5C63hKJVkNRskKWtLQKm9ecCaQTjA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.6.0.tgz", + "integrity": "sha512-6G92AlcpFrQG72XU8YH8pg94eDnq7+Q0YJhb8x4qNpdGsvuzvrfHWBmqFGp/Yshmv4wex9lpsTRZOocdrA2erQ==", "requires": { "is-promise": "^4.0.0" } }, "@netlify/functions-utils": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.4.tgz", - "integrity": "sha512-YZKlDH0isG3YXdj2OkPiD4UrAFu3tnWK1BnSQ6f1X0Xw1URiaCkq60WcyVaJiL3urB4Pf2baUWppscbF77MSUQ==", + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.5.tgz", + "integrity": "sha512-5hBipwtWfTPZ404EAuIvPVR6uLwAU2xqLlR8h3ptYY7BZSclvqfM6vGgfBIebn0qn/iwq1H04cOB5G7CVj4rVA==", "dev": true, "requires": { - "@netlify/zip-it-and-ship-it": "9.3.0", + "@netlify/zip-it-and-ship-it": "9.3.1", "cpy": "^8.1.0", "path-exists": "^5.0.0" } @@ -27839,9 +27839,9 @@ "version": "file:packages/runtime", "requires": { "@delucis/if-env": "^1.1.2", - "@netlify/build": "^29.11.1", + "@netlify/build": "^29.11.2", "@netlify/esbuild": "0.14.39", - "@netlify/functions": "^1.4.0", + "@netlify/functions": "^1.6.0", "@netlify/ipx": "^1.4.0", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.4.1", @@ -27974,9 +27974,9 @@ "dev": true }, "@netlify/zip-it-and-ship-it": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.3.0.tgz", - "integrity": "sha512-X76ZGlGSspZzZ/Cb527s+a3dPNl4maThy6MkMhX2fdj8tFLLB1htPDW0a6qjoH5+ZewHIdW7AjGSn1UBdenekQ==", + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.3.1.tgz", + "integrity": "sha512-lzi+/WrttQpCMfD1oP0XtbxETuZvvusDz1SyfldfZ/noZ0aZIGst2G+8SvkhVvyZP2TOlnScb06aSLUZjOcqpQ==", "dev": true, "requires": { "@babel/parser": "7.16.8", @@ -28003,7 +28003,7 @@ "normalize-path": "^3.0.0", "p-map": "^5.0.0", "path-exists": "^5.0.0", - "precinct": "^10.0.0", + "precinct": "^11.0.0", "require-package-name": "^2.0.1", "resolve": "^2.0.0-next.1", "semver": "^7.0.0", @@ -29482,9 +29482,9 @@ "dev": true }, "ast-module-types": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-4.0.0.tgz", - "integrity": "sha512-Kd0o8r6CDazJGCRzs8Ivpn0xj19oNKrULhoJFzhGjRsLpekF2zyZs9Ukz+JvZhWD6smszfepakTFhAaYpsI12g==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ast-module-types/-/ast-module-types-5.0.0.tgz", + "integrity": "sha512-JvqziE0Wc0rXQfma0HZC/aY7URXHFuZV84fJRtP8u+lhp0JYCNd5wJzVXP45t0PH0Mej3ynlzvdyITYIu0G4LQ==", "dev": true }, "ast-types-flow": { @@ -32028,34 +32028,34 @@ "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" }, "detective-amd": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-4.2.0.tgz", - "integrity": "sha512-RbuEJHz78A8nW7CklkqTzd8lDCN42En53dgEIsya0DilpkwslamSZDasLg8dJyxbw46OxhSQeY+C2btdSkCvQQ==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/detective-amd/-/detective-amd-5.0.1.tgz", + "integrity": "sha512-e7n0E0Wte78U9lcpl3hsTh1ZJ+zp/rgEbdbzGLgTowSbbSemuHnM8olp4KHMF1eCaurrCE50IU9VkoV13ezK4A==", "dev": true, "requires": { - "ast-module-types": "^4.0.0", + "ast-module-types": "^5.0.0", "escodegen": "^2.0.0", - "get-amd-module-type": "^4.1.0", - "node-source-walk": "^5.0.1" + "get-amd-module-type": "^5.0.0", + "node-source-walk": "^6.0.0" } }, "detective-cjs": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-4.1.0.tgz", - "integrity": "sha512-QxzMwt5MfPLwS7mG30zvnmOvHLx5vyVvjsAV6gQOyuMoBR5G1DhS1eJZ4P10AlH+HSnk93mTcrg3l39+24XCtg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/detective-cjs/-/detective-cjs-5.0.1.tgz", + "integrity": "sha512-6nTvAZtpomyz/2pmEmGX1sXNjaqgMplhQkskq2MLrar0ZAIkHMrDhLXkRiK2mvbu9wSWr0V5/IfiTrZqAQMrmQ==", "dev": true, "requires": { - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1" + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0" } }, "detective-es6": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-3.0.1.tgz", - "integrity": "sha512-evPeYIEdK1jK3Oji5p0hX4sPV/1vK+o4ihcWZkMQE6voypSW/cIBiynOLxQk5KOOQbdP8oOAsYqouMTYO5l1sw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detective-es6/-/detective-es6-4.0.0.tgz", + "integrity": "sha512-mkK4wKxiZ6w+XXeZc+Cma4kpb5ZjuGQbpmvJdZuuDCJ59+Ddlqx3zP+vGMVs+u98pt2P4mu2a7CNNgAoG7jb7A==", "dev": true, "requires": { - "node-source-walk": "^5.0.0" + "node-source-walk": "^6.0.0" } }, "detective-postcss": { @@ -32083,57 +32083,57 @@ } }, "detective-sass": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-4.1.3.tgz", - "integrity": "sha512-xGRbwGaGte57gvEqM8B9GDiURY3El/H49vA6g9wFkxq9zalmTlTAuqWu+BsH0iwonGPruLt55tZZDEZqPc6lag==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detective-sass/-/detective-sass-5.0.0.tgz", + "integrity": "sha512-9H+B4gdUGKpYaSuFw43fseht6ROeygIA7F+fgN/mw+olQQ1E2o6Y1wOF4MtvUS8pOCo+pToMVtqFnX9gkLAvoA==", "dev": true, "requires": { "gonzales-pe": "^4.3.0", - "node-source-walk": "^5.0.1" + "node-source-walk": "^6.0.0" } }, "detective-scss": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-3.1.1.tgz", - "integrity": "sha512-FWkfru1jZBhUeuBsOeGKXKAVDrzYFSQFK2o2tuG/nCCFQ0U/EcXC157MNAcR5mmj+mCeneZzlkBOFJTesDjrww==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detective-scss/-/detective-scss-4.0.0.tgz", + "integrity": "sha512-AnVt9XtKEvdRfKgj0Lgx/jQlR60bTL2RYPA/f/Lv4k9p1ki3Q0/SbSDz2nvftNISB4DBhmEHPIx30urqhETExw==", "dev": true, "requires": { "gonzales-pe": "^4.3.0", - "node-source-walk": "^5.0.1" + "node-source-walk": "^6.0.0" } }, "detective-stylus": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-3.0.0.tgz", - "integrity": "sha512-1xYTzbrduExqMYmte7Qk99IRA3Aa6oV7PYzd+3yDcQXkmENvyGF/arripri6lxRDdNYEb4fZFuHtNRAXbz3iAA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detective-stylus/-/detective-stylus-4.0.0.tgz", + "integrity": "sha512-TfPotjhszKLgFBzBhTOxNHDsutIxx9GTWjrL5Wh7Qx/ydxKhwUrlSFeLIn+ZaHPF+h0siVBkAQSuy6CADyTxgQ==", "dev": true }, "detective-typescript": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-10.0.0.tgz", - "integrity": "sha512-1Y4Q96u93+LG3RBseA97ouX7LPYaB/QJNHwROTQiMTEZMff+p5VkquOI+RpRzDZCqo6IgyknMJELlrxNb9CQ1Q==", + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-11.0.1.tgz", + "integrity": "sha512-pVCuFWdEAyHI16zO3NBWSAULV8pevSkX3gwK8w3y9RrBGUrig6wDvwv6vUpnu+HfOr0MDmjMkmJGNWaTb6+HkA==", "dev": true, "requires": { - "@typescript-eslint/typescript-estree": "^5.58.0", - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1", + "@typescript-eslint/typescript-estree": "^5.59.2", + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0", "typescript": "^5.0.4" }, "dependencies": { "@typescript-eslint/types": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.2.tgz", - "integrity": "sha512-LbJ/HqoVs2XTGq5shkiKaNTuVv5tTejdHgfdjqRUGdYhjW1crm/M7og2jhVskMt8/4wS3T1+PfFvL1K3wqYj4w==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.59.5.tgz", + "integrity": "sha512-xkfRPHbqSH4Ggx4eHRIO/eGL8XL4Ysb4woL8c87YuAo8Md7AUjyWKa9YMwTL519SyDPrfEgKdewjkxNCVeJW7w==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.2.tgz", - "integrity": "sha512-+j4SmbwVmZsQ9jEyBMgpuBD0rKwi9RxRpjX71Brr73RsYnEr3Lt5QZ624Bxphp8HUkSKfqGnPJp1kA5nl0Sh7Q==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.5.tgz", + "integrity": "sha512-+XXdLN2CZLZcD/mO7mQtJMvCkzRfmODbeSKuMY/yXbGkzvA9rJyDY5qDYNoiz2kP/dmyAxXquL2BvLQLJFPQIg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.2", - "@typescript-eslint/visitor-keys": "5.59.2", + "@typescript-eslint/types": "5.59.5", + "@typescript-eslint/visitor-keys": "5.59.5", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -32142,19 +32142,19 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "5.59.2", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.2.tgz", - "integrity": "sha512-EEpsO8m3RASrKAHI9jpavNv9NlEUebV4qmF1OWxSTtKSFBpC1NCmWazDQHFivRf0O1DV11BA645yrLEVQ0/Lig==", + "version": "5.59.5", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.5.tgz", + "integrity": "sha512-qL+Oz+dbeBRTeyJTIy0eniD3uvqU7x+y1QceBismZ41hd4aBSRh8UAw4pZP0+XzLuPZmx4raNMq/I+59W2lXKA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.59.2", + "@typescript-eslint/types": "5.59.5", "eslint-visitor-keys": "^3.3.0" } }, "eslint-visitor-keys": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", - "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==", + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", "dev": true }, "semver": { @@ -34274,13 +34274,13 @@ "dev": true }, "get-amd-module-type": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-4.1.0.tgz", - "integrity": "sha512-0e/eK6vTGCnSfQ6eYs3wtH05KotJYIP7ZIZEueP/KlA+0dIAEs8bYFvOd/U56w1vfjhJqBagUxVMyy9Tr/cViQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/get-amd-module-type/-/get-amd-module-type-5.0.0.tgz", + "integrity": "sha512-9mUVPLcOJ8n6VvW+9QOCdYC350Rmqg/hK2I+mFrqoV4KtBkZVGZDnINzN8Zo3s5VoxWk8/isVC48W02+auxDaQ==", "dev": true, "requires": { - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1" + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0" } }, "get-caller-file": { @@ -37990,13 +37990,13 @@ "dev": true }, "module-definition": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-4.1.0.tgz", - "integrity": "sha512-rHXi/DpMcD2qcKbPCTklDbX9lBKJrUSl971TW5l6nMpqKCIlzJqmQ8cfEF5M923h2OOLHPDVlh5pJxNyV+AJlw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/module-definition/-/module-definition-5.0.0.tgz", + "integrity": "sha512-26AjFVhscVR/jXRisu65XBIVABTp5/hfFKIuOvckS+E2zClQZTXNRSpaVDG/LV0lE07BCEMHP3VxBeM/IZ4a8w==", "dev": true, "requires": { - "ast-module-types": "^4.0.0", - "node-source-walk": "^5.0.1" + "ast-module-types": "^5.0.0", + "node-source-walk": "^6.0.0" } }, "moize": { @@ -38428,12 +38428,12 @@ "dev": true }, "node-source-walk": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-5.0.2.tgz", - "integrity": "sha512-Y4jr/8SRS5hzEdZ7SGuvZGwfORvNsSsNRwDXx5WisiqzsVfeftDvRgfeqWNgZvWSJbgubTRVRYBzK6UO+ErqjA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-6.0.1.tgz", + "integrity": "sha512-QUlkJYzrNewUCp4c7CCPN8Mh8c+pwNs23JsQfHKUwIkCxYa6c0AFLuUJIZxU6BdnarfytPSGKm1YMAz06hj9cw==", "dev": true, "requires": { - "@babel/parser": "^7.21.4" + "@babel/parser": "^7.21.8" } }, "node-stream-zip": { @@ -39437,29 +39437,29 @@ } }, "precinct": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/precinct/-/precinct-10.0.1.tgz", - "integrity": "sha512-2oinJmkleAV4ORE7guunFGoNcP7dyWjXenUd7m4LX/spLbluKrV8Xgw4qGx7l71tR7YxtJ8/S6zl+uyR9ay+8w==", + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/precinct/-/precinct-11.0.2.tgz", + "integrity": "sha512-UuhB1q0nEFf80iMGcs7IoT0o1GnNFWT4CjZjcMsHDXAIsW/aiLovOSbeMJ2Ejg6raRsplsriZZkoBUh0h/IHlw==", "dev": true, "requires": { - "@dependents/detective-less": "^3.0.2", - "commander": "^9.5.0", - "detective-amd": "^4.2.0", - "detective-cjs": "^4.1.0", - "detective-es6": "^3.0.1", + "@dependents/detective-less": "^4.0.0", + "commander": "^10.0.1", + "detective-amd": "^5.0.1", + "detective-cjs": "^5.0.1", + "detective-es6": "^4.0.0", "detective-postcss": "^6.1.3", - "detective-sass": "^4.1.3", - "detective-scss": "^3.1.1", - "detective-stylus": "^3.0.0", - "detective-typescript": "^10.0.0", - "module-definition": "^4.1.0", - "node-source-walk": "^5.0.2" + "detective-sass": "^5.0.0", + "detective-scss": "^4.0.0", + "detective-stylus": "^4.0.0", + "detective-typescript": "^11.0.1", + "module-definition": "^5.0.0", + "node-source-walk": "^6.0.1" }, "dependencies": { "commander": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", - "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-10.0.1.tgz", + "integrity": "sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==", "dev": true } } diff --git a/package.json b/package.json index 7129e53480..1dd1d08234 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@babel/preset-env": "^7.15.8", "@babel/preset-typescript": "^7.16.0", "@delucis/if-env": "^1.1.2", - "@netlify/build": "^29.11.1", + "@netlify/build": "^29.11.2", "@netlify/eslint-config-node": "^7.0.1", "@testing-library/cypress": "^9.0.0", "@types/fs-extra": "^9.0.13", diff --git a/packages/next/CHANGELOG.md b/packages/next/CHANGELOG.md index 072884e6e7..9fafed6755 100644 --- a/packages/next/CHANGELOG.md +++ b/packages/next/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.4.6](https://github.com/netlify/next-runtime/compare/next-v1.4.5...next-v1.4.6) (2023-05-08) + + +### Bug Fixes + +* update next to 13.3.0 & ensure compatibility ([#2056](https://github.com/netlify/next-runtime/issues/2056)) ([75ed977](https://github.com/netlify/next-runtime/commit/75ed977553edc36ac018191bee5bba08b800f722)) + ## [1.4.5](https://github.com/netlify/next-runtime/compare/next-v1.4.4...next-v1.4.5) (2023-04-10) diff --git a/packages/next/package.json b/packages/next/package.json index 15667ad541..7df37f4fc7 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/next", - "version": "1.4.5", + "version": "1.4.6", "description": "Enhanced Next.js features on Netlify", "main": "lib/index.js", "files": [ diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index a02e3702f6..b1ae7b795c 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [4.36.1](https://github.com/netlify/next-runtime/compare/plugin-nextjs-v4.36.0...plugin-nextjs-v4.36.1) (2023-05-08) + + +### Bug Fixes + +* add shim for `require('node:buffer')` ([#2050](https://github.com/netlify/next-runtime/issues/2050)) ([e007b08](https://github.com/netlify/next-runtime/commit/e007b08aad356674279ab6649ef4e27d355918f0)) +* Legacy fallback env var ([#2074](https://github.com/netlify/next-runtime/issues/2074)) ([aad9e5f](https://github.com/netlify/next-runtime/commit/aad9e5f738e5f3e1391e1c0e8f65a526bcbc9ac8)) +* make large lambda warning message more informative ([#2057](https://github.com/netlify/next-runtime/issues/2057)) ([b4cb75b](https://github.com/netlify/next-runtime/commit/b4cb75b7d71901aa8c1902067ffafecad19fd9d8)) +* resolve next-server from next app directory and not from plugin ([#2059](https://github.com/netlify/next-runtime/issues/2059)) ([38f34c7](https://github.com/netlify/next-runtime/commit/38f34c7d8f7f06c96073ebed54675fea38eca7fa)) +* Respect `pageExtensions` config setting ([#2073](https://github.com/netlify/next-runtime/issues/2073)) ([940cbbc](https://github.com/netlify/next-runtime/commit/940cbbc38d320677bdc8ade4616d1733ebfda2c7)) +* update next to 13.3.0 & ensure compatibility ([#2056](https://github.com/netlify/next-runtime/issues/2056)) ([75ed977](https://github.com/netlify/next-runtime/commit/75ed977553edc36ac018191bee5bba08b800f722)) +* workaround netlify-cli not matching prod ([#2030](https://github.com/netlify/next-runtime/issues/2030)) ([fd29ea5](https://github.com/netlify/next-runtime/commit/fd29ea5b7b608d71fcb111c17a92f3dec6d021a9)) + ## [4.36.0](https://github.com/netlify/next-runtime/compare/plugin-nextjs-v4.35.0...plugin-nextjs-v4.36.0) (2023-04-24) diff --git a/packages/runtime/package.json b/packages/runtime/package.json index cd7968a75e..c3b602a3a4 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/plugin-nextjs", - "version": "4.36.0", + "version": "4.36.1", "description": "Run Next.js seamlessly on Netlify", "main": "index.js", "files": [ @@ -12,7 +12,7 @@ ], "dependencies": { "@netlify/esbuild": "0.14.39", - "@netlify/functions": "^1.4.0", + "@netlify/functions": "^1.6.0", "@netlify/ipx": "^1.4.0", "@vercel/node-bridge": "^2.1.0", "chalk": "^4.1.2", @@ -37,7 +37,7 @@ }, "devDependencies": { "@delucis/if-env": "^1.1.2", - "@netlify/build": "^29.11.1", + "@netlify/build": "^29.11.2", "@types/fs-extra": "^9.0.13", "@types/jest": "^27.4.1", "@types/merge-stream": "^1.1.2", diff --git a/packages/runtime/src/helpers/files.ts b/packages/runtime/src/helpers/files.ts index c086e78f3a..28c6e3c84e 100644 --- a/packages/runtime/src/helpers/files.ts +++ b/packages/runtime/src/helpers/files.ts @@ -353,6 +353,11 @@ export const getSourceFileForPage = (page: string, roots: string[], pageExtensio if (existsSync(file)) { return file } + + const fileAtFolderIndex = join(root, page, `index.${extension}`) + if (existsSync(fileAtFolderIndex)) { + return fileAtFolderIndex + } } } console.log('Could not find source file for page', page) diff --git a/test/fixtures/page-extensions/index/pages/api/index/index.js b/test/fixtures/page-extensions/index/pages/api/index/index.js new file mode 100644 index 0000000000..172f1ae6a4 --- /dev/null +++ b/test/fixtures/page-extensions/index/pages/api/index/index.js @@ -0,0 +1 @@ +// noop diff --git a/test/helpers/files.spec.ts b/test/helpers/files.spec.ts index 02672a3958..019dd38b64 100644 --- a/test/helpers/files.spec.ts +++ b/test/helpers/files.spec.ts @@ -237,4 +237,13 @@ describe('getSourceFileForPage', () => { expect(filePath.replace(TEST_DIR, '')).toBe('/fixtures/page-extensions/custom/pages/api/custom.api.js') }) + + it('handles getting file when index of folder', () => { + const pagesDir = resolve(__dirname, '../fixtures/page-extensions/index/pages') + const apiRoute = '/api/index' + + const filePath = getSourceFileForPage(apiRoute, [pagesDir]) + + expect(filePath.replace(TEST_DIR, '')).toBe('/fixtures/page-extensions/index/pages/api/index/index.js') + }) })