Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

memfs

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

memfs - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

lib/test/openSync.test.js

10

package.json
{
"name": "memfs",
"version": "2.0.9",
"version": "2.0.10",
"description": "In-memory file-system with Node's fs API.",

@@ -76,8 +76,8 @@ "main": "lib/index.js",

"test": "npm run test-basic-js",
"test-basic-js": "mocha lib/**/*.test.js",
"test-basic-ts": "mocha --require ts-node/register src/**/*.test.ts",
"test-watch-ts": "mocha --require ts-node/register src/**/*.test.ts --watch",
"test-coverage-ts": "nyc --per-file mocha --require ts-node/register --require source-map-support/register --full-trace --bail src/**/*.test.ts",
"test-basic-js": "mocha lib/**/**/**/*.test.js",
"test-basic-ts": "mocha --require ts-node/register src/**/**/**/*.test.ts",
"test-watch-ts": "mocha --require ts-node/register src/**/**/**/*.test.ts --watch",
"test-coverage-ts": "nyc --per-file mocha --require ts-node/register --require source-map-support/register --full-trace --bail src/**/**/**/*.test.ts",
"watch": "watch 'npm run build' ./src"
}
}

@@ -1,2 +0,2 @@

# memfs 2.0 [![][npm-img]][npm-url]
# memfs 2.0 [![][npm-badge]][npm-url] [![][travis-badge]][travis-url]

@@ -37,7 +37,8 @@ In-memory file-system with [Node's `fs` API](https://nodejs.org/api/fs.html).

vol.importJSON({
const json = {
'./README.md': '1',
'./src/index.js': '2',
'./node_modules/debug/index.js': '3',
}, '/app');
};
vol.importJSON(json, '/app');

@@ -66,2 +67,3 @@ fs.readFileSync('/app/README.md', 'utf8'); // 1

- [`spyfs`][linkfs] - spies on filesystem actions
- [`unionfs`][unionfs] - creates a union of multiple filesystem volumes

@@ -327,6 +329,9 @@ - [`linkfs`][linkfs] - redirects filesystem paths

[npm-url]: https://www.npmjs.com/package/memfs
[npm-img]: https://img.shields.io/npm/v/memfs.svg
[npm-badge]: https://img.shields.io/npm/v/memfs.svg
[travis-url]: https://travis-ci.org/streamich/memfs
[travis-badge]: https://travis-ci.org/streamich/memfs.svg?branch=master
[memfs]: https://github.com/streamich/memfs
[unionfs]: https://github.com/streamich/unionfs
[linkfs]: https://github.com/streamich/linkfs
[spyfs]: https://github.com/streamich/spyfs
[fs-monkey]: https://github.com/streamich/fs-monkey

@@ -333,0 +338,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc