diff --git a/de/guide/migrating-5.md b/de/guide/migrating-5.md index 3e59ad898b..e26480ef40 100755 --- a/de/guide/migrating-5.md +++ b/de/guide/migrating-5.md @@ -17,7 +17,7 @@ Express 5 unterscheidet sich nicht allzu sehr von Express 4: Die Änderungen an Zum Installieren der aktuellen Alpha-Version und zur Vorschau von Express 5 geben Sie den folgenden Befehl im Stammverzeichnis Ihrer Anwendung ein: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` Sie können Ihre automatisierten Tests ausführen, um zu sehen, was fehlschlägt, und Probleme gemäß den folgenden Updates beheben. Nachdem Sie alle Testfehler behoben haben, führen Sie Ihre Anwendung aus, um zu sehen, welche Fehler noch auftreten. Sie werden sofort feststellen, ob die Anwendung Methoden oder Eigenschaften verwendet, die nicht unterstützt werden. diff --git a/en/guide/migrating-5.md b/en/guide/migrating-5.md index ceaabc97b0..a99f1b2185 100755 --- a/en/guide/migrating-5.md +++ b/en/guide/migrating-5.md @@ -15,7 +15,7 @@ Express 5 is not very different from Express 4; although it maintains the same b To install this version, you need to have a Node.js version 18 or higher. Then, execute the following command in your application directory: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" ``` You can then run your automated tests to see what fails, and fix problems according to the updates listed below. After addressing test failures, run your app to see what errors occur. You'll find out right away if the app uses any methods or properties that are not supported. @@ -195,4 +195,4 @@ This method now enforces asynchronous behavior for all view engines, avoiding bu

Brotli encoding support

-Express 5 supports Brotli encoding for requests received from clients that support it. \ No newline at end of file +Express 5 supports Brotli encoding for requests received from clients that support it. diff --git a/es/guide/migrating-5.md b/es/guide/migrating-5.md index 4f4af3249a..0bd54c09e7 100755 --- a/es/guide/migrating-5.md +++ b/es/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 no es muy diferente de Express 4: los cambios en la API no son tan sig Para instalar el release alpha más reciente y obtener una vista previa de Express 5, especifique el siguiente mandato en el directorio raíz de la aplicación: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` A continuación, puede ejecutar las pruebas automatizadas para ver qué falla y solucionar los problemas según las actualizaciones siguientes. Después de solucionar los errores de las pruebas, ejecute la aplicación para ver qué errores se producen. Verá rápidamente si la aplicación utiliza métodos o propiedades que no están soportados. diff --git a/fr/guide/migrating-5.md b/fr/guide/migrating-5.md index f057f89328..fbb10a0ea0 100755 --- a/fr/guide/migrating-5.md +++ b/fr/guide/migrating-5.md @@ -26,7 +26,7 @@ prévisualiser Express 5, entrez la commande suivante dans le répertoire principal de l'application : ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` Vous pouvez alors exécuter les tests automatisés pour voir les diff --git a/id/guide/migrating-5.md b/id/guide/migrating-5.md index 1248bf0c45..9a2acfd6ce 100755 --- a/id/guide/migrating-5.md +++ b/id/guide/migrating-5.md @@ -15,7 +15,7 @@ Express 5.0 is still in the beta release stage, but here is a preview of the cha To install the latest beta and to preview Express 5, enter the following command in your application root directory: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` You can then run your automated tests to see what fails, and fix problems according to the updates listed below. After addressing test failures, run your app to see what errors occur. You'll find out right away if the app uses any methods or properties that are not supported. diff --git a/it/guide/migrating-5.md b/it/guide/migrating-5.md index 13f4c0951f..aedb7b2b12 100755 --- a/it/guide/migrating-5.md +++ b/it/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 non è molto differente da Express 4: le modifiche all'API non sono co Per installare l'ultima alfa e per vedere in anteprima Express 5, immettere il seguente comando nella directory root dell'applicazione: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` È quindi possibile eseguire i test automatizzati per trovare errori e correggere i problemi in base agli aggiornamenti elencati di seguito. Dopo aver gestito gli errori del test, avviare l'applicazione per verificare gli errori. Si noterà subito se l'applicazione utilizza qualsiasi metodo o proprietà non supportati. diff --git a/ja/guide/migrating-5.md b/ja/guide/migrating-5.md index f4675a59eb..25067294d5 100755 --- a/ja/guide/migrating-5.md +++ b/ja/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 は Express 4 とあまり変わりません。API の変更は、3.0 最新のアルファをインストールして Express 5 をプレビューするには、アプリケーションのルート・ディレクトリーで次のコマンドを入力します。 ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` その後、自動テストを実行して、どの機能が失敗するかを確認し、下記の更新に従って問題を修正することができます。テストの失敗に対応した後、アプリケーションを実行して、どのようなエラーが発生するかを確認します。サポートされていないメソッドまたはプロパティーをアプリケーションが使用している場合は、すぐに判明します。 diff --git a/ko/guide/migrating-5.md b/ko/guide/migrating-5.md index 80eb822b53..e87d123ea2 100755 --- a/ko/guide/migrating-5.md +++ b/ko/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5는 Express 4와 크게 다르지 않으며, API에 대한 변경은 3. Express 5의 최신 알파 버전을 설치하고 미리보려면, 애플리케이션 루트 디렉토리에서 다음의 명령을 입력하십시오. ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` 이후 자동화된 테스트를 실행하여 실패하는 항목을 확인하고, 아래에 나열된 업데이트에 따라 문제를 수정할 수 있습니다. 테스트 실패 항목을 처리한 후에는 앱을 실행하여 어떠한 오류가 발생하는지 확인하십시오. 지원되지 않는 메소드나 특성을 앱이 사용하는 경우에는 이를 곧바로 확인할 수 있습니다. diff --git a/pt-br/guide/migrating-5.md b/pt-br/guide/migrating-5.md index 967568d271..a998c72137 100755 --- a/pt-br/guide/migrating-5.md +++ b/pt-br/guide/migrating-5.md @@ -25,7 +25,7 @@ Para instalar o alfa mais recente e ter uma prévia do Express 5, digite o seguinte comando no diretório raiz do seu aplicativo: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` É possível em seguida executar seus testes automatizados para diff --git a/ru/guide/migrating-5.md b/ru/guide/migrating-5.md index 32d9b74db3..aeb0cac2d1 100755 --- a/ru/guide/migrating-5.md +++ b/ru/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 не слишком отличается от Express 4: Измене Для того чтобы установить новейший альфа-выпуск и предварительно ознакомиться с Express 5, введите в корневом каталоге приложения следующую команду: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` Затем можно провести автоматическое тестирование, выявить сбои и устранить неполадки в соответствии с перечисленными ниже изменениями. После устранения сбоев, выявленных путем тестирования, запустите приложение и обратите внимание на возникшие ошибки. Если приложением используются методы или свойства, поддержка которых приостановлена, вы заметите это немедленно. diff --git a/sk/guide/migrating-5.md b/sk/guide/migrating-5.md index 928085491f..70301e3a12 100644 --- a/sk/guide/migrating-5.md +++ b/sk/guide/migrating-5.md @@ -22,7 +22,7 @@ Express 5 sa od Express 4 veľmi nelíši: Zmeny v API nie sú tak veľké, ako Pre nainštalovanie poslednej alpha verzie Express 5, spustite v hlavnom priečinku vašej aplikácie nasledujúci príkaz: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` Potom môžete spustiť vaše automatizované testy, aby ste videli čo padá a opravili tieto problémy podľa informácií nižšie. Potom, ako identifikujete padajúce testy, spustite aplikáciu, aby ste videli aké errory nastávajú. Okamžite zistíte, či aplikácia používa niektorú z metód, alebo properties, ktoré nie sú podporované. diff --git a/th/guide/migrating-5.md b/th/guide/migrating-5.md index 392e6dab06..c36d00639d 100755 --- a/th/guide/migrating-5.md +++ b/th/guide/migrating-5.md @@ -17,7 +17,7 @@ Express 5 is not very different from Express 4: The changes to the API are not a To install the latest alpha and to preview Express 5, enter the following command in your application root directory: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` You can then run your automated tests to see what fails, and fix problems according to the updates listed below. After addressing test failures, run your app to see what errors occur. You'll find out right away if the app uses any methods or properties that are not supported. diff --git a/tr/guide/migrating-5.md b/tr/guide/migrating-5.md index a98c7e72cc..a4bc97688e 100644 --- a/tr/guide/migrating-5.md +++ b/tr/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 is not very different from Express 4: The changes to the API are not a To install the latest alpha and to preview Express 5, enter the following command in your application root directory: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` You can then run your automated tests to see what fails, and fix problems according to the updates listed below. After addressing test failures, run your app to see what errors occur. You'll find out right away if the app uses any methods or properties that are not supported. diff --git a/uk/guide/migrating-5.md b/uk/guide/migrating-5.md index 0c7f7a1356..0b64d7ff38 100755 --- a/uk/guide/migrating-5.md +++ b/uk/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 is not very different from Express 4: The changes to the API are not a To install the latest alpha and to preview Express 5, enter the following command in your application root directory: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` You can then run your automated tests to see what fails, and fix problems according to the updates listed below. After addressing test failures, run your app to see what errors occur. You'll find out right away if the app uses any methods or properties that are not supported. diff --git a/zh-cn/guide/migrating-5.md b/zh-cn/guide/migrating-5.md index 2a8405bf58..d0d6156f1e 100755 --- a/zh-cn/guide/migrating-5.md +++ b/zh-cn/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 与 Express 4 的差异不是很大:对 API 的更改不像 3.0 到 要安装最新的 α 测试版以预览 Express 5,请在应用程序根目录中输入以下命令: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` 随后,可以运行自动化测试以查看哪些地方发生故障,然后根据以下列出的更新修复问题。在解决测试故障问题之后,运行应用程序以查看发生哪些错误。如果应用程序使用任何不受支持的方法或属性,您马上就可以发现。 diff --git a/zh-tw/guide/migrating-5.md b/zh-tw/guide/migrating-5.md index 6f37288aa0..915faf9e6f 100755 --- a/zh-tw/guide/migrating-5.md +++ b/zh-tw/guide/migrating-5.md @@ -18,7 +18,7 @@ Express 5 與 Express 4 之間差異不大:API 的變更不會像從 3.0 至 4 如果要安裝最新的 Alpha 版並預覽 Express 5,請在您應用程式根目錄中輸入下列指令: ```console -$ npm install "express@>={{ site.data.express.next_version }}" --save +$ npm install "express@^{{ site.data.express.next_version }}" --save ``` 然後您可以執行自動化測試,查看失敗之處,並根據下方列出的更新項目來修正問題。解決測試失敗之後,請執行您的應用程式,查看發生哪些錯誤。只要應用程式使用任何不支援的方法或內容,您會馬上發現。