diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 27f988b9a1..d121645c34 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,10 +1,10 @@ { - "packages/build-info": "7.10.2", - "packages/build": "29.26.1", + "packages/build-info": "7.11.1", + "packages/build": "29.26.3", "packages/cache-utils": "5.1.5", "packages/config": "20.9.0", "packages/framework-info": "9.8.10", - "packages/functions-utils": "5.2.39", + "packages/functions-utils": "5.2.40", "packages/git-utils": "5.1.1", "packages/headers-parser": "7.1.2", "packages/js-client": "13.1.10", diff --git a/package-lock.json b/package-lock.json index 92f222562d..8ad725882c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6209,9 +6209,9 @@ "link": true }, "node_modules/@netlify/edge-bundler": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/@netlify/edge-bundler/-/edge-bundler-9.5.0.tgz", - "integrity": "sha512-spf1/LNjISBV1q/BZKrmGJXOkZzMqtiS5O8QU5uRsza1O8KEXTLli+X+mqtW8w7u0VS5dkxPHTqGqnNb9cuQDg==", + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@netlify/edge-bundler/-/edge-bundler-10.1.0.tgz", + "integrity": "sha512-l8Stf7RarqgOp6Py43DxG5PI/PLqgkFX0c3TXTDzekgP5G811QxxgIfEHc347Zm0bQAdZiO9F/iTXEAH2InB9Q==", "dependencies": { "@import-maps/resolve": "^1.0.1", "@vercel/nft": "^0.24.3", @@ -6220,7 +6220,7 @@ "better-ajv-errors": "^1.2.0", "common-path-prefix": "^3.0.0", "env-paths": "^3.0.0", - "esbuild": "0.19.4", + "esbuild": "0.19.5", "execa": "^6.0.0", "find-up": "^6.3.0", "get-package-name": "^2.2.0", @@ -6243,9 +6243,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/android-arm": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.4.tgz", - "integrity": "sha512-uBIbiYMeSsy2U0XQoOGVVcpIktjLMEKa7ryz2RLr7L/vTnANNEsPVAh4xOv7ondGz6ac1zVb0F8Jx20rQikffQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz", + "integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==", "cpu": [ "arm" ], @@ -6258,9 +6258,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/android-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.4.tgz", - "integrity": "sha512-mRsi2vJsk4Bx/AFsNBqOH2fqedxn5L/moT58xgg51DjX1la64Z3Npicut2VbhvDFO26qjWtPMsVxCd80YTFVeg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz", + "integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==", "cpu": [ "arm64" ], @@ -6273,9 +6273,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/android-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.4.tgz", - "integrity": "sha512-4iPufZ1TMOD3oBlGFqHXBpa3KFT46aLl6Vy7gwed0ZSYgHaZ/mihbYb4t7Z9etjkC9Al3ZYIoOaHrU60gcMy7g==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz", + "integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==", "cpu": [ "x64" ], @@ -6288,9 +6288,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/darwin-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.4.tgz", - "integrity": "sha512-Lviw8EzxsVQKpbS+rSt6/6zjn9ashUZ7Tbuvc2YENgRl0yZTktGlachZ9KMJUsVjZEGFVu336kl5lBgDN6PmpA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz", + "integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==", "cpu": [ "arm64" ], @@ -6303,9 +6303,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/darwin-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.4.tgz", - "integrity": "sha512-YHbSFlLgDwglFn0lAO3Zsdrife9jcQXQhgRp77YiTDja23FrC2uwnhXMNkAucthsf+Psr7sTwYEryxz6FPAVqw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz", + "integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==", "cpu": [ "x64" ], @@ -6318,9 +6318,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.4.tgz", - "integrity": "sha512-vz59ijyrTG22Hshaj620e5yhs2dU1WJy723ofc+KUgxVCM6zxQESmWdMuVmUzxtGqtj5heHyB44PjV/HKsEmuQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz", + "integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==", "cpu": [ "arm64" ], @@ -6333,9 +6333,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/freebsd-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.4.tgz", - "integrity": "sha512-3sRbQ6W5kAiVQRBWREGJNd1YE7OgzS0AmOGjDmX/qZZecq8NFlQsQH0IfXjjmD0XtUYqr64e0EKNFjMUlPL3Cw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz", + "integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==", "cpu": [ "x64" ], @@ -6348,9 +6348,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-arm": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.4.tgz", - "integrity": "sha512-z/4ArqOo9EImzTi4b6Vq+pthLnepFzJ92BnofU1jgNlcVb+UqynVFdoXMCFreTK7FdhqAzH0vmdwW5373Hm9pg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz", + "integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==", "cpu": [ "arm" ], @@ -6363,9 +6363,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.4.tgz", - "integrity": "sha512-ZWmWORaPbsPwmyu7eIEATFlaqm0QGt+joRE9sKcnVUG3oBbr/KYdNE2TnkzdQwX6EDRdg/x8Q4EZQTXoClUqqA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz", + "integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==", "cpu": [ "arm64" ], @@ -6378,9 +6378,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-ia32": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.4.tgz", - "integrity": "sha512-EGc4vYM7i1GRUIMqRZNCTzJh25MHePYsnQfKDexD8uPTCm9mK56NIL04LUfX2aaJ+C9vyEp2fJ7jbqFEYgO9lQ==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz", + "integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==", "cpu": [ "ia32" ], @@ -6393,9 +6393,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-loong64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.4.tgz", - "integrity": "sha512-WVhIKO26kmm8lPmNrUikxSpXcgd6HDog0cx12BUfA2PkmURHSgx9G6vA19lrlQOMw+UjMZ+l3PpbtzffCxFDRg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz", + "integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==", "cpu": [ "loong64" ], @@ -6408,9 +6408,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-mips64el": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.4.tgz", - "integrity": "sha512-keYY+Hlj5w86hNp5JJPuZNbvW4jql7c1eXdBUHIJGTeN/+0QFutU3GrS+c27L+NTmzi73yhtojHk+lr2+502Mw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz", + "integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==", "cpu": [ "mips64el" ], @@ -6423,9 +6423,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-ppc64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.4.tgz", - "integrity": "sha512-tQ92n0WMXyEsCH4m32S21fND8VxNiVazUbU4IUGVXQpWiaAxOBvtOtbEt3cXIV3GEBydYsY8pyeRMJx9kn3rvw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz", + "integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==", "cpu": [ "ppc64" ], @@ -6438,9 +6438,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-riscv64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.4.tgz", - "integrity": "sha512-tRRBey6fG9tqGH6V75xH3lFPpj9E8BH+N+zjSUCnFOX93kEzqS0WdyJHkta/mmJHn7MBaa++9P4ARiU4ykjhig==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz", + "integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==", "cpu": [ "riscv64" ], @@ -6453,9 +6453,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-s390x": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.4.tgz", - "integrity": "sha512-152aLpQqKZYhThiJ+uAM4PcuLCAOxDsCekIbnGzPKVBRUDlgaaAfaUl5NYkB1hgY6WN4sPkejxKlANgVcGl9Qg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz", + "integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==", "cpu": [ "s390x" ], @@ -6468,9 +6468,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/linux-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.4.tgz", - "integrity": "sha512-Mi4aNA3rz1BNFtB7aGadMD0MavmzuuXNTaYL6/uiYIs08U7YMPETpgNn5oue3ICr+inKwItOwSsJDYkrE9ekVg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz", + "integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==", "cpu": [ "x64" ], @@ -6483,9 +6483,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/netbsd-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.4.tgz", - "integrity": "sha512-9+Wxx1i5N/CYo505CTT7T+ix4lVzEdz0uCoYGxM5JDVlP2YdDC1Bdz+Khv6IbqmisT0Si928eAxbmGkcbiuM/A==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz", + "integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==", "cpu": [ "x64" ], @@ -6498,9 +6498,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/openbsd-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.4.tgz", - "integrity": "sha512-MFsHleM5/rWRW9EivFssop+OulYVUoVcqkyOkjiynKBCGBj9Lihl7kh9IzrreDyXa4sNkquei5/DTP4uCk25xw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz", + "integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==", "cpu": [ "x64" ], @@ -6513,9 +6513,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/sunos-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.4.tgz", - "integrity": "sha512-6Xq8SpK46yLvrGxjp6HftkDwPP49puU4OF0hEL4dTxqCbfx09LyrbUj/D7tmIRMj5D5FCUPksBbxyQhp8tmHzw==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz", + "integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==", "cpu": [ "x64" ], @@ -6528,9 +6528,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/win32-arm64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.4.tgz", - "integrity": "sha512-PkIl7Jq4mP6ke7QKwyg4fD4Xvn8PXisagV/+HntWoDEdmerB2LTukRZg728Yd1Fj+LuEX75t/hKXE2Ppk8Hh1w==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz", + "integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==", "cpu": [ "arm64" ], @@ -6543,9 +6543,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/win32-ia32": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.4.tgz", - "integrity": "sha512-ga676Hnvw7/ycdKB53qPusvsKdwrWzEyJ+AtItHGoARszIqvjffTwaaW3b2L6l90i7MO9i+dlAW415INuRhSGg==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz", + "integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==", "cpu": [ "ia32" ], @@ -6558,9 +6558,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/@esbuild/win32-x64": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.4.tgz", - "integrity": "sha512-HP0GDNla1T3ZL8Ko/SHAS2GgtjOg+VmWnnYLhuTksr++EnduYB0f3Y2LzHsUwb2iQ13JGoY6G3R8h6Du/WG6uA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz", + "integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==", "cpu": [ "x64" ], @@ -6597,9 +6597,9 @@ } }, "node_modules/@netlify/edge-bundler/node_modules/esbuild": { - "version": "0.19.4", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.4.tgz", - "integrity": "sha512-x7jL0tbRRpv4QUyuDMjONtWFciygUxWaUM1kMX2zWxI0X2YWOt7MSA0g4UdeSiHM8fcYVzpQhKYOycZwxTdZkA==", + "version": "0.19.5", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz", + "integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==", "hasInstallScript": true, "bin": { "esbuild": "bin/esbuild" @@ -6608,28 +6608,28 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/android-arm": "0.19.4", - "@esbuild/android-arm64": "0.19.4", - "@esbuild/android-x64": "0.19.4", - "@esbuild/darwin-arm64": "0.19.4", - "@esbuild/darwin-x64": "0.19.4", - "@esbuild/freebsd-arm64": "0.19.4", - "@esbuild/freebsd-x64": "0.19.4", - "@esbuild/linux-arm": "0.19.4", - "@esbuild/linux-arm64": "0.19.4", - "@esbuild/linux-ia32": "0.19.4", - "@esbuild/linux-loong64": "0.19.4", - "@esbuild/linux-mips64el": "0.19.4", - "@esbuild/linux-ppc64": "0.19.4", - "@esbuild/linux-riscv64": "0.19.4", - "@esbuild/linux-s390x": "0.19.4", - "@esbuild/linux-x64": "0.19.4", - "@esbuild/netbsd-x64": "0.19.4", - "@esbuild/openbsd-x64": "0.19.4", - "@esbuild/sunos-x64": "0.19.4", - "@esbuild/win32-arm64": "0.19.4", - "@esbuild/win32-ia32": "0.19.4", - "@esbuild/win32-x64": "0.19.4" + "@esbuild/android-arm": "0.19.5", + "@esbuild/android-arm64": "0.19.5", + "@esbuild/android-x64": "0.19.5", + "@esbuild/darwin-arm64": "0.19.5", + "@esbuild/darwin-x64": "0.19.5", + "@esbuild/freebsd-arm64": "0.19.5", + "@esbuild/freebsd-x64": "0.19.5", + "@esbuild/linux-arm": "0.19.5", + "@esbuild/linux-arm64": "0.19.5", + "@esbuild/linux-ia32": "0.19.5", + "@esbuild/linux-loong64": "0.19.5", + "@esbuild/linux-mips64el": "0.19.5", + "@esbuild/linux-ppc64": "0.19.5", + "@esbuild/linux-riscv64": "0.19.5", + "@esbuild/linux-s390x": "0.19.5", + "@esbuild/linux-x64": "0.19.5", + "@esbuild/netbsd-x64": "0.19.5", + "@esbuild/openbsd-x64": "0.19.5", + "@esbuild/sunos-x64": "0.19.5", + "@esbuild/win32-arm64": "0.19.5", + "@esbuild/win32-ia32": "0.19.5", + "@esbuild/win32-x64": "0.19.5" } }, "node_modules/@netlify/edge-bundler/node_modules/execa": { @@ -6820,9 +6820,9 @@ "integrity": "sha512-RkucRf8o0vYhCDXCRHWU/EdhkVE3JhkqKmZFvMW6qCPD206GV2Cfo9JGSKb0NdN+nmHSNaYmd+9dvT6I9MP4pw==" }, "node_modules/@netlify/plugins-list": { - "version": "6.71.0", - "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.71.0.tgz", - "integrity": "sha512-sKMRRAzDHG+UeFYkcxAvrAxcYKPJasksGfZ5jegEpBGsHi8F4Ilkadfm9gIvq2V1dl+6El+QupPlw2YTeVRdvA==", + "version": "6.72.0", + "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.72.0.tgz", + "integrity": "sha512-GB3HxvUmOAkB6V3Tau7iQT7aH2NssmQHAgHWMrdD7pDfjcU6Vg0WcQfOWovjx2Bh6M0urOsJkBboX2egCuicEQ==", "engines": { "node": "^14.14.0 || >=16.0.0" } @@ -6832,9 +6832,9 @@ "link": true }, "node_modules/@netlify/serverless-functions-api": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.11.0.tgz", - "integrity": "sha512-3splAsr2CekL7VTwgo6yTvzD2+f269/s+TJafYazonqMNNo31yzvFxD5HpLtni4DNE1ppymVKZ4X/rLN3yl0vQ==", + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.12.0.tgz", + "integrity": "sha512-LJt2gHzLQMgJLsLG9Chbu2Pxxi7Yzbj3Xcd9QlThvUlD7kf4nAr3lzzRJMZqo77rVNmfQX11W1uvGMSlduiKeA==", "dependencies": { "@netlify/node-cookies": "^0.1.0", "urlpattern-polyfill": "8.0.2" @@ -6848,14 +6848,14 @@ "link": true }, "node_modules/@netlify/zip-it-and-ship-it": { - "version": "9.26.0", - "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.26.0.tgz", - "integrity": "sha512-89/rTegMGoQe3P5C/KoVJD2BSqwhRqyH/R/sG9+7olwLYHrsw4Txz/8nyB4GeF3YYNEL1UymhZXSd0R7ELg6ig==", + "version": "9.26.1", + "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.26.1.tgz", + "integrity": "sha512-1hJcNIqXU7y5TgAACaRZp4vu3Bknl2pD6Aq3WOdY4T1zuB/SyKOn8Im6wwYElpc4n5LDGIOPyJlLDNo+DOwoWA==", "dependencies": { "@babel/parser": "^7.22.5", "@babel/types": "7.23.0", "@netlify/binary-info": "^1.0.0", - "@netlify/serverless-functions-api": "^1.11.0", + "@netlify/serverless-functions-api": "^1.12.0", "@vercel/nft": "^0.23.0", "archiver": "^6.0.0", "common-path-prefix": "^3.0.0", @@ -25992,20 +25992,20 @@ }, "packages/build": { "name": "@netlify/build", - "version": "29.26.0", + "version": "29.26.3", "license": "MIT", "dependencies": { "@bugsnag/js": "^7.0.0", "@honeycombio/opentelemetry-node": "^0.5.0", "@netlify/cache-utils": "^5.1.5", "@netlify/config": "^20.9.0", - "@netlify/edge-bundler": "9.5.0", + "@netlify/edge-bundler": "10.1.0", "@netlify/framework-info": "^9.8.10", - "@netlify/functions-utils": "^5.2.38", + "@netlify/functions-utils": "^5.2.40", "@netlify/git-utils": "^5.1.1", - "@netlify/plugins-list": "^6.71.0", + "@netlify/plugins-list": "^6.72.0", "@netlify/run-utils": "^5.1.1", - "@netlify/zip-it-and-ship-it": "9.26.0", + "@netlify/zip-it-and-ship-it": "9.26.1", "@opentelemetry/api": "^1.4.1", "@opentelemetry/core": "^1.17.1", "@sindresorhus/slugify": "^2.0.0", @@ -26083,7 +26083,7 @@ }, "packages/build-info": { "name": "@netlify/build-info", - "version": "7.10.2", + "version": "7.11.1", "license": "MIT", "dependencies": { "@bugsnag/js": "^7.20.0", @@ -26890,10 +26890,10 @@ }, "packages/functions-utils": { "name": "@netlify/functions-utils", - "version": "5.2.38", + "version": "5.2.40", "license": "MIT", "dependencies": { - "@netlify/zip-it-and-ship-it": "9.26.0", + "@netlify/zip-it-and-ship-it": "9.26.1", "cpy": "^9.0.0", "path-exists": "^5.0.0" }, diff --git a/packages/build-info/CHANGELOG.md b/packages/build-info/CHANGELOG.md index b825a9ec9b..5a793edddc 100644 --- a/packages/build-info/CHANGELOG.md +++ b/packages/build-info/CHANGELOG.md @@ -64,6 +64,20 @@ * dependencies * @netlify/framework-info bumped from ^9.8.8 to ^9.8.9 +## [7.11.1](https://github.com/netlify/build/compare/build-info-v7.11.0...build-info-v7.11.1) (2023-11-09) + + +### Bug Fixes + +* for angular v17, detect publish directory from `angular.json` ([#5373](https://github.com/netlify/build/issues/5373)) ([5cf6370](https://github.com/netlify/build/commit/5cf63704122a5aff52b20c4e54e4a8a507f62799)) + +## [7.11.0](https://github.com/netlify/build/compare/build-info-v7.10.2...build-info-v7.11.0) (2023-11-08) + + +### Features + +* autoinstall Angular v17 ([#5367](https://github.com/netlify/build/issues/5367)) ([6a75332](https://github.com/netlify/build/commit/6a753323fe0d777b370e058c6c41ca9f8842b538)) + ## [7.10.2](https://github.com/netlify/build/compare/build-info-v7.10.1...build-info-v7.10.2) (2023-10-24) diff --git a/packages/build-info/package.json b/packages/build-info/package.json index 1e38924d78..0e3cf6a19c 100644 --- a/packages/build-info/package.json +++ b/packages/build-info/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/build-info", - "version": "7.10.2", + "version": "7.11.1", "description": "Build info utility", "type": "module", "exports": { diff --git a/packages/build-info/src/frameworks/angular.test.ts b/packages/build-info/src/frameworks/angular.test.ts index cb2e1c77a5..966ae11641 100644 --- a/packages/build-info/src/frameworks/angular.test.ts +++ b/packages/build-info/src/frameworks/angular.test.ts @@ -10,13 +10,36 @@ beforeEach((ctx) => { test('should detect Angular', async ({ fs }) => { const cwd = mockFileSystem({ - 'package.json': JSON.stringify({ dependencies: { '@angular/cli': '1.2.3' } }), - 'angular.json': '', + 'package.json': JSON.stringify({ dependencies: { '@angular/cli': '17.0.0' } }), + 'angular.json': JSON.stringify({ + projects: { + demo: { + architect: { + build: { + options: { + outputPath: 'dist/demo', + }, + }, + }, + }, + }, + }), }) const detected = await new Project(fs, cwd).detectFrameworks() expect(detected?.[0].id).toBe('angular') expect(detected?.[0].name).toBe('Angular') expect(detected?.[0].build.command).toBe('ng build --prod') - expect(detected?.[0].build.directory).toBe('dist/') + expect(detected?.[0].build.directory).toBe(fs.join('dist', 'demo', 'browser')) expect(detected?.[0].dev?.command).toBe('ng serve') + expect(detected?.[0].plugins).toEqual(['@netlify/angular-runtime']) +}) + +test('should only install plugin on v17+', async ({ fs }) => { + const cwd = mockFileSystem({ + 'package.json': JSON.stringify({ dependencies: { '@angular/cli': '16.0.0' } }), + 'angular.json': '', + }) + const detected = await new Project(fs, cwd).detectFrameworks() + expect(detected?.[0].build.directory).toBe('dist/') + expect(detected?.[0].plugins).toEqual([]) }) diff --git a/packages/build-info/src/frameworks/angular.ts b/packages/build-info/src/frameworks/angular.ts index e2e669469b..cd50c4bd6b 100644 --- a/packages/build-info/src/frameworks/angular.ts +++ b/packages/build-info/src/frameworks/angular.ts @@ -1,4 +1,6 @@ -import { BaseFramework, Category, Framework } from './framework.js' +import { gte } from 'semver' + +import { BaseFramework, Category, DetectedFramework, Framework } from './framework.js' export class Angular extends BaseFramework implements Framework { readonly id = 'angular' @@ -23,4 +25,24 @@ export class Angular extends BaseFramework implements Framework { light: '/logos/angular/default.svg', dark: '/logos/angular/default.svg', } + + async detect(): Promise { + await super.detect() + + if (this.detected) { + if (this.version && gte(this.version, '17.0.0-rc')) { + this.plugins.push('@netlify/angular-runtime') + const angularJson = await this.project.fs.gracefullyReadFile('angular.json') + if (angularJson) { + const { projects, defaultProject } = JSON.parse(angularJson) + const project = projects[defaultProject ?? Object.keys(projects)[0]] + const outputPath = project?.architect?.build?.options?.outputPath + if (outputPath) { + this.build.directory = this.project.fs.join(outputPath, 'browser') + } + } + } + return this as DetectedFramework + } + } } diff --git a/packages/build/CHANGELOG.md b/packages/build/CHANGELOG.md index d396002f15..b1221b11d0 100644 --- a/packages/build/CHANGELOG.md +++ b/packages/build/CHANGELOG.md @@ -105,6 +105,28 @@ * dependencies * @netlify/config bumped from ^20.8.0 to ^20.8.1 +## [29.26.3](https://github.com/netlify/build/compare/build-v29.26.2...build-v29.26.3) (2023-11-09) + + +### Bug Fixes + +* **deps:** update dependency @netlify/edge-bundler to v10 ([#5368](https://github.com/netlify/build/issues/5368)) ([4c3a944](https://github.com/netlify/build/commit/4c3a944b2b8b091130435b8edd787a187e05dafd)) +* **deps:** update dependency @netlify/zip-it-and-ship-it to v9.26.1 ([#5376](https://github.com/netlify/build/issues/5376)) ([36e3808](https://github.com/netlify/build/commit/36e380864177a0b8e9d216308eed53c51efb8caa)) + + +### Dependencies + +* The following workspace dependencies were updated + * dependencies + * @netlify/functions-utils bumped from ^5.2.39 to ^5.2.40 + +## [29.26.2](https://github.com/netlify/build/compare/build-v29.26.1...build-v29.26.2) (2023-11-08) + + +### Bug Fixes + +* **deps:** update dependency @netlify/plugins-list to ^6.72.0 ([#5372](https://github.com/netlify/build/issues/5372)) ([fede9ba](https://github.com/netlify/build/commit/fede9ba5779fa41159b9e064cb1798378b219f58)) + ## [29.26.1](https://github.com/netlify/build/compare/build-v29.26.0...build-v29.26.1) (2023-11-07) diff --git a/packages/build/package.json b/packages/build/package.json index f61f6c58d6..c636b4c4dc 100644 --- a/packages/build/package.json +++ b/packages/build/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/build", - "version": "29.26.1", + "version": "29.26.3", "description": "Netlify build module", "type": "module", "exports": "./lib/index.js", @@ -68,13 +68,13 @@ "@honeycombio/opentelemetry-node": "^0.5.0", "@netlify/cache-utils": "^5.1.5", "@netlify/config": "^20.9.0", - "@netlify/edge-bundler": "9.5.0", + "@netlify/edge-bundler": "10.1.0", "@netlify/framework-info": "^9.8.10", - "@netlify/functions-utils": "^5.2.39", + "@netlify/functions-utils": "^5.2.40", "@netlify/git-utils": "^5.1.1", - "@netlify/plugins-list": "^6.71.0", + "@netlify/plugins-list": "^6.72.0", "@netlify/run-utils": "^5.1.1", - "@netlify/zip-it-and-ship-it": "9.26.0", + "@netlify/zip-it-and-ship-it": "9.26.1", "@opentelemetry/api": "^1.4.1", "@opentelemetry/core": "^1.17.1", "@sindresorhus/slugify": "^2.0.0", diff --git a/packages/functions-utils/CHANGELOG.md b/packages/functions-utils/CHANGELOG.md index 73f92af7c9..f1c0931f5c 100644 --- a/packages/functions-utils/CHANGELOG.md +++ b/packages/functions-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [5.2.40](https://github.com/netlify/build/compare/functions-utils-v5.2.39...functions-utils-v5.2.40) (2023-11-09) + + +### Bug Fixes + +* **deps:** update dependency @netlify/zip-it-and-ship-it to v9.26.1 ([#5376](https://github.com/netlify/build/issues/5376)) ([36e3808](https://github.com/netlify/build/commit/36e380864177a0b8e9d216308eed53c51efb8caa)) + ## [5.2.39](https://github.com/netlify/build/compare/functions-utils-v5.2.38...functions-utils-v5.2.39) (2023-11-07) diff --git a/packages/functions-utils/package.json b/packages/functions-utils/package.json index c9540334a9..1f70a2e513 100644 --- a/packages/functions-utils/package.json +++ b/packages/functions-utils/package.json @@ -1,6 +1,6 @@ { "name": "@netlify/functions-utils", - "version": "5.2.39", + "version": "5.2.40", "description": "Utility for adding Functions files in Netlify Build", "type": "module", "exports": "./lib/main.js", @@ -50,7 +50,7 @@ }, "license": "MIT", "dependencies": { - "@netlify/zip-it-and-ship-it": "9.26.0", + "@netlify/zip-it-and-ship-it": "9.26.1", "cpy": "^9.0.0", "path-exists": "^5.0.0" },