Node.jsのプログラミングを並列化して10倍速く動かした話です。 Node学園 31時限目 のLT https://nodejs.connpass.com/event/90936/
v8.9.1LTS 対応 概要 console はグローバルなオブジェクトで、デバッグのためのシンプルなコンソール機能を提供する。 new Console(stdout[, stderr]) : 新しい Console オブジェクトを作成する。 console.assert(value[, message][, ...args]) : シンプルな Assertion テストを提供する。 console.clear() : 可能ならコンソール画面をクリアする。 console.count([label]) : label の内部カウンターを管理する。 console.countReset([label = 'default']) : label の内部カウンターをリセットする。 console.dir(obj[, options]) : util.inspect() を使って obj の文字
tl;dr There was a vulnerability in CouchDB caused by a discrepancy between the database’s native JSON parser and the Javascript JSON parser used during document validation. Because CouchDB databases are meant to be exposed directly to the internet, this enabled privilege escalation, and ultimately remote code execution, on a large number of installations. If it had been exploited, this bug could h
import puppeteer from 'puppeteer'; (async () => { // Launch the browser and open a new blank page const browser = await puppeteer.launch(); const page = await browser.newPage(); // Navigate the page to a URL await page.goto('https://developer.chrome.com/'); // Set screen size await page.setViewport({width: 1080, height: 1024}); // Type into search box await page.type('.devsite-search-field', 'auto
Intro 長いこと議論になっていた ES Modules の Node における扱いに一応の決着が付き、 .mjs という拡張子が採択された。 この拡張子の意味と、今後ブラウザと合わせて Universal JS を実装していく上での作法が見えてきたことになる。 合わせてエコシステムが対応していくことで、長年の夢だった JS のモジュール化を進めていくことができるだろう。 ES Modules 徐々に揃いつつある ES Modules(ESM) の仕様は TC39 で行われており、その仕様については主に以下のような部分になる。 import や export と行った構文 module 内はデフォルト strict mode module でスコープを閉じる module 内の this は undefined etc 逆に以下は TC39 での策定範囲外となる どう Module を読
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く