JavaScript 每周问题 639:2023 年 5 月 18 日

  • Bun's New Bundler: Bun is a new JavaScript runtime with a focus on speed, aiming to be a Node.js replacement. Its v0.6.0 release includes standalone executable generation. The new JavaScript bundler and minifier attracts attention. Shane O'Sullivan gave it a spin and there's discussion on Hacker News.
  • Deopt Explorer: A VS Code extension for analyzing V8 engine internals, including CPU profile data, inline cache operation, deoptimization, and function run details.
  • Cloudflare: Offers a suite of performance tools for supercharged speed and reliability, like ultra-fast CDN, smart traffic routing, and media optimization.
  • jQuery 3.7.0: A significant release for JavaScript Weekly. It folds the Sizzle selector engine into the core, adds unitless CSS properties, and a new uniqueSort method. Promises of major changes in the future.
  • In Brief:

    • TC39's Hemanth.HM started keeping a list of ES2023 code examples.
    • The New Stack has a story about Meta supporting the OpenJS Foundation.
    • Meta/Facebook wrote about efficiency gains in Messenger Desktop by moving from Electron to React Native.
    • Cloudflare Workers introduced a connect() API for creating TCP sockets.
    • Promise.withResolvers progressed to stage 2 at the latest TC39 meeting.
  • Releases:

    • Node.js 20.2
    • Rome 12.1 with stage 3 decorator support in the formatter/linter.
    • Ember.js 5.0 (app framework).
    • Jasmine 5.0 (testing framework).
    • Gatsby 5.10
  • Articles & Tutorials:

    • TypeScript's JS Projects Utilizing TypeScript page on different strictness levels.
    • "Your Jest Tests Might Be Wrong" about not using Jest's full potential in preventing state leakage.
    • "A Guide to Visual Regression Testing with Playwright" using Playwright for end-to-end testing and comparing visual output.
    • The latest issue of React Status if React is your thing.
  • Code & Tools:

    • Starry Night: GitHub-like syntax highlighting with a WASM build of the Oniguruma regex engine.
    • headless-qr: A slim QR code library without unnecessary code.
    • Transformers.js 2.0 for running Hugging Face transformers in the browser.
    • PrimeReact 9.4 (extensive UI component library).
    • The Lounge 4.4 (cross-platform, self-hosted web IRC client).
    • Faast.js 8.0 (serverless batch computing made simple).
  • Jobs: Use Hired to find JavaScript jobs. Companies approach with salary details. Share job listings here.
  • js2flowchart.js: A visualization library to convert JavaScript code into SVG flowcharts with a live online version.
阅读 14
0 条评论