v1.3.0
版本发布时间: 2017-03-20 05:23:08
jvilk/BrowserFS最新发布版本:v1.4.3(2017-08-08 04:22:34)
-
Removes global
setImmediate
polyfill. It was not a proper polyfill, and avoided implementingclearImmediate
.- While never explicitly documented, others may have come to depend on this functionality, leading me to bump up the minor version.
-
Proper API documentation
- There may be some rough edges, as we use typedoc (a TypeScript documentation generator) rather hackily.
-
Deprecates using
new BrowserFS.FileSystem.XmlHttpRequest(url)
. This usage of the constructor invokedXmlHttpRequest
synchronously, which may freeze up your page. Instead, useBrowserFS.FileSystem.XmlHttpRequest.FromURL(url, function(e, fs) { /* FS is ready to go. */ }
.- This constructor will be removed in the next major version.
- I will likely revisit some other API design choices by then, too. (Like the constructors that take callbacks...)
Internal changes:
-
Avoids using Buffer constructor. Uses
Buffer.from
/Buffer.alloc
instead. - Uses Yarn. Avoids weird issues/churn where minor NPM dependency version changes breaks CI builds / user builds.
1、 browserfs.js 797.64KB
2、 browserfs.js.map 1.16MB
3、 browserfs.min.js 235KB
4、 browserfs.min.js.map 1.91MB