Web Developer working on @kintone at @cybozu. Loves JavaScript and Curry! ð Old slides: https://www.slideshare.net/teppeis/presentations
ãç¥ãã éå¶ä¼ç¤¾ã®å¹´æ«å¹´å§ä¼æ¥ã«ã¤ãã2023å¹´12æ27æ¥(é)13æ以éã®connpassæ©è½ã®ãåãåããã«ã¤ãã¾ãã¦ã¯2024å¹´1æ6æ¥(æ)ããé 次ãæ¡å ããã¦ããã ãã¾ããããããããäºæ¿ãã ããã ãç¥ãã ã¤ãã³ããã¼ã¸å ã®ãã£ã¼ãã³ã¡ã³ãæ稿ä»æ§ãå¤æ´ãã¾ãããä»å¾ãã³ã¡ã³ãã®æ稿ã¯ãã¤ãã³ãã«åå ç»é²ï¼è£æ¬ ã»æ½é¸ãå«ãï¼ãã¦ããã¦ã¼ã¶ã¼ãã¾ãã¯ã¤ãã³ãéå¬é¢ä¿è ï¼ç®¡çè ã»çºè¡¨è ï¼ã®ã¿å¯è½ã¨ãªãã¾ããåå ç»é²ããã¦ããªãã¦ã¼ã¶ã¼ã§ãã¤ãã³ããã¼ã¸ã«é¢ããé£çµ¡ã質åãããå ´åã¯ããã¤ãã³ãã¸ã®ãåãåãããæ©è½ããå©ç¨ãã ããã ãç¥ãã 2024å¹´9æ1æ¥ãããconnpassã§ã¯ã¹ã¯ã¬ã¤ãã³ã°ãç¦æ¢ããå©ç¨è¦ç´ã«æè¨ãã¾ããã以éã®æ å ±åå¾ã«ã¯connpass APIããå©ç¨ãã ãããAPIãå©ç¨ã«ã¤ãã¦ã¯ãã«ããã¼ã¸ãã確èªãã ããã 3æ 18 ãµã¤ãã¼ã¨ã¼ã¸ã§ã³
å¹´æãã¯ã¾ãç°å¢æ´åãããã¨ãããã¨ã§ä»å¹´ã¯ mise ãå°å ¥ãããã¨ã«ããã å»å¹´ã¾ã§ rtx ã¨ã rtx-cli ã¨ããååã§ãã£ã¦ã Rust å®è£ ã® asdf 代æ¿ã®å¤ç¨éãã¼ã¸ã§ã³ç®¡çãã¼ã«ããã®å¹´æãã«æ¥ã« mise ã«ãªãã¼ã ããããã¨ãããã¥ã¼ã¹ãæµãã¦ãã¦ãæ°ã«ãªã£ã¦è¦ã¦ã¿ããè¯ãããã ã£ãã ä¸è¬çãªè§£èª¬ã¯ "rtx" ã§ã°ã°ãã¨æ¥æ¬èªè¨äºãåºã¦ããã®ã§ãã£ã¡ãè¦ã¦æ¬²ãããã©ãå人ç㪠asdf ã«å¯¾ããã¡ãªããã¯ãã®ãããã ã¨ã«ããéã asdf 㯠Node ã®ææ°ãã¼ã¸ã§ã³ã®åæ ã node-build ä¾åã§ãæ´æ°ãæ°æ¥é ãããã¨ããã£ã çµæçã«æåã§å®ç¾©ãã¡ã¤ã«ãæ´æ°ãã¦ããããå¦çé度ãé ãé¢åã ã£ã åè: asdf 㧠node-build ã®å®ç¾©ãã¡ã¤ã«ãæåæ´æ°ãã asdf ã¯ã³ãã³ãä½ç³»ãè¬ã ã£ãï¼èªåã«ã¯ï¼ ä¾ãã° v20 ç³»ã®ææ°ãã¤ã³
ãã3å¹´ãããããæé¤æ©ã Rentio ã®ã¬ã³ã¿ã«ã§å©ç¨ãç¶ãã¦ããã Rentio ã®å®¶é»ã¬ã³ã¿ã«ã®è¯ãã¨ããã¯ã æ¯å¹´ãææ°ã¢ãã«ã«ä¹ãæãã¦ä½¿ããã¨ãã§ãã æ®éã«æªéå°æ°åãéããã¦ããï¼ä½é¡ãªãªã¦ã¼ã¹åã®ãã©ã³ãããï¼ ããæ°æ©ç¨®ãããºã¬ã ã£ããï¼ã¨ãããªã¹ã¯ãå°ãªã ææªãæä½æéï¼ã ãããåå¹´ï¼ã使ç¨ããããã¤ã§ãå¥æ©ç¨®ã«ä¹ãæãå¯è½ ãã£ã¨çæéã§ã試ããããå ´åãæ©ç¨®ã«ãã£ã¦2é±éã¨ã1ã¶æéå®ã®æ ¼å®ã試ããã©ã³ãç¨æããã¦ãããè¯ããã°ãã®ã¾ã¾é常å¥ç´ã«åãæ¿ããå¯è½ 使ç¨çµäºæãã¡ã«ã«ãªã¨ãä¸åãã®æéããªã ãã¨ã§ä¸åããããã綺éºã«ä½¿ããªããï¼ã¿ãããªå¿ççè² æ ããªã ã¬ã³ã¿ã«çµäºãç³ãè¾¼ãã ãéè·ã«ããã¤ããã«æ¸¡ãã ãã§æ¥½ æ éãã¦ãä¿®çã®è² æ ãã¼ãããã代æ¿æ©ãéã£ã¦ãããã ç¹ã«ããããæé¤æ©ã®é²åã¯æ¿ãããæ©è½å¼·åï¼ã¨åå®ï¼ã«ããä¾¡æ ¼ä¸æãåãã¦ææ°ã¢ã
ä»å¹´ Withings Body+ ã¨ããä½éè¨ãããããã¹ãã¼ãã¹ã±ã¼ã«ãè²·ã£ãã 以åã¯å¥åº·è¨ºæ以å¤ã§ä½éè¨ã«ã®ããã¨ã¯ãªãã£ãããä½éã®å¢æ¸ãæ¿ããã¿ã¤ãã§ã¯ãªãã£ããã ãã©ãApple Watch ãããã«ã¹ã±ã¢ã¢ããªã«å¥åº·æ å ±ãæºã¾ã£ã¦ããã®ããªãã¨ãªã楽ããã¦ããµã¨ä½éããããããã¦ã¿ãããªã£ããããå¹´é½¢ã«ãªã£ã¦ããããã ã§ãä½éè¨ãé¸ã¼ãã¨ããããå¸æã«ãããããé¸æè¢ãæå¤ã¨å°ãªãã£ãã Appleãã«ã¹ã±ã¢ã«é£åãã WiFi æ¥ç¶ Bluetooth æ¥ç¶ã®ã¿ã§ãæ¯å iPhone ã§å°ç¨ã¢ããªãç«ã¡ä¸ãã¦åæããªããã°ãããªãä½éè¨ãå®ç©ã ã¨çµæ§ãã ä½éè¨ã«ä¹ãã ãã§ãåæã«ããã¯ã°ã©ã¦ã³ãã§ã·ã³ã¯ãã¦ããã«ã¹ã±ã¢ã«ãã¼ã¿ãå ¥ã£ã¦ã»ãã 家æã§ä½¿ãã 家æã®ãã©ã¤ãã·ã¼ãä¿ããããä½éãåæã«å ±æãããªã ä½éãè¿ã家æããã¦ã誤å¤å®ããªã ä½é以å¤ã®ä½èèªã¨ã測
ãã®è¨äºã¯ Cybozu Frontend Advent Calendar 2023 ã® 24 æ¥ç®ã®è¨äºã§ãã å æ¥ãªãªã¼ã¹ããã ESLint v8.56.0 ã§ãªãã·ã§ã³ reportUnusedDisableDirectives ãæ¹åããã話ã§ãã å ã ã©ããããªãã·ã§ã³ã ã£ãï¼ // eslint-disable-line ã¿ãããªã«ã¼ã«ç¡å¹åãã£ã¬ã¯ãã£ããæ¸ãããã©ããã°ãããã¦ä½ãããã®ã³ã¼ãä¿®æ£ã®å½±é¿ã§ãããã®ã«ã¼ã«éåã¯çºçããªããªã£ã¦ãã§ãç¡å¹åãã£ã¬ã¯ãã£ãã¯æ¶ãå¿ãã¦ç¡é§ã«æ®ã£ã¦ãããã¿ãããªç¶æ ã¯èµ·ãããã¡ã§ãã ä¾ãã°ä»¥ä¸ã®ããã« non null assertion (!) ãä¸æçã«å¿ è¦ã«ãªã£ã¦ disable ãããã©ã
Garoonéçºãã¼ã ã®ã±ãã¨ã¾ (@pakutoma) ã§ãã Garoonéçºãã¼ã ãç´¹ä»ããå ¨5åã®è¨äºãä»åã4åç®ã§ãï¼ ååï¼Garoonã®Four Keysãæ¹åããHanamiãã¼ã ã®ç´¹ä» ä»åã¯ãGaroonã®ããã©ã¼ãã³ã¹ãæ¹åããæ°ãã¼ã ãNozomiãã¼ã ãç´¹ä»ãã¾ãï¼ Garoonãã¹ãã¬ã¹ãªã使ã£ã¦ãããããã®ãã¼ã Nozomiãã¼ã ã¯ãGaroonã®ããã©ã¼ãã³ã¹æ¹åã«åãçµããã¼ã ã§ãã Garoonãããããã®äººã«ã¹ãã¬ã¹ãªã使ã£ã¦ããããã¨ãç®æ¨ã¨ãã¦ãã¾ãï¼ ããã©ã¼ãã³ã¹æ¹åã«åãçµãNozomiãã¼ã Garoonã¯ãæ°ä¸äººè¦æ¨¡ã®å¤§ä¼æ¥ã§ãæ´»ç¨ãã¦ããã ãã¦ãã¾ãã æ°ä¸äººã®ã客ãã¾ãæ¯æä¸æã«ã¡ã¼ã«ãã§ãã¯ãããããä¸æ¥ã®ã¹ã±ã¸ã¥ã¼ã«ã確èªãããããæé帯ãGaroonã®ãã¼ã¯ã¿ã¤ã ã«ãªãã¾ãã ãããªæã«Garoonããã£ã¨ãµã¯ãµã¯åä½ããã
ããºã¬ã·ãAdvent Calendarã®16æ¥ç®ã§ããï¼å½æ¥ã¤ã³ãã«ã§é å»æ稿ã§ãï¼ ä»å¹´ã³ã£ããããã®ããã®ã¹ã¢ã¼ã¯ãã¼ãºã使ã£ãã«ã«ããã¼ã©ã ãã®ãã£ã³ãã£ã¿ã¤ãã®ã¹ã¢ã¼ã¯ãã¼ãºã£ã¦é ã®ã¤ã¾ã¿ã«ããé£ã¹ããã¨ãªãã£ããããã©ããªããã ããï¼ã¨æ°ã«ãªã£ã¦ä½ããããªã£ãããå®éãç±ãããã¨ããã¦ãããªã«æ¿åã§ç¾å³ããã½ã¼ã¹ã«ãªãã®ãï¼ã¨é©ãããä»å¹´ã®ã¢ã¤ãã¢è³ã§ããããºã¬ã·ããããããã³ãã¯ã¨â¦
ãããããªã¤ã³ã¿ã¼ããããã®ã¨ãããã¹ããã¯ã¦ãããããã³ã¡ã³ãé表示ã«ãªã£ã¦ããã¨ã«æ°ã¥ããããã©ãããã©ã¼ã åä½ã§é表示ã«ãªã£ã¦ãã®ãã¼ãè¯ãã¢ã¤ãã¢ã ãªã¼ãã¨æã£ããã¡ãã£ã¨éã£ãã ã¹ãã³ãµã¼ï¼æåãã©ã³ï¼ã«ãªãã¨é表示ã«è¨å®ã§ããã£ã¦ããä»çµã¿ã®ãããã ã£ãããã®ãã¹ããæ¸ãã人ãã¹ãã³ãµã¼ã«ãªã£ã¦è¨å®ãã¦ããã ãã ããéã®æ¹ãããããããªãããªã¼ãããã©ã«ãéå ¬éã§ãã©ããã¦ãã³ã¡ã³â¦
2023å¹´11æ8ã»9æ¥ã«å¹å¼µã¡ãã»ã§éå¬ããããµã¤ãã¦ãºãã¤ãº2023ã2æ¥ç®ã®åºèª¿è¬æ¼ã§ã¯ããµã¤ãã¦ãº ééæ ¶ä¹ ç¤¾é·ã¨ç¤¾å¡ãã¡ãããµã¤ãã¦ãºNEXTãã¨å¼ã°ãã次ã®è£½åæ¦ç¥ãè´è¡ã«å±ããã¨ããå 容ã¨ãªã£ãããã¼ã¯ã¼ãã¯ãã¯ã³ãã©ãããã©ã¼ã ããã¨ã³ã·ã¹ãã ããå ¨ç¤¾å±éãããã¯ããã¸ã¼ããAIããã°ãã¼ãã«ãã®6ã¤ã ã kintoneã¦ã¼ã¶ã¼ã®å¤åã¯èªæ²»ä½å°å ¥ã®æ¡å¤§ã¨DX人æã®è²æ å¹å¼µã¡ãã»ã®åºå¤§ãªã¹ãã¼ã¹ãæ´»ããã大ããããªã»ããã¨ç¬ç¹ã®ä¸ç観ã§è´è¡ãåã°ãã¦ãããµã¤ãã¦ãºãã¤ãºã2å¹´é£ç¶ã§DXãå ãããMagical DX Tourï½DXã¸ã®éæ³ãå¦ã¶2æ¥éï½ãã¨ãããã¼ããæ²ããä»å¹´ã®åºèª¿è¬æ¼ã¯ã女æ§ã ãã®ããã°ãã³ãããããããªã«ã±ã¹ã¿ãã®æ¼å¥ããã¹ã¿ã¼ããããã¨ãã«ãã¯ãã«ã«ãã¨ãã«ã¹ã¦ã£ã³ã°ãã縦横ç¡å°½ãªæ¼å¥ãè¦ãããããããªã«ã±ã¹ã¿ã¯ãä»åã®ã¤ãã³ãã«ããã»ã©ãµããããã¤
asdf 㧠Node.js ãæ±ãå ´åãå é¨çã«ã¯ node-build ã«ãã£ã¦ã¤ã³ã¹ãã¼ã«å¯è½ãªãã¼ã¸ã§ã³ã¨ã¢ã¼ã«ã¤ãã® URL ã®å®ç¾©ãã¡ã¤ã«ã管çããã¦ããã ãã®å®ç¾©ãã¡ã¤ã«ãæ°æ¥æ´æ°ãããªããã¨ããã[1]ãããããå ´åã«æåã§ãã¼ã«ã«ã®å®ç¾©ãã¡ã¤ã«ãæ´æ°ãã¦æ°ãã¼ã¸ã§ã³ãã¤ã³ã¹ãã¼ã«ããæ¹æ³ãæ¯åå¿ããã®ã§ã¡ã¢ã«æ®ãã¦ããã æé ã ãæ¸ãã¨ããã DIR=/tmp/node-defs mkdir -p $DIR npx -p @nodenv/node-build-update-defs nodenv-update-version-defs -f -d $DIR NODE_BUILD_DEFINITIONS=$DIR asdf install nodejs 21.0.0 node-build-update-defs 㯠node-build ãå®ç¾©ãã¡ã¤ã«ãçæãã¦ãããã¼ã«
ESLintã®æ°ããFlat Configã¯ãããã©ã«ãã§ã¯ãã¡ã¤ã«åã¨æ¡å¼µåãåºå®ã§eslint.config.jsãã使ããªããeslint.config.mjsã使ããªãã ã¤ã¾ããããã¸ã§ã¯ãã®package.jsonã®typeã«ä¾åãã¦ãä¸èº«ãCommonJSãESMãªã®ããå¤ãã£ã¦ãã¾ãã ããã¯å®éãã£ããé¢åã«ãªãããã§ãèªåã§ä½¿ãè¨å®ãã¡ã¤ã«ã¯å ±éã§ä½¿ãåããã¨ã«ãªãã¨æããã©ãããã¸ã§ã¯ãã«ãã£ã¦require()ã使ãCJSç¨ã¨importã使ãESMç¨ã§æ¸ãåããªãã¨ãããªããªãã ä¸å¿ã³ãã³ãã©ã¤ã³å¼æ°ã使ãã°ä»»æã®ãã¡ã¤ã«åãè¨å®ãã¡ã¤ã«ã¨ãã¦æ¸¡ããã¨ã¯ã§ãããã©ããã®å ´åã¯ç°å¢å¤æ°ã§Flat Configãæå¹åããå¿ è¦ãããã®ã§ãé½åº¦æã§æã¤ã®ã¯å³ããé·ã ã¨ããã³ãã³ãã«ãªã£ã¦ãã¾ãã ESLintãã¼ã ã¯ãããã«é¢ãã¦ããªãåºã決æãæã£ã¦ãããããªã®ã§è¦
// A: ãã®ã¾ã¾æ®ã import { Foo } from "./foo"; // B: èå¥å `Foo` ãåé¤ããã import {} from "./foo"; // C: import æãã¨å®å ¨ã«åé¤ããã ã©ãã«ãªããã¯ã以ä¸ã®ç¶æ ã®çµã¿åããä¾åããï¼ä»ã«ãæ¡ä»¶ããããï¼ã ãã®ãã¡ã¤ã«ã§Fooãå¤ã¨ãã¦åç §ãããããåã¨ãã¦åç §ãããããåç §ãããªãã Fooãfoo.tsã§å¤ã¨ãã¦å®ç¾©ããã¦ããããåã¨ãã¦å®ç¾©ããã¦ããã tsconfig ã®ãªãã·ã§ã³è¨å® importsNotUsedAsValues: å¤ã¨ãã¦åç §ãããªã import æãæ®ããã©ãã preserveValueImports: åç §ãããªã import èå¥åãå¤ãªãæ®ã isolatedModules: ãã¡ã¤ã«åä½ã§ãã©ã³ã¹ãã¤ã«ãã ä¸è¨ã¯åºåããã¢ã¸ã¥ã¼ã«å½¢å¼ã ESM ã®å ´å
ããã«ã¡ã¯ãéçºå¯æ¬é¨é·ã® okady ã§ãã ãµã¤ãã¦ãºéçºæ¬é¨ã§ã¯2019å¹´ã«çµç¹å¤æ´ãå®æ½ããå½æã®ã¤ã³ã¿ãã¥ã¼è¨äºã§ç§ã¯ãããªãã¨ãè¨ã£ã¦ãã¾ããã ãããã¼ã¸ã£ã¼ãããªãã¨ç¡çãªããã¾ãã¤ããã°ããã ãµã¤ãã¦ãºã®éçºæ¬é¨ãããã¸ã£ã¼ããªããã¦ã¿ããããªãã¨ç¡çãªããã¾ãã¤ããã°ããã | ãµã¤ãã¦ãºå¼ ããã¦ä»åã®è¨äºã¯ãå½æã®ç§èªèº«ã®è¨èã«å¿ããã¿ã¤ãã«ã«ãã¾ããã ãããã¼ã¸ã£ã¼ãããªãã¨ç¡çã ã£ãã®ã§ãã¾ãã¤ããã¾ããã 2019å¹´ã®çµç¹å¤æ´ãã3å¹´ãçµã¡ãç®çã¯æ¦ãéæã§ãã¾ãããããããæãéãã«ãããªãã£ããã¨ãå½åæ³å®ãã¦ããªãã£ãåé¡ãããããããã¾ãããããã¦2022å¹´5æãéçºæ¬é¨ã®çµç¹åãããã«å¼·åãã¹ãåã³å¤§ããªçµç¹å¤æ´ã«åãçµããã¨ã決æãã¾ããã ãã®è¨äºã§ã¯ã2019å¹´ã®çµç¹å¤æ´ã¨ãã®å¾ãæ¯ãè¿ã£ãä¸ã§ã2022å¹´ã«å®æ½ããæ°ããªçµç¹å¤æ´ã«ã¤ãã¦ã
ã¢ãã³éçºçµç¹ã®æ§ç¯ãã¦ãã¦ãã¯ããã2022å¹´ç¾å¨ã®éçºãã¬ã³ããç´¹ä»ããææ¥ããã®ãã¸ãã¹ãå éãããç¥è¦ãå±ãããPOST Dev produced by nijiboxããããã§åºæ¨æ°ãä½è¤æ°ãå¤å·æ°ããããã³ãã¨ã³ãçµç¹è«ãããã¼ãã«ç»å£ãã¾ãã¯ãDX Criteriaããªã©ã®ææ¨ãæ´»ç¨ãããããã³ãã¨ã³ãçµç¹ã®ã¢ãããã¼ãã«ã¤ãã¦è©±ãåãã¾ãã åºæ¨æ°ã»ä½è¤æ°ã®èªå·±ç´¹ä» å¤å·é½ä»æ°ï¼ä»¥ä¸ãå¤å·ï¼ï¼æåã®ããã«ãã£ã¹ã«ãã·ã§ã³ã¯ãããã³ãã¨ã³ãçµç¹è«ãã«ã¤ãã¦ã®ãã¼ããä¸ãã¾ãããç»å£ããã ãæ¹ã«ã¯ãç§ããç´¹ä»ããä¸ã§ãããã«èªå·±ç´¹ä»ããã¦ããã ããããªã¨æãã¾ãã æ ªå¼ä¼ç¤¾ã¬ã¯ã¿ã¼ åç· å½¹ï¼ä¸è¬ç¤¾å£æ³äºº æ¥æ¬CTOåä¼ã®çäºãåãããã¦ããåºæ¨å¤§å°ããã¨ããµã¤ãã¦ãºæ ªå¼ä¼ç¤¾ å·è¡å½¹å¡ éçºæ¬é¨é·ã§ããä½è¤éå¹³ããã®ãäºäººã«æ¥ã¦ããã ãã¦ãã¾ãã ãäºäººã¨ãæåã¯ã¨ã³ã¸ãã¢ã¨ãã¦
2022 å¹´ç¾å¨ãNode.js çé㯠ESM (ES Module) ã¸ã®ç§»è¡ã®é渡æã§ãããç¹ã«æ¢åããã¸ã§ã¯ãã«ããã¦ã¯ CJS (CommonJS) æ§æã§ãããã¨ãã¾ã ã¾ã å¤ããã¾ããPure ESM 㪠npm ããã±ã¼ã¸ã¯ãCSJ ããã¸ã§ã¯ãããã®å©ä¾¿æ§ãæªããdynamic import ãå¿ é ã§éåæåãå¼·ããããã TypeScript ã®è¨å®å¤æ´ãå¿ è¦ã ã£ããã¨é¢åãå¢ããã ãããªç¶æ³ã®ãããåºã使ãããã npm ããã±ã¼ã¸ãå ¬éããå ´åãimportã§ãrequireã§ãå©ç¨ã§ãããã dual package æ§æãåããããªãããå®çªææ³ã確ç«ãã¦ããã¨ã¯è¨ãããæå¤ã¨é¢åãå¤ããããè¦ãã®ã¯ãtscãesbuildç㧠ESM ç¨ã¨ CJS ç¨ã®è¨å®ãã¡ã¤ã«ãç¨æãã¦ããããå¥ãã£ã¬ã¯ããªã«åºåããããã±ã¼ã¸ã«ä¸¡æ¹å梱ã㦠conditional ex
æè¿ã«ãªã£ã¦ M1 Mac å ¥æããã®ã§ç°å¢æ§ç¯ã® tips ãã¡ã¢ã Node.js v16 以ä¸ã§ã¯ M1 Mac åã arm64 ãã¤ããªãå ¬å¼ã«æä¾ããã¦ããããv15 以ä¸ã§ã¯æä¾ããã¦ããªãã M1 Mac 㧠nodenv ã使ã£ã¦ Node.js ãã¤ã³ã¹ãã¼ã«ããå ´åãv16 ã§ã¯ãã¡ãã arm64 ãã¤ããªããã¦ã³ãã¼ãããããv14 ã§ã¯ x86_64 ãã¤ããªããã¦ã³ãã¼ãã㦠Rosetta ã§åããã®ã§ã¯ãªããã½ã¼ã¹ããã¦ã³ãã¼ããã¦ãã¼ã«ã«ã§ã³ã³ãã¤ã«ãå§ã¾ã£ã¦ãã¾ãã ãã®æåã¯å³å¯ã« arm64 ãã¤ããªã欲ãã人ã«ã¯å¬ãããããããªãããã¡ãã£ã¨ããåä½ç¢ºèªããããã ããªã®ã«æ°åããã¦ãã«ãããã¦ãå°ãã ããããå ´åãarch ã³ãã³ãã使ããã¨ã§ nodenv 㧠x86_64 ãã¤ããªãã¤ã³ã¹ãã¼ã«ã§ããã
æ¬è¨äºã§è¨è¿°ãã Node.js ESM 対å¿ã¯2022 å¹´ 5 æã« TypeScript 4.7 ã§æ£å¼çã¨ãã¦ãªãªã¼ã¹ããã¾ããã æ¬è¨äºã®å 容ã¨ã®å·®åã¯module:node12ãmodule:node16ã«å¤æ´ããããã¨ãããã§ããnode16ã§ã¯ top-level await ã使ããç¾æç¹ã§ã¯nodenextã¨ã®å·®åã¯ããã¾ããã ä»ã«é¢é£ããæ©è½ã¨ãã¦resolution-modeã--moduleDetectionã追å ããã¾ããããä¸è¬å©ç¨è ãæèãããã¨ã¯ãªãã§ãããã å æ¥ãªãªã¼ã¹ããã TypeScript 4.5 Beta ã§ãå¾ æã® Node.js ESM 対å¿ãã¢ãã¦ã³ã¹ããã¾ããã ãã®å¾ãã¦ã¼ã¶ã¼ããã®ãã£ã¼ãããã¯ãçµã¦ãTypeScript ãã¼ã 㯠TS 4.5ï¼11/16 ãªãªã¼ã¹äºå®ï¼ã§ã¯ ESM 対å¿ã stable ãªãªã¼ã¹ãããNigh
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}