8

技术周刊 2021-06-17:WWDC21

 3 years ago
source link: https://zhuanlan.zhihu.com/p/381887320
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

技术周刊 2021-06-17:WWDC21

前端开发话题下的优秀答主
  • WebKit 官方博客发布了 WWDC21 中介绍 Safari 更多新特性的演讲视频列表
v2-4d82d02d6891d2a66f0802f05f383f06_720w.jpg
  • 在 WWDC21 中还发布了测试版的 Swift 5.5,最令人期待的是支持了 async/await 功能。
v2-93f935b58e1fd9c898933f0d9b1245e5_720w.jpg
  • Chrome Canary 中初步实验性实现了 CSS 关系伪类选择器 :has(),可以用来选择父级元素,目前测试需要通过命令行启动:
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --enable-blink-test-features=CSSPseudoHas
  • Mocha 9.0 发布,Mocha 一直是 Node.js 和浏览器中流行的测试框架。新版本的主要改动是:
  • 不再支持 Node.js 10.x。
  • 通过默认使用 ECMAScript modules import(test_file) 而不是 CommonJS require(test_file) 来加载测试文件,从而实现 「ES 模块优先」。


优秀 Demo


本期编辑:一丝;审阅:墨尘;
题图来源:https://developer.apple.com/wwdc21/images/hero/hero-large_2x.jpg

发布于 6 小时前

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK