Yarn v1.12.1 发布,Facebook 的 JavaScript 包管理器

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Yarn v1.12.1 发布了,这是一个 Facebook 推出的 JavaScript 包管理器。该版本主要是修复了 bug,但也包括功能改进和新增功能,具体如下: Ensures the engine check is ran before showing the UI for upgrade-...

Yarn v1.12.1 发布了,这是一个 Facebook 推出的 JavaScript 包管理器。该版本主要是修复了 bug,但也包括功能改进和新增功能,具体如下:

  • Ensures the engine check is ran before showing the UI for upgrade-interactive #6536 - Orta Therox

  • Restores Node v4 support by downgrading cli-table3 #6535 - Mark Stacey

  • Prevents infinite loop when parsing corrupted lockfiles with unterminated strings #4965 - Ryan Hendrickson

  • Environment variables now have to start with YARN_ (instead of just contain it) to be considered #6518 - Michael Gmelin

  • Fixes the extensions option when used by resolveRequest #6479 - Maël Nison

  • Fixes handling of empty string entries for bin in package.json #6515 - Ryan Burrows

  • Adds support for basic auth for registries with paths, such as artifactory #5322 - Karolis Narkevicius

  • Adds 2FA (Two Factor Authentication) support to publish & alike #6555 - Krzysztof Zbudniewek

  • Fixes how the files property is interpreted to bring it in line with npm #6562 - Bertrand Marron

  • Fixes Yarn invocations on Darwin when the yarn binary was symlinked #6568 - Hidde Boomsma

  • Fixes require.resolve when used together with the paths option #6565 - Maël Nison

Yarn 是 Facebook 推出的 JavaScript 包管理器,旨在提供 npm 之外的另一种选择方案。Yarn 具有极佳的伸缩性,可以支持成千上万个直接或间接的包依赖。Yarn 的设计初衷是保证稳定性、弹性和高性能。

那么 Yarn 和 npm 有什么不同呢?两者最大的不同在于安装包的方式,Yarn 用到了 lockfiles 和确定性算法。Lockfile 会把安装的包版本进行锁定,保证了 node_modules 目录在不同设备上的安装结果是一致的,同时支持并行操作,大大加快安装进程。此外,Yarn 还声明同时兼容 npm 和 Bower,支持两个仓库混合使用,同时支持包的离线安装(只要你曾经安装过这个包)。

Yarn 1.0 的发布时间是 2017 年 9 月,可点此查看更新内容。

Yarn 1.12.1 源码下载 https://github.com/yarnpkg/yarn/releases/tag/v1.12.1


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

UML基础与Rose建模教程

UML基础与Rose建模教程

人民邮电出版社 / 人民邮电出版社 / 2006-1 / 36.00元

《UML基础与Rose建模教程》全面,详细地介绍了 UML 的基础知识和Rational Rose的使用方法,并通过4个综合性的案例,展示了使用UML和Rose进行软件建模的具体方法和步骤。全书共分20章,前4章是基础部分,介绍了UML和Rose的基础知识;第5章到第13章是《UML基础与Rose建模教程》的重点,介绍了UML的9种图和组成元素,以及相关的建模技术,并在每章的最后介绍了各种图在Ro......一起来看看 《UML基础与Rose建模教程》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码