Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump browserfs from 0.5.13 to 1.4.3 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps browserfs from 0.5.13 to 1.4.3.

Release notes

Sourced from browserfs's releases.

v1.4.3

  • Upgrades buffer version to 5.0.7. Fixes issue with cross-browser-context ArrayBuffer instances, and fixes compatibility with browsers that lack ArrayBuffer.isView().
  • Comprehensive and actionable error messages for file system configuration options. If you mess up a file system option, BrowserFS will spit out a useful and actionable error message now.
  • Options object is optional for Create() methods when file system takes no options. Previously, the behavior was inconsistent. Now, calling Create(cb) is equivalent to calling Create({}, cb).

v1.4.2

Fixes a serious bug in BrowserFS.configure that would result in incorrectly constructed file systems.

v1.4.1

Super minor bugfix: Link to new API docs from README.

Please refer to release note for v1.4.0 for details on the v1.4 update.

v1.4.0

This should be the last minor version of BrowserFS in the 1.x series. Future releases in the 1.x series will be limited to bug fixes.

This version standardizes the way that users instantiate BrowserFS backends, provides a much more convenient method of configuring BrowserFS as a whole, and should be significantly easier to use for newcomers to the library.

This version also adds deprecation notices to a number of APIs that will be removed in 2.x in favor of these more convenient and standardized instantiation methods.

Here are the changes in this version:

  • New convenience methods:
    • BrowserFS.configure(configObj, function(e) {}): Configure BrowserFS with a single object. See the README for more information. This is the single best change to BrowserFS in this update!
    • Create() Methods: Every single file system has a Create function that accepts file system-specific options as an object and a callback. These are easy to promisify, but you don't even have to use these directly if you use BrowserFS.configure!
    • MountableFileSystem.Create(): The new way of instantiating the MountableFileSystem takes in a mount map: BrowserFS.FileSystem.MountableFileSystem.Create({ '/tmp': inMemory }, function(e, fs) {})
  • Deprecated methods: Deprecates awkward initialization phases from file systems and constructors that require callbacks.
    • new BrowserFS.FileSystem.AsyncMirror(sync, async): Use BrowserFS.FileSystem.AsyncMirror.Create({ sync: sync, async: async }, function (e, fs) {}) instead.
    • AsyncMirror.initialize(): Use AsyncMirror.Create, which handles initialization for you.
    • new BrowserFS.FileSystem.Dropbox(client): Use BrowserFS.FileSystem.Dropbox.Create({client: client}, function (e, fs) {}) instead.
    • new BrowserFS.FileSystem.HTML5FS(size, type): Use BrowserFS.FileSystem.HTML5FS.Create({ type: type, size: size }, function (e, fs) {}) instead.
    • HTML5FS.allocate(): Use HTML5FS.Create() instead, which handles allocation for you.
    • new BrowserFS.FileSystem.IndexedDB(storeName): Use BrowserFS.FileSystem.IndexedDB({ storeName: storeName }, function(e, fs) { }) instead.
    • new BrowserFS.FileSystem.IsoFS(data, name): Use BrowserFS.FileSystem.IsoFS({ data: data, name: name}, function(e, fs) {}) instead.
    • new BrowserFS.FileSystem.OverlayFS(writable, readable): Use BrowerFS.FileSystem.OverlayFS({ readable: readable, writable: writable }, function (e, fs) {}) instead.
    • OverlayFS.initialize(): Use OverlayFS.Create() instead, which initializes OverlayFS for you!
    • new BrowserFS.FileSystem.WorkerFS(worker): Use BrowserFS.FileSystem.WorkerFS({ worker: worker }, function (e, cb){}) instead.
    • new BrowserFS.FileSystem.XmlHttpRequest(index, baseUrl): Use BrowserFS.FileSystem.XmlHttpRequest.Create({ index: index, baseUrl: baseUrl}) instead.
    • XmlHttpRequest.FromUrl: Use XmlHttpRequest.Create() instead, which handles index URLs asynchronously.
    • new BrowserFS.FileSystem.ZipFS(zipData, name): Use BrowserFS.FileSystem.ZipFS.Create({ zipData: zipData, name: name }, function (e, fs) {}) instead.
    • ZipFS.computeIndex(): Use ZipFS.Create() instead, which already computes indexes responsively.

v1.3.0

  • Removes global setImmediate polyfill. It was not a proper polyfill, and avoided implementing clearImmediate.
    • 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 invoked XmlHttpRequest synchronously, which may freeze up your page. Instead, use BrowserFS.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...)
... (truncated)
Commits
  • 8ed7c19 Version bump, and likely the last 1.x release!
  • 297844f Better file system options checking and error messages
  • dcc337f Upgrade buffer package, fixing #179.
  • c1ae1b7 Merge pull request #189 from wmhilton-contrib/issue-188
  • 20763de Karma tests properly detect browsers with a space in their name.
  • df29939 Merge pull request #190 from wmhilton-contrib/npm5-prepublish-script-deprecated
  • 9f17f9a "prepublish" script ignored in favor of "prepare" script in future npm versions
  • e215d6f Backport a bugfix for BrowserFS.configure caused by synchronous Create callba...
  • 1d51975 Actually test the new Worker constructor and link to new documentation in REA...
  • b72de19 Documentation improvements for 1.4.0.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [browserfs](https://github.com/jvilk/BrowserFS) from 0.5.13 to 1.4.3.
- [Release notes](https://github.com/jvilk/BrowserFS/releases)
- [Commits](jvilk/BrowserFS@v0.5.13...v1.4.3)

Signed-off-by: dependabot-preview[bot] <[email protected]>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants