Socket
Socket
Sign inDemoInstall

memfs

Package Overview
Dependencies
Maintainers
1
Versions
152
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.5 to 2.0.6

29

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

@@ -25,11 +25,2 @@ "main": "lib/index.js",

},
"scripts": {
"build": "npm run build-ts && npm run build-js",
"build-ts": "./node_modules/.bin/gulp build-ts",
"build-js": "./node_modules/.bin/babel src --out-dir lib",
"test": "npm run test-coverage",
"test-basic": "./node_modules/.bin/mocha --require ts-node/register src/**/*.test.ts src/**/*.test.tsx",
"test-watch": "./node_modules/.bin/mocha --require ts-node/register src/**/*.test.ts src/**/*.test.tsx --watch",
"test-coverage": "nyc --per-file mocha --require ts-node/register --require source-map-support/register --full-trace --bail src/**/*.test.ts"
},
"dependencies": {

@@ -57,12 +48,9 @@ "fast-extend": "0.0.2",

"include": [
"src/**/*.ts",
"src/**/*.tsx"
"src/**/*.ts"
],
"exclude": [
"src/**/*.test.ts",
"src/**/*.test.tsx"
"src/**/*.test.ts"
],
"extension": [
".ts",
".tsx"
".ts"
],

@@ -81,3 +69,12 @@ "require": [

"cache": true
},
"scripts": {
"build": "npm run build-ts && npm run build-js",
"build-ts": "./node_modules/.bin/gulp build-ts",
"build-js": "./node_modules/.bin/babel src --out-dir lib",
"test": "npm run test-coverage",
"test-basic": "./node_modules/.bin/mocha --require ts-node/register src/**/*.test.ts",
"test-watch": "./node_modules/.bin/mocha --require ts-node/register src/**/*.test.ts --watch",
"test-coverage": "nyc --per-file mocha --require ts-node/register --require source-map-support/register --full-trace --bail src/**/*.test.ts"
}
}

@@ -7,2 +7,4 @@ # memfs 2.0

npm install --save memfs
- 100% of Node's `fs` API implemented, see *API Status*

@@ -16,3 +18,3 @@ - Stores files in memory, in `Buffer`s

- Permissions may* be implemented in the future
- Can be used in browser, see `memfs-webpack`
- Can be used in browser, see [`memfs-webpack`](https://github.com/streamich/memfs-webpack)

@@ -208,3 +210,3 @@ Usage:

Returns an *fs-like* object created from a `Volume` instance `vol.
Returns an *fs-like* object created from a `Volume` instance `vol`.

@@ -227,3 +229,3 @@ ```js

- Adds constructor functions `fs.Stats`, `fs.ReadStream`, `fs.WriteStream`, `fs.FileWatcher`, `fs.FSWatcher`.
- Adds constructors `fs.Stats`, `fs.ReadStream`, `fs.WriteStream`, `fs.FileWatcher`, `fs.FSWatcher`.
- Adds constants `fs.constants`, `fs.F_OK`, etc.

@@ -230,0 +232,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