The front-end quick explode

  • Firefox 88 is releasedContains the following features:
    • FTP is officially disabled, and FTP support is planned to be completely removed from Firefox 90. FTP has been disabled in Safari 14 and Chrome 87.
    • The new class:user-valid:user-invalidTo match a form input that contains valid or invalid data. with:valid:invalidIs the difference between the:user-valid:user-invalidMatching only starts when the user stops paying attention to the element (for example, by tabbing to the next input), and Firefox was the first browser to implement this feature.
    • New matching indexes that support regular expressions (match indices) property that contains an arrayindices, stores the start and end locations of each matched capture group. This feature is in Stage 4, will enter ECMAScript 2022, and will be supported in Chrome 91.

Comments: So far, the three major browsers have been disabled FTP

  • Node.js 16.0.0, which will be available on October 26th, includes the following features:

    • The V8 JavaScript engine has been updated to 9.0 to optimize performance.
    • Stable Timers Promises API. The Timers Promises API provides a set of returnsPromiseObject, thus not neededutil.promisify(). This API was added in Node.js 15, which will be upgraded from experimental to stable.
    • The new compiler, this version will be the first pre-built binary release for Apple M1. While separate tarballs are provided for Intel (Darwin-X64) and ARM (Darwin-ARM64) architectures, the macOS installer (.pkg) will be released as a “FAT” (multi-architecture) binary.
  • The W3C technical architecture group rejected Google’s proposal to treat multiple different domain names as homologous.

    • The proposal suggests that if multiple domains are owned by the same entity, such as Google.com, Google.co.uk and youtube.com, browsers could be allowed to treat the set of domains as a single domain by “allowing related domains to declare themselves to be the same first party”.
    • Citing privacy and security concerns, the W3C rejected the proposal, saying it would weaken the meaning of homology, mean browser developers would provide and maintain their own lists, or lead developers to develop more browser-specific applications
    • Previously, Firefox 86 disabled cross-domain site storage port read and write. Safari 13.1 disables the use of cookies on all third-party sites.
  • China’s first JavaScript language proposal enters Stage 3 at ECMA.

    • This proposal is the “Error Cause” put forward by Alibaba front-end standardization group and Tao System technology department in TC39 Technical Committee recently. It will start to be implemented in JavaScript engine, and experimental implementation in browser and Node.js.
    • This proposal adds an optional parameter, options, to Error Constructor, which can set cause and accepts any JavaScript value (JavaScript can throw any value, such as undefined or string). Assign this value to the newly created error. Cause.

chest

  • JS IMAGE CARVER is a content-aware IMAGE scaler based on Seam Carving algorithm, which can arbitrarily change the height and width of an IMAGE without distorting the IMAGE. It works by finding the edges of objects in a picture, changing only the pixels between objects, and trying to keep the height to width ratio of the objects themselves.

  • React Hook Form is a Hook for React forms. It features high performance, flexible, extensible forms, easy authentication, and so on.


This issue is edited by @Mochen and reviewed by @Chenghu