diff --git a/README.basque.md b/README.basque.md index f183dfdb3..cde02c5af 100644 --- a/README.basque.md +++ b/README.basque.md @@ -3,13 +3,13 @@ # Node.js-ren praktika onak

- Node.js-ren praktika onak + Node.js-ren praktika onak


- 102 items Azken eguneratzea: 2020ko azaroa Node 14.0.0rako eguneratua + 102 items Azken eguneratzea: 2020ko azaroa Node 14.0.0rako eguneratua

@@ -1296,7 +1296,7 @@ Komunitatearen ekarpena dira hemengo itzulpen guztiak eman. Oso pozik hartuko ge Ezagutu Zuzendaritza Batzordeko kideak, proiektuaren orientazioa eta etorkizunerako jarraibideak emateko elkarlanean dirautenak. Gainera, batzordeko kide bakoitza gure [Github projects](https://github.com/goldbergyoni/nodebestpractices/projects)-pean dagoen proiektu baten buru da - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1306,7 +1306,7 @@ EEBB-etan, Europan eta Israelen, bezeroekin tamaina handiko Node.js aplikazioen
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1315,7 +1315,7 @@ EEBB-etan, Europan eta Israelen, bezeroekin tamaina handiko Node.js aplikazioen
- + [Kyle Martin](https://github.com/js-kyle) @@ -1325,7 +1325,7 @@ Full Stack Garatzailea eta Zelanda Berrian lan egiten duen Site Reliability Inge
- + [Kevyn Bruyere](https://github.com/kevynb) @@ -1336,7 +1336,7 @@ Full-stack garatzaile independentea, Ops eta automatizazioan zaletua dena ### Steering Committee Emeriti - + [Sagir Khan](https://github.com/sagirk) @@ -1353,13 +1353,13 @@ Mila esker gure laguntzaile guztiei! 🙏 Gure kolaboratzaileak proiektuan maiz parte hartzen duten kideak dira, praktika onak proposatuz, gaien zerrenda ordenatuz, parte hartze eskaerak (pull request) aztertuz... Milaka pertsona Node.js aplikazioak hobeto sortzen laguntzen interesa baduzu, irakur ezazu gure [kolaboratzaile gida](/.operations/CONTRIBUTING.md) 🎉 -| | | +| | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Fundatzailea)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | ### Emeriti Kolaboratzailea -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.brazilian-portuguese.md b/README.brazilian-portuguese.md index e6cc68d8d..69fb67fd2 100644 --- a/README.brazilian-portuguese.md +++ b/README.brazilian-portuguese.md @@ -3,13 +3,13 @@ # Melhores Práticas em Node.js

- Node.js Best Practices + Node.js Best Practices


- 83 items Última Atualização: June 5, 2019 Atualizado para Node 12.4.0 LTS + 83 items Última Atualização: June 5, 2019 Atualizado para Node 12.4.0 LTS

@@ -552,7 +552,7 @@ Todas as declarações acima false se feitas com `===`. 🔗 [**Leia Mais: Escolhendo a plataforma de CI**](/sections/testingandquality/citools.brazilian-portuguese.md) -

+

## ![✔] 4.13 Teste seus 'middlewares' isolatdamente @@ -1106,7 +1106,7 @@ Todas as traduções são contribuições da comunidade. Nós ficaremos felizes Conheça os membros do comitê diretivo - as pessoas que trabalham juntas para fornecer orientação e direção futura para o projeto. Além disso, cada membro do comitê lidera um projeto rastreado em nossos [projetos do Github](https://github.com/goldbergyoni/nodebestpractices/projects). - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1116,7 +1116,7 @@ Consultor de Node.js independente, que trabalha com clientes nos EUA, Europa e I
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1125,7 +1125,7 @@ Consultor de Node.js independente, que trabalha com clientes nos EUA, Europa e I
- + [Kyle Martin](https://github.com/js-kyle) @@ -1135,7 +1135,7 @@ Full Stack Developer e Engenheiro de Confiabilidade de Sites com sede na Nova Ze
- + [Sagir Khan](https://github.com/sagirk) @@ -1152,13 +1152,13 @@ Obrigado a todos nossos colaboradores! 🙏 Nossos colaboradores são membros que estão contribuindo com o repositório em base regular, sugerindo novas práticas recomendadas, triando problemas, analisando solicitações de pull e muito mais. Se você estiver interessado em nos ajudar a orientar milhares de pessoas a criar melhores aplicações Node.js, leia nossas [diretrizes de colaborador](/.operations/CONTRIBUTING.md) 🎉 -| | | +| | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | ### Colaboradores anteriores -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.chinese.md b/README.chinese.md index 442897797..1086041ee 100644 --- a/README.chinese.md +++ b/README.chinese.md @@ -9,7 +9,7 @@
- 82 items Last update: June 5, 2019 Updated for Node 12.4.0 LTS + 82 items Last update: June 5, 2019 Updated for Node 12.4.0 LTS

diff --git a/README.french.md b/README.french.md index dc1dd341c..7f0fa97ea 100644 --- a/README.french.md +++ b/README.french.md @@ -3,13 +3,13 @@ # Bonnes pratiques Node.js

- Bonnes pratiques Node.js + Bonnes pratiques Node.js


- 102 items Dernière mise à jour : 11 Juin 2021 Mis à jour pour Node 14.0.0 + 102 items Dernière mise à jour : 11 Juin 2021 Mis à jour pour Node 14.0.0

@@ -1301,7 +1301,7 @@ Toutes les traductions sont fournies par la communauté. Nous serons heureux de Rencontrez les membres du comité de pilotage - les personnes qui travaillent ensemble pour fournir des conseils et des orientations futures au projet. En outre, chaque membre du comité dirige un projet suivi dans le cadre de nos [projets GitHub](https://github.com/goldbergyoni/nodebestpractices/projects). - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1311,7 +1311,7 @@ Consultant indépendant Node.js qui travaille avec des clients aux États-Unis,
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1320,7 +1320,7 @@ Consultant indépendant Node.js qui travaille avec des clients aux États-Unis,
- + [Kyle Martin](https://github.com/js-kyle) @@ -1330,7 +1330,7 @@ Développeur Full Stack et ingénieur de fiabilité de site basé en Nouvelle-Z
- + [Kevyn Bruyere](https://github.com/kevynb) @@ -1341,7 +1341,7 @@ Développeur indépendant full-stack ayant un penchant pour les Ops et l'automat ### Comité de pilotage émérite - + [Sagir Khan](https://github.com/sagirk) @@ -1358,13 +1358,13 @@ Merci à tous nos collaborateurs ! 🙏 Nos collaborateurs sont des membres qui contribuent régulièrement au dépôt, en suggérant de nouvelles bonnes pratiques, en triant les issues, en examinant les pull request et bien d'autres choses encore. Si vous souhaitez nous aider à guider des milliers de personnes à créer de meilleures applications Node.js, veuillez lire nos [directives pour les contributeurs](/.operations/CONTRIBUTING.md) 🎉 -| | | Raz Luvaton | +| | | Raz Luvaton | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | [Raz Luvaton](https://github.com/rluvaton) | ### Collaborateur émérite -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.indonesian.md b/README.indonesian.md index 8235c88d7..4c3564f19 100644 --- a/README.indonesian.md +++ b/README.indonesian.md @@ -3,13 +3,13 @@ # Praktik Terbaik Node.js

- Praktik Terbaik Node.js + Praktik Terbaik Node.js


- 102 item Pembaruan terakhir: November, 2020 Diperbarui untuk Node 14.0.0 + 102 item Pembaruan terakhir: November, 2020 Diperbarui untuk Node 14.0.0

@@ -1295,7 +1295,7 @@ Semua terjemahan merupakan kontribusi dari komunitas. Kami akan dengan senang ha Memperkenalkan anggota komite pengarah - orang-orang yang bekerja sama untuk memberikan panduan dan arahan masa depan proyek. Selain itu, setiap anggota komite memimpin proyek yang dilacak dalam [Github projects](https://github.com/goldbergyoni/nodebestpractices/projects) kami. - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1305,7 +1305,7 @@ Konsultan Node.js independen yang bekerja dengan pelanggan di AS, Eropa, dan Isr
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1314,7 +1314,7 @@ Konsultan Node.js independen yang bekerja dengan pelanggan di AS, Eropa, dan Isr
- + [Kyle Martin](https://github.com/js-kyle) @@ -1324,7 +1324,7 @@ Pengembang Full Stack & Site Reliability Engineer yang berbasis di Selandia Baru
- + [Kevyn Bruyere](https://github.com/kevynb) @@ -1335,7 +1335,7 @@ Pengembang full-stack independen dengan selera untuk Ops dan otomatisasi. ### Mantan Komite Pengarah - + [Sagir Khan](https://github.com/sagirk) @@ -1352,13 +1352,13 @@ Terima kasih untuk semua kolaborator kami! 🙏 Kolaborator kami adalah anggota yang sering berkontribusi ke repositori ini, melalui menyarankan praktik terbaik baru, menyortir masalah, meninjau pull request dan banyak lagi. Jika Anda tertarik untuk membantu kami memandu ribuan orang untuk membuat aplikasi Node.js yang lebih baik, silakan baca [contributor guidelines](/.operations/CONTRIBUTING.md) 🎉 -| | | +| | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | ### Mantan Kolaborator -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.japanese.md b/README.japanese.md index 33214e5b5..93a9f895b 100644 --- a/README.japanese.md +++ b/README.japanese.md @@ -3,13 +3,13 @@ # Node.js ベストプラクティス

- Node.js Best Practices + Node.js Best Practices


- 101 items Last update: March, 2020 Updated for Node 13.1.0 + 101 items Last update: March, 2020 Updated for Node 13.1.0

@@ -1286,7 +1286,7 @@ CMD [ "node", "dist/app.js" ] ステアリングコミッティーのメンバーをご紹介します。このプロジェクトのガイダンスと将来の方向性を提供するために協力してくださっている方々です。さらに、コミッティーの各メンバーは、[GitHub プロジェクト](https://github.com/goldbergyoni/nodebestpractices/projects)で管理されているプロジェクトをリードしています。 - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1296,7 +1296,7 @@ CMD [ "node", "dist/app.js" ]
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1305,7 +1305,7 @@ CMD [ "node", "dist/app.js" ]
- + [Kyle Martin](https://github.com/js-kyle) @@ -1315,7 +1315,7 @@ CMD [ "node", "dist/app.js" ]
- + [Kevyn Bruyere](https://github.com/kevynb) @@ -1326,7 +1326,7 @@ Ops や自動化に関心のあるフルスタックデベロッパー。 ### ステアリングコミッティー・エメリティ - + [Sagir Khan](https://github.com/sagirk) @@ -1343,13 +1343,13 @@ JavaScript とそのエコシステム(React、Node.js、TypeScript、GraphQL 私たちのコラボレーターは、新たなベストプラクティスの提案やイシューの優先順位付け、プルリクエストのレビューなどその他多くのことを通じて、定期的にこのリポジトリに貢献してくださっているメンバーの方々です。多くの人々がより良い Node.js アプリケーションを構築できるように導く私たちをサポートすることにもし興味があるのであれば、[貢献ガイドライン](/.operations/CONTRIBUTING.md)をお読み下さい 🎉 -| | | +| | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | ### コラボレーター・エメリティ -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.korean.md b/README.korean.md index 78f5ecc92..913a3185a 100644 --- a/README.korean.md +++ b/README.korean.md @@ -3,13 +3,13 @@ # Node.js 모범 사례

- Node.js Best Practices + Node.js Best Practices


- 86 items Last update: March, 2020 Updated for Node 13.1.0 + 86 items Last update: March, 2020 Updated for Node 13.1.0

@@ -1103,7 +1103,7 @@ null == undefined; // true 프로젝트를 지도하고 앞으로 나아갈 방향을 제시하는데 함께 일하는 운영 위원회 일원들을 소개합니다. 추가로, 위원회원들은 각자 [Github 프로젝트](https://github.com/goldbergyoni/nodebestpractices/projects) 아래에 인행되는 프로젝트들을 인솔합니다. - + [요니 골드버그](https://github.com/goldbergyoni) @@ -1113,7 +1113,7 @@ null == undefined; // true
- + [브루노 슈플러](https://github.com/BrunoScheufler) @@ -1122,7 +1122,7 @@ null == undefined; // true
- + [카일 마틴](https://github.com/js-kyle) @@ -1132,7 +1132,7 @@ null == undefined; // true
- + [사기르 칸](https://github.com/sagirk) @@ -1149,13 +1149,13 @@ null == undefined; // true 공동 저자들은 새로운 모범사례를 제안하거나, 사안을 분류하거나, 풀리퀘스트를 검토하는 등 리포지토리에 정기적으로 기여하는 일원들입니다. 수천명의 사람들이 더 나은 Node.js 애플리케이션을 만들 수 있도록 안내하며 돕는데 관심이 있으시다면 [기여자 지침서](/.operations/CONTRIBUTING.md)를 읽어주세요 🎉 -| | | | +| | | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------: | | [이도 릭터 (창립주)](https://github.com/idori) | [키스 홀리데이](https://github.com/TheHollidayInn) | [케빈 브뤼예르](https://github.com/kevynb) | ### 전 공동 저자 -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.md b/README.md index f1709fb4f..33fc70614 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,13 @@ # Node.js Best Practices

- Node.js Best Practices + Node.js Best Practices


- 102 items Last update: July 01, 2021 Updated for Node 14.0.0 + 102 items Last update: July 01, 2021 Updated for Node 14.0.0

@@ -1301,7 +1301,7 @@ All translations are contributed by the community. We will be happy to get any h Meet the steering committee members - the people who work together to provide guidance and future direction to the project. In addition, each member of the committee leads a project tracked under our [GitHub projects](https://github.com/goldbergyoni/nodebestpractices/projects). - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1311,7 +1311,7 @@ Independent Node.js consultant who works with customers in the USA, Europe, and
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1320,7 +1320,7 @@ Independent Node.js consultant who works with customers in the USA, Europe, and
- + [Kyle Martin](https://github.com/js-kyle) @@ -1330,7 +1330,7 @@ Full Stack Developer & Site Reliability Engineer based in New Zealand, intereste
- + [Kevyn Bruyere](https://github.com/kevynb) @@ -1341,7 +1341,7 @@ Independent full-stack developer with a taste for Ops and automation. ### Steering Committee Emeriti - + [Sagir Khan](https://github.com/sagirk) @@ -1358,13 +1358,13 @@ Thank you to all our collaborators! 🙏 Our collaborators are members who are contributing to the repository on a regular basis, through suggesting new best practices, triaging issues, reviewing pull requests and more. If you are interested in helping us guide thousands of people to craft better Node.js applications, please read our [contributor guidelines](/.operations/CONTRIBUTING.md) 🎉 -| | | Raz Luvaton | Josh Hemphill | +| | | Raz Luvaton | Josh Hemphill | | :--: | :--: | :--: | :--: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | [Raz Luvaton](https://github.com/rluvaton) | [Josh Hemphill](https://github.com/josh-hemphill) | ### Collaborator Emeriti -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.polish.md b/README.polish.md index 75672f364..1a885ac90 100644 --- a/README.polish.md +++ b/README.polish.md @@ -3,13 +3,13 @@ # Node.js - Najlepsze praktyki

- Node.js Best Practices + Node.js Best Practices


- 85 items Last update: Oct 12, 2019 Updated for Node 12.12.0 + 85 items Last update: Oct 12, 2019 Updated for Node 12.12.0

@@ -1083,7 +1083,7 @@ Wszystkie tłumaczenia pochodzą od społeczności. Z przyjemnością uzyskamy w Spotkaj się z członkami komitetu sterującego - ludźmi, którzy pracują razem, aby zapewnić wytyczne i przyszłe kierunki projektu. Ponadto każdy członek komitetu prowadzi projekt śledzony w ramach naszych [projektów GitHub](https://github.com/goldbergyoni/nodebestpractices/projects). - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1093,7 +1093,7 @@ Niezależny konsultant Node.js, który współpracuje z klientami w USA, Europie
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1102,7 +1102,7 @@ Niezależny konsultant Node.js, który współpracuje z klientami w USA, Europie
- + [Kyle Martin](https://github.com/js-kyle) @@ -1112,7 +1112,7 @@ Full Stack Developer & Site Reliability Engineer z siedzibą w Nowej Zelandii, z
- + [Sagir Khan](https://github.com/sagirk) @@ -1129,13 +1129,13 @@ Dziękujemy wszystkim wpółpracownikom! 🙏 Nasi współpracownicy są członkami, którzy regularnie współuczestniczą w repozytorium, sugerując nowe najlepsze praktyki, analizując problemy, sprawdzając pull requesty i wiele więcej. Jeśli chcesz pomóc nam poprowadzić tysiące ludzi do tworzenia lepszych aplikacji Node.js, przeczytaj nasze [wytyczne dla współpracowników](/.operations/CONTRIBUTING.md) 🎉 -| | | +| | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | ### Wcześniejsza współpraca -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/README.russian.md b/README.russian.md index 544b82aab..6c710bd21 100644 --- a/README.russian.md +++ b/README.russian.md @@ -3,13 +3,13 @@ # Node.js Лучшие практики

- Node.js Лучшие практики + Node.js Лучшие практики


- 85 items Last update: Oct 12, 2019 Updated for Node 12.12.0 + 85 items Last update: Oct 12, 2019 Updated for Node 12.12.0

@@ -1099,7 +1099,7 @@ null == undefined; // true Познакомьтесь с членами руководящего комитета -- людьми, которые работают вместе, чтобы обеспечить управление и дальнейшее руководство проектом. Кроме того, каждый член комитета руководит проектом, отслеживаемым в рамках наших [проектов Github](https://github.com/goldbergyoni/nodebestpractices/projects). - + [Yoni Goldberg](https://github.com/goldbergyoni) @@ -1109,7 +1109,7 @@ null == undefined; // true
- + [Bruno Scheufler](https://github.com/BrunoScheufler) @@ -1118,7 +1118,7 @@ null == undefined; // true
- + [Kyle Martin](https://github.com/js-kyle) @@ -1128,7 +1128,7 @@ null == undefined; // true
- + [Sagir Khan](https://github.com/sagirk) @@ -1145,13 +1145,13 @@ null == undefined; // true Наши соавторы являются участниками, которые регулярно вносят свой вклад в хранилище, предлагая новые лучшие практики, разбирая проблемы, просматривая запросы на изменение и многое другое. Если вы заинтересованы в том, чтобы помочь нам научить тысячи людей создавать более качественные приложения Node.js, ознакомьтесь с нашими [руководством для соавторов](/.operations/CONTRIBUTING.md) 🎉 -| | | +| | | | :---------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------: | | [Ido Richter (Founder)](https://github.com/idori) | [Keith Holliday](https://github.com/TheHollidayInn) | ### Прошлые соавторы -| | +| | | :-------------------------------------------------------------------------------------------------------------------------: | | [Refael Ackermann](https://github.com/refack) | diff --git a/sections/drafts/readme-general-toc-1.md b/sections/drafts/readme-general-toc-1.md index 463cedaed..a27d3811f 100644 --- a/sections/drafts/readme-general-toc-1.md +++ b/sections/drafts/readme-general-toc-1.md @@ -4,7 +4,7 @@ Node.js Best Practices -53 items Last update: 7 days ago Updated for Node v.8.4 +53 items Last update: 7 days ago Updated for Node v.8.4 diff --git a/sections/drafts/readme-general-toc-2.md b/sections/drafts/readme-general-toc-2.md index fe3c5af07..cabf122df 100644 --- a/sections/drafts/readme-general-toc-2.md +++ b/sections/drafts/readme-general-toc-2.md @@ -1,6 +1,6 @@ # Node.js Best Practices -53 items Last update: 7 days ago Updated for Node v.8.4 +53 items Last update: 7 days ago Updated for Node v.8.4 ![Node.js Best Practices](assets/images/banner-1.png) diff --git a/sections/drafts/readme-general-toc-3.md b/sections/drafts/readme-general-toc-3.md index 6bb3f9c60..bbe944470 100644 --- a/sections/drafts/readme-general-toc-3.md +++ b/sections/drafts/readme-general-toc-3.md @@ -4,7 +4,7 @@ Node.js Best Practices -53 items Last update: 7 days ago Updated for Node v.8.4 +53 items Last update: 7 days ago Updated for Node v.8.4 diff --git a/sections/drafts/readme-general-toc-4.md b/sections/drafts/readme-general-toc-4.md index 19f42ea1c..483f973c9 100644 --- a/sections/drafts/readme-general-toc-4.md +++ b/sections/drafts/readme-general-toc-4.md @@ -4,7 +4,7 @@ Node.js Best Practices -53 items Last update: 7 days ago Updated for Node v.8.4 +53 items Last update: 7 days ago Updated for Node v.8.4 @@ -82,7 +82,7 @@ Welcome to the biggest compilation of Node.js best practices, based on our check # `Error Handling Practices`

⬆ Return to top

-## Use async-await for async error handling +## Use async-await for async error handling **TL;DR:** Handling async errors in callback style is probably the fastest way to hell (a.k.a the pyramid of doom). The best gift you can give to your code is using instead a reputable promise library or async-await which provides much compact and familiar code syntax like try-catch @@ -92,7 +92,7 @@ Welcome to the biggest compilation of Node.js best practices, based on our check

-## Use async-await for async error handling +## Use async-await for async error handling **TL;DR:** Handling async errors in callback style is probably the fastest way to hell (a.k.a the pyramid of doom). The best gift you can give to your code is using instead a reputable promise library or async-await which provides much compact and familiar code syntax like try-catch diff --git a/sections/errorhandling/returningpromises.basque.md b/sections/errorhandling/returningpromises.basque.md index a59da87f7..a42f35fc3 100644 --- a/sections/errorhandling/returningpromises.basque.md +++ b/sections/errorhandling/returningpromises.basque.md @@ -251,9 +251,9 @@ Oso ezberdinak dira funtzio sinkronoen pila aztarnen eta funtzio asinkronoen pil ### Erreferentziak: 1. [v8ko zero kostuko pila aztarna asinkronoak blog argitarapena](https://v8.dev/blog/fast-async) -
+
2. [zero kostuko pila aztarna asinkronoei inguruko dokumentazioa ezarpen xehetasunekin hemen]( https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit ) -
+
diff --git a/sections/errorhandling/returningpromises.french.md b/sections/errorhandling/returningpromises.french.md index 96a3ef2e3..398a9db23 100644 --- a/sections/errorhandling/returningpromises.french.md +++ b/sections/errorhandling/returningpromises.french.md @@ -277,9 +277,9 @@ attendue à plusieurs reprises dans différents endroits ### Références : 1. [article de blog sur zero-cost async stacktraces en v8](https://v8.dev/blog/fast-async) -
+
2. [Document sur zero-cost async stacktraces avec les détails de mise en œuvre mentionnés ici]( https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit ) -
\ No newline at end of file +
diff --git a/sections/errorhandling/returningpromises.md b/sections/errorhandling/returningpromises.md index 41ad7b1aa..7d03cffcc 100644 --- a/sections/errorhandling/returningpromises.md +++ b/sections/errorhandling/returningpromises.md @@ -277,9 +277,9 @@ awaited many times in different places ### References: 1. [Blog post on zero-cost async stacktraces in v8](https://v8.dev/blog/fast-async) -
+
2. [Document on zero-cost async stacktraces with mentioned here implementation details]( https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit ) -
+
diff --git a/sections/errorhandling/returningpromises.russian.md b/sections/errorhandling/returningpromises.russian.md index ed58d69f8..4a4c35482 100644 --- a/sections/errorhandling/returningpromises.russian.md +++ b/sections/errorhandling/returningpromises.russian.md @@ -12,7 +12,7 @@
-### Анти-паттерн №1: return \ +### Анти-паттерн №1: return `promise`
Javascript

@@ -41,7 +41,7 @@ Error: missing returnWithoutAwait in the stacktrace

-### Как правильно: return await \ +### Как правильно: return await `promise`
Javascript

@@ -281,9 +281,9 @@ Error: [...] ### References: 1. [Блогпост о бесплатных асинхронных стектрейсах в v8](https://v8.dev/blog/fast-async) -
+
2. [Документ о бесплатных асинхронных стектрейсах в v8 с упомянутыми тут деталями реализации]( https://docs.google.com/document/d/13Sy_kBIJGP0XT34V1CV3nkWya4TwYx9L3Yv45LdGB6Q/edit ) -
+
diff --git a/sections/performance/nativeoverutil.basque.md b/sections/performance/nativeoverutil.basque.md index f38b750e0..cc0a1ad68 100644 --- a/sections/performance/nativeoverutil.basque.md +++ b/sections/performance/nativeoverutil.basque.md @@ -49,7 +49,7 @@ Non hau bueltatzen duen: ### Adibidea: jatorrizkoak ez diren metodoak erabiltzeko linting-a -Badago [ESLint plugin](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) bat behar ez dituzun liburutegiak atzeman eta aholkuak ematen dizkizuna (behean duzu adibidea).
Plugin hori erabili nahi baduzu, gehitu `eslint-plugin-you-dont-need-lodash-underscore` plugina zure ESLint ezarpen fitxategiari: +Badago [ESLint plugin](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) bat behar ez dituzun liburutegiak atzeman eta aholkuak ematen dizkizuna (behean duzu adibidea).
Plugin hori erabili nahi baduzu, gehitu `eslint-plugin-you-dont-need-lodash-underscore` plugina zure ESLint ezarpen fitxategiari: ```json { diff --git a/sections/performance/nativeoverutil.brazilian-portuguese.md b/sections/performance/nativeoverutil.brazilian-portuguese.md index 22d80e426..e7fa0942e 100644 --- a/sections/performance/nativeoverutil.brazilian-portuguese.md +++ b/sections/performance/nativeoverutil.brazilian-portuguese.md @@ -47,7 +47,7 @@ Do [repositório sobre esse assunto que foca em Lodash e Underscore](https://git > O Lodash e o Underscore são ótimas bibliotecas de utilitários JavaScript moderno e são amplamente utilizados por desenvolvedores front-end. No entanto, quando você está focando nos navegadores modernos, você pode descobrir que existem muitos métodos que já são suportados nativamente graças ao ECMAScript5 [ES5] e ao ECMAScript2015 [ES6]. Se você quer que seu projeto exija menos dependências, e você conhece claramente o seu navegador de destino, talvez você não precise do Lodash/Underscore. ### Exemplo: Linting para uso de métodos não nativos -Existe um [plugin de ESLint](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) que detecta onde você está usando bibliotecas, mas não precisa, alertando com sugestões (veja o exemplo abaixo).
+Existe um [plugin de ESLint](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) que detecta onde você está usando bibliotecas, mas não precisa, alertando com sugestões (veja o exemplo abaixo).
A maneira de configurá-lo é adicionando o plugin `eslint-plugin-you-dont-need-lodash-underscore` no seu arquivo de configuração do ESLint: ```json { diff --git a/sections/performance/nativeoverutil.french.md b/sections/performance/nativeoverutil.french.md index e4c9f2a2c..7b79ddc65 100644 --- a/sections/performance/nativeoverutil.french.md +++ b/sections/performance/nativeoverutil.french.md @@ -47,7 +47,7 @@ From the [repo on this matter which focuses on Lodash and Underscore](https://gi > Lodash and Underscore are great modern JavaScript utility libraries, and they are widely used by Front-end developers. However, when you are targeting modern browsers, you may find out that there are many methods which are already supported natively thanks to ECMAScript5 [ES5] and ECMAScript2015 [ES6]. If you want your project to require fewer dependencies, and you know your target browser clearly, then you may not need Lodash/Underscore. ### Example: Linting for non-native methods usage -There's an [ESLint plugin](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) which detects where you're using libraries but don't need to by warning you with suggestions (cf. example below).
+There's an [ESLint plugin](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) which detects where you're using libraries but don't need to by warning you with suggestions (cf. example below).
The way you set it up is by adding the `eslint-plugin-you-dont-need-lodash-underscore` plugin to your ESLint configuration file: ```json { diff --git a/sections/performance/nativeoverutil.japanese.md b/sections/performance/nativeoverutil.japanese.md index 809a7de07..c9875c59d 100644 --- a/sections/performance/nativeoverutil.japanese.md +++ b/sections/performance/nativeoverutil.japanese.md @@ -46,7 +46,7 @@ concatSuite.add('lodash', () => _.concat(array, 3, 4, 5)) > Lodash や Underscore は素晴らしいモダンな JavaScript ユーティリティライブラリであり、フロントエンド開発者に広く利用されています。しかし、最新のブラウザをターゲットにしている場合、ECMAScript5 [ES5] や ECMAScript2015 [ES6] のおかげで、すでにネイティブでサポートされているメソッドがたくさんあることに気づくかもしれません。プロジェクトに必要な依存関係を少なくしたく、ターゲットブラウザを明確に理解している場合は、Lodash/Underscore は必要ないかもしれません。 ### 例: 非ネイティブメソッドの使用法に対応した Lint -ライブラリを使っているが必要のない場所を検知して、提案付きで警告してくれる[ ESLint プラグイン](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore)というものがあります。(下の例を参照)
+ライブラリを使っているが必要のない場所を検知して、提案付きで警告してくれる[ ESLint プラグイン](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore)というものがあります。(下の例を参照)
設定方法は、ESLint の設定ファイルに `eslint-plugin-you-dont-need-lodash-underscore` プラグインを追加することです: ```json { diff --git a/sections/performance/nativeoverutil.md b/sections/performance/nativeoverutil.md index 48804fe99..fe8f092fc 100644 --- a/sections/performance/nativeoverutil.md +++ b/sections/performance/nativeoverutil.md @@ -46,7 +46,7 @@ From the [repo on this matter which focuses on Lodash and Underscore](https://gi > Lodash and Underscore are great modern JavaScript utility libraries, and they are widely used by Front-end developers. However, when you are targeting modern browsers, you may find out that there are many methods which are already supported natively thanks to ECMAScript5 [ES5] and ECMAScript2015 [ES6]. If you want your project to require fewer dependencies, and you know your target browser clearly, then you may not need Lodash/Underscore. ### Example: Linting for non-native methods usage -There's an [ESLint plugin](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) which detects where you're using libraries but don't need to by warning you with suggestions (cf. example below).
+There's an [ESLint plugin](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) which detects where you're using libraries but don't need to by warning you with suggestions (cf. example below).
The way you set it up is by adding the `eslint-plugin-you-dont-need-lodash-underscore` plugin to your ESLint configuration file: ```json { diff --git a/sections/performance/nativeoverutil.polish.md b/sections/performance/nativeoverutil.polish.md index 9df041bda..d0e0bb581 100644 --- a/sections/performance/nativeoverutil.polish.md +++ b/sections/performance/nativeoverutil.polish.md @@ -46,7 +46,7 @@ Z [repozytorium na ten temat, które koncentruje się na Lodash i Underscore](ht > Lodash and Underscore are great modern JavaScript utility libraries, and they are widely used by Front-end developers. However, when you are targeting modern browsers, you may find out that there are many methods which are already supported natively thanks to ECMAScript5 [ES5] and ECMAScript2015 [ES6]. If you want your project to require fewer dependencies, and you know your target browser clearly, then you may not need Lodash/Underscore. ### Przykład: Linting for non-native methods usage -Istnieje [wtyczka ESLint](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) która wykrywa, gdzie korzystasz z bibliotek, ale nie musisz, ostrzegając Cię sugestiami (porównaj z przykładem poniżej).
+Istnieje [wtyczka ESLint](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore) która wykrywa, gdzie korzystasz z bibliotek, ale nie musisz, ostrzegając Cię sugestiami (porównaj z przykładem poniżej).
Sposób konfiguracji polega na dodaniu wtyczki `eslint-plugin-you-dont-need-lodash-underscore` do pliku konfiguracyjnego ESLint: ```json { diff --git a/sections/performance/nativeoverutil.russian.md b/sections/performance/nativeoverutil.russian.md index 0b3ff6e0c..be05f010b 100644 --- a/sections/performance/nativeoverutil.russian.md +++ b/sections/performance/nativeoverutil.russian.md @@ -47,7 +47,7 @@ concatSuite.add('lodash', () => _.concat(array, 3, 4, 5)) > Lodash и Underscore - отличные современные библиотеки утилит JavaScript, и они широко используются разработчиками Front-end. Однако, когда вы ориентируетесь на современные браузеры, вы можете обнаружить, что есть много методов, которые уже изначально поддерживаются благодаря ECMAScript5 [ES5] и ECMAScript2015 [ES6]. Если вы хотите, чтобы вашему проекту требовалось меньше зависимостей, и вы четко знаете целевой браузер, то вам может не потребоваться Lodash/Underscore. ### Пример: Linting для использования неродных методов -Существует [плагин ESLint](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore), который определяет, где вы используете библиотеки, но не должен предупреждать вас с предложениями (см. пример ниже).
+Существует [плагин ESLint](https://www.npmjs.com/package/eslint-plugin-you-dont-need-lodash-underscore), который определяет, где вы используете библиотеки, но не должен предупреждать вас с предложениями (см. пример ниже).
Вы можете настроить его, добавив плагин `eslint-plugin-you-dont-need-lodash-underscore` в файл конфигурации ESLint: ```json { diff --git a/sections/security/escape-output.basque.md b/sections/security/escape-output.basque.md index 07ab558fb..c99a7848e 100644 --- a/sections/security/escape-output.basque.md +++ b/sections/security/escape-output.basque.md @@ -40,11 +40,16 @@ HTML eta beste web lengoaia batzuek kode egikarigarriarekin nahasten dute edukia [benramsey.com](https://benramsey.com/articles/escape-output/) bloga: > Datuak modu askotara irten daitezke zure aplikaziotik: web nabigatzaile bati bidalitako HTML moduan, SQL datu basera bidalita, XML RSS irakurgailura bidalita, WML haririk gabeko gailu batera bidalita, etab. Aukerak mugagabeak dira. Horietako bakoitzak bere karaktere bereziak ditu, multzoka jasotzen dituena, eta jasotako gainerako testu arruntaren aldean desberdin interpretatzen dena. Batzuetan, karaktere berezi horiek bidali nahi ditugu interpretatuak izan ahal izateko (HTML nabigatzaile batera bidalitako HTML etiketak, adibidez); beste batzuetan (erabiltzaileek edo beste iturri batzuek egindako sarreren kasuan), ez dugu nahi karaktere horiek interpretatuak izan daitezen, eta, beraz, ihes egin behar diegu. -> Ihes egiteari kodetzea ere esaten zaio batzuetan: ihes egitea edo kodetzea, laburbilduz,, datuak egikaritu edo interpretatuko ez diren moduan irudikatzeko prozesua da, alegia. Adibidez, HTMLk honako testu hau letra lodiz idatziko du web nabigatzaile batean etiketek esanahi berezia dutelako: -Testu hau letra lodiz idatzita dago. -Baina, demagun etiketak nabigatzailean kargatu nahi ditudala eta haien interpretazioa ekidin nahi dudala. Orduan, HTMLan esanahi berezia duten parentesi angeluarretatik ihes egin behar dut. Hona hemen ihes egindako HTMLa: -<strong>Testu hau letra lodiz idatzita dago.</strong> - +> Ihes egiteari kodetzea ere esaten zaio batzuetan: ihes egitea edo kodetzea, laburbilduz,, datuak egikaritu edo interpretatuko ez diren moduan irudikatzeko prozesua da, alegia. Adibidez, HTMLk honako testu hau letra lodiz idatziko du web nabigatzaile batean ``etiketek esanahi berezia dutelako: +> ```html +> Testu hau letra lodiz idatzita dago. +> ``` +> +> Baina, demagun etiketak nabigatzailean kargatu nahi ditudala eta haien interpretazioa ekidin nahi dudala. Orduan, HTMLan esanahi berezia duten parentesi angeluarretatik ihes egin behar dut. Hona hemen ihes egindako HTMLa: +> +> ```html +> <strong>Testu hau letra lodiz idatzita dago.</strong>` +> ```

@@ -58,4 +63,4 @@ OWASP [XSS (Cross Site Scripting) Prebentzio tranpa orria](https://www.owasp.org ### Blog aipua: "Ihes sintaxia erabili behar duzu HTML zatian" OWASP [XSS (Cross Site Scripting) Prebentzio tranpa orria](https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet) bloga: -> "Baina HTML entitate kodeketak ez du ondo funtzionatzen