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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump memfs from 3.6.0 to 4.2.0 #6

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 26, 2023

Bumps memfs from 3.6.0 to 4.2.0.

Release notes

Sourced from memfs's releases.

memfs v4

memfs v4 has been released, install 4.2.0 NPM package.

File System Access API

memfs added adapters for File System Access (FAS) API, which is a file system API available in browsers. FSA can write to a real user folder, which user picks; or without any permissions can write to a virtual file system, called OPFS (Origin Private File System). memfs implements adapters, which:

  • Construct a Node's fs-like API out of the FSA API.
    • In browser, support for synchronous fs methods is also available using a WebWorker.
  • Also, the other way around, memfs can provide FSA API on top of any fs-like file system.

Other notable changes

  • In-memory fs changes
    • A number of in-memroy fs bugs were fixed.
    • Type interfaces of methods and options objects for in-memory fs were improved.
    • mkdirp and mkdripSync were removed, they were deprecated before. (You can pass the "recursive" flag to mkdir and mkdirSync, instead.)
    • Many re-usable Node.js fs utilities now live in the /src/node folder.
    • Promises API methods are now bound by default to their this object, just like in native fs module.
  • crudfs and casfs
    • crudfs implementation on top of Node fs was added.
    • crudfs implementation on top of File System Access API was added.
    • casfs implementation on top of crudfs was added.
  • print utility was added which allows to recursively print a directory tree to terminal.
  • snapshot utility was added which allows to create recursive binary snapshots of folders and then load them back into some folder.
  • The /demo folder now contains multiple Webpack demos.
  • Build changes and deprecations
    • TypeScript was upgraded from version 4 to 5.
    • tslib is now included as peer dependency, instead of TypeScript helpers being emitted into distributable.
    • TypeScript build target of the distributable is no es2017, instead of previously es5.
    • The library is now tested on Node v18+ versions.
    • BigInt shim is no longer shipped, memfs will rely on the BigInt provided by the JavaScript environment. You can shim that global, if necessary.
    • fs-monkey dependemcy was removed.
  • New features in this major release are marked as experimental, which means those APIs are in preview, their public interface may have breaking changes even across minor releases.
  • CircleCI was removed, now GitHub actions power all builds and releases.
  • The next branch was tested, which deploys pre-releases.

Bug Fixes

* 馃悰 add support for unknown nodes (77786f1)
* 馃悰 allow readin into various kinds of buffers (361812d)
* 馃悰 allow readin into various kinds of buffers (e9c70e9)
* 馃悰 allow to seek in file (c04895b)
* 馃悰 allow to seek in file (b363689)
* 馃悰 correctly handle directory paths (ea909e8)
* 馃悰 do not allow empty children names (f014fd8)
* 馃悰 do not allow empty children names (43da1d6)

... (truncated)

Changelog

Sourced from memfs's changelog.

4.1.0 (2023-06-26)

Bug Fixes

  • 馃悰 add support for unknown nodes (77786f1)
  • 馃悰 allow readin into various kinds of buffers (361812d)
  • 馃悰 allow readin into various kinds of buffers (e9c70e9)
  • 馃悰 allow to seek in file (c04895b)
  • 馃悰 allow to seek in file (b363689)
  • 馃悰 correctly handle directory paths (ea909e8)
  • 馃悰 do not allow empty children names (f014fd8)
  • 馃悰 do not allow empty children names (43da1d6)
  • 馃悰 handle root folder better (89bbffd)
  • 馃悰 handle root folder better (76de780)
  • 馃悰 improve file opening and closing logic (403c271)
  • 馃悰 throw "ENOENT" and "ENOTDIR" when folder or file 404 (5de4faa)
  • 馃悰 throw "ENOENT" and "ENOTDIR" when folder or file 404 (ddd5d56)

Features

  • 馃幐 add .toTree() to Volume (2d5c4cb)
  • 馃幐 add .truncate() method (038ab36)
  • 馃幐 add .truncate() method (085335c)
  • 馃幐 add ability to close files (0db56be)
  • 馃幐 add ability to close files (d3828a8)
  • 馃幐 add ability to create sub directories (8f15bd9)
  • 馃幐 add ability to create sub directories (528c807)
  • 馃幐 add ability to remove all files (76cabc7)
  • 馃幐 add ability to remove all files (566e29b)
  • 馃幐 add appendFileSync() method (57192fe)
  • 馃幐 add appendFileSync() method (27411e4)
  • 馃幐 add basenem() utility (8b27695)
  • 馃幐 add basenem() utility (43354e5)
  • 馃幐 add binary serialization to snapshots (c1cd615)
  • 馃幐 add copyFile() method (de2bb0a)
  • 馃幐 add copyFile() method (5e207c4)
  • 馃幐 add copyFileSync() method (7e0137c)
  • 馃幐 add copyFileSync() method (5fc1bac)
  • 馃幐 add createSwapFile() method (dfdb908)
  • 馃幐 add createSwapFile() method (b07ce79)
  • 馃幐 add crudfs types (18c0658)
  • 馃幐 add existsSync() method (0492a98)
  • 馃幐 add existsSync() method (073ec6b)
  • 馃幐 add fstatSync() method (f13ddb7)
  • 馃幐 add fstatSync() method (6b1597a)
  • 馃幐 add initial writign implementation (2f9542c)
  • 馃幐 add initial writign implementation (6a50382)
  • 馃幐 add integrity check on read (710eb2f)

... (truncated)

Commits
  • af1e9d1 Release 4.2.0
  • 75e60a5 docs: remove v4 notice
  • 7556e5b chore(release): 4.1.0 [skip ci]
  • 32dd55a Merge pull request #926 from streamich/next
  • 491272b chore: 馃 bump compile target to es2017
  • dec27b3 chore(release): 4.1.0-next.5 [skip ci]
  • 01381cf Merge pull request #930 from streamich/snapshots
  • db54c49 docs: 鉁忥笍 add snapshto docs
  • eb3a62c style: 馃拕 run Prettier
  • 41f9b8c feat: 馃幐 add json encoding for snapshots
  • 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.


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)

Bumps [memfs](https://github.com/streamich/memfs) from 3.6.0 to 4.2.0.
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](streamich/memfs@v3.6.0...v4.2.0)

---
updated-dependencies:
- dependency-name: memfs
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 26, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 7, 2023

Superseded by #9.

@dependabot dependabot bot closed this Aug 7, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/memfs-4.2.0 branch August 7, 2023 21:05
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.

None yet

0 participants