You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
2024-12-10, Version 23.4.0 (Current), @aduh95 prepared by @targos Notable Changes Introducing experimental assert.partialDeepStrictEqual Sometimes, when writing test, we want to validate that some specific properties are present, and the mere presence of additional keys are not exactly relevant for that specific test. For this use case, we can now use assert.partialDeepStrictEqual, which should be
AWS Compute Blog Node.js 22 runtime now available in AWS Lambda This post is written by Julian Wood, Principal Developer Advocate, and Andrea Amorosi, Senior SA Engineer. You can now develop AWS Lambda functions using the Node.js 22 runtime, which is in active LTS status and ready for production use. Node.js 22 includes a number of additions to the language, including require()ing ES modules, as w
Or if the package is only meant to be run on Node.js and wants to fallback to CJS on older versions that don't have require(esm): { "type": "module", "exports": { // On new version of Node.js, both require() and import get the ESM version "module-sync": "./index.js", // On older version of Node.js, where "module-sync" and require(esm) are // not supported, use the CJS version to avoid dual-package
2024-10-16, Version 23.0.0 (Current), @RafaelGSS We’re excited to announce the release of Node.js 23! Key highlights include: Enabling require(esm) by default for Node.js applications Removing support for Windows 32-bit systems Stabilizing the node --run command Enhancements to the test runner, including glob pattern support for coverage files Node.js 23 will replace Node.js 22 as the ‘Current’ re
TypeScript 5.7ã§è¿½åŠ ã•ã‚Œã‚‹ --rewriteRelativeImportExtensions オプションã¯ã€ãã®ä½¿ç”¨ã«ã‚ãŸã£ã¦æ³¨æ„ãŒå¿…è¦ãªã‚ªãƒ—ションã§ã™ã€‚ 背景ã¨ã—ã¦ã¯ã€ã“ã®ã‚ªãƒ—ションã«é–¢ã—ã¦æœ€è¿‘英語åœã®TSエヴァンジェリストã®ã‚ˆã†ãªäººãŒç©æ¥µçš„ãªæ´»ç”¨ã‚’推奨ã™ã‚‹æŠ•ç¨¿ã‚’ã—ã¾ã—ãŸã€‚一方ã§ã€TypeScriptãƒãƒ¼ãƒ ã¯ã“ã®ã‚ªãƒ—ションを使ã†ã®ã¯é™å®šçš„ãªå ´åˆã«é™ã‚‹ã¹ãã¨ã—ã¦ã„ã¾ã™ã€‚ ã“ã®è¨˜äº‹ã§ã¯TypeScriptãƒãƒ¼ãƒ ã®å´ã«å¯„ã‚Šæ·»ã„ã€--rewriteRelativeImportExtensions オプションをむやã¿ã«ä½¿ã†ã¹ãã§ã¯ãªã„ç†ç”±ã«ã¤ã„ã¦è§£èª¬ã—ã¾ã™ã€‚ 以下ã«å¼•ç”¨ã™ã‚‹ã®ã¯TypeScriptãƒãƒ¼ãƒ ã®Ryanæ°ã®æŠ•ç¨¿ã®ã²ã¨ã¤ã§ã™ã€‚ If you can't coherently explain why this flag wasn't present for the previ
2024-09-17, Version 22.9.0 (Current), @RafaelGSS New API to retrieve execution Stack Trace A new API getCallSite has been introduced to the util module. This API allows users to retrieve the stacktrace of the current execution. Example: const util = require('node:util'); function exampleFunction() { const callSites = util.getCallSite(); console.log('Call Sites:'); callSites.forEach((callSite, inde
ã“ã‚“ã«ã¡ã¯ teppeis ã§ã™ã€‚普段ã¯é–‹ç™ºæœ¬éƒ¨é•·ã‚’ã‚„ã£ã¦ã¾ã™ãŒã€ãƒ–ãƒã‚°ãƒ•ã‚§ã‚¹ã«é§†ã‚Šå‡ºã•ã‚Œã¾ã—ãŸï¼ 本日㯠Node v22.3.0 ã«ç¶šã„㦠v20.16.0 ã«ã‚‚ãƒãƒƒã‚¯ãƒãƒ¼ãƒˆã•ã‚ŒãŸ process.getBuiltinModule(id) ã«ã¤ã„ã¦è§£èª¬ã—ã¾ã™ã€‚ å•é¡Œ: åŒæœŸçš„ãªæ¡ä»¶ä»˜ã require ã‚’ ESM 化ã§ããªã„ Node v22 ã«ã¦ã€ãƒ•ãƒ©ã‚°ä»˜ã㧠CJS (CommonJS Modules) ã‹ã‚‰ ESM ã‚’ require ã§ãるよã†ã«ãªã‚Šã¾ã—ãŸã€‚ã„ã‚ゆる require(esm) ã§ã™ã€‚ã“ã‚Œã«ã‚ˆã‚Šã€ä»Šã¾ã§ã¯äº’æ›æ€§ã®æ‡¸å¿µã§ ESM 化を足è¸ã¿ã—ã¦ã„ãŸè‘—åライブラリも ESM 化を試ã¿ã‚‹å‹•ããŒå‡ºã¦ãã¾ã—ãŸã€‚ TypeScript ã‚‚ãã®ä¸€ã¤ã§ã€TypeScript ãƒãƒ¼ãƒ 㯠TypeScript 自体を ESM 化ã—よã†ã¨è©¦ã¿ã¾ã—ãŸã€‚ã—ã‹ã—ãªãŒã‚‰ã€ä»Šå›žã®ä¸»é¡Œã§ã‚ã‚‹æ¡ä»¶ä»˜
README.md Node.jsã®TypeScriptサãƒãƒ¼ãƒˆã«ã¤ã„㦠Created: 2024-07-28 Updated: https://gist.github.com/azu/ac5dafbf211ef8b5ecf386930ac75250/revisions Node.jsã®TypeScriptサãƒãƒ¼ãƒˆã«é–¢ã™ã‚‹è°è«–を時系列ã§ã¾ã¨ã‚ãŸã‚‚ã®ã§ã™ã€‚ Start Issue: Support typescript with --experimental-strip-types · Issue #208 · nodejs/loaders SWCを使ã£ã¦TypeScriptã®åž‹ã‚’削除ã™ã‚‹ã“ã¨ã§ã€Node.jsã®TypeScriptサãƒãƒ¼ãƒˆã‚’実ç¾ã™ã‚‹ã¨ã„ã†æ案ã‹ã‚‰ã‚¹ã‚¿ãƒ¼ãƒˆã—ãŸã€‚ 最åˆã®æ‡¸å¿µã¨ã—ã¦ã¯ã€Node.jsã®LTSã¯3å¹´ä¿å®ˆã™ã‚‹å¿…è¦ãŒã‚ã‚‹ã®ã§ã€ä¾å˜ã«ã‚ˆã£ã¦Node.jsã®LTSサãƒãƒ¼
リリースã€éšœå®³æƒ…å ±ãªã©ã®ã‚µãƒ¼ãƒ“スã®ãŠçŸ¥ã‚‰ã›
最新ã®äººæ°—エントリーã®é…ä¿¡
処ç†ã‚’実行ä¸ã§ã™
j次ã®ãƒ–ックマーク
kå‰ã®ãƒ–ックマーク
lã‚ã¨ã§èªã‚€
eコメント一覧を開ã
oページを開ã
{{#tags}}- {{label}}
{{/tags}}