Socket
Socket
Sign inDemoInstall

mem-fs-editor

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mem-fs-editor - npm Package Compare versions

Comparing version 9.7.0 to 10.0.0

lib/actions/append-tpl.ts

48

package.json
{
"name": "mem-fs-editor",
"version": "9.7.0",
"version": "10.0.0",
"description": "File edition helpers working on top of mem-fs",
"type": "module",
"scripts": {
"build": "tsc",
"fix": "eslint . --fix",
"prepare": "npm run build",
"pretest": "eslint .",
"test": "jest"
"test": "vitest --run"
},

@@ -13,3 +16,18 @@ "repository": "SBoudrias/mem-fs-editor",

"license": "MIT",
"main": "lib/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./state": {
"types": "./dist/state.d.ts",
"default": "./dist/state.js"
},
"./transform": {
"types": "./dist/transform.d.ts",
"default": "./dist/transform.js"
}
},
"files": [

@@ -19,12 +37,14 @@ "lib"

"dependencies": {
"@types/ejs": "^3.1.2",
"binaryextensions": "^4.16.0",
"commondir": "^1.0.1",
"deep-extend": "^0.6.0",
"ejs": "^3.1.8",
"globby": "^11.1.0",
"ejs": "^3.1.9",
"globby": "^13.1.4",
"isbinaryfile": "^5.0.0",
"minimatch": "^7.2.0",
"multimatch": "^5.0.0",
"minimatch": "^9.0.0",
"multimatch": "^6.0.0",
"normalize-path": "^3.0.0",
"textextensions": "^5.13.0"
"textextensions": "^5.13.0",
"vinyl": "^3.0.0"
},

@@ -46,12 +66,8 @@ "peerDependencies": {

"eslint-plugin-prettier": "^4.0.0",
"jest": "^29.4.3",
"mem-fs": "^2.3.0",
"mem-fs": "^3.0.0",
"prettier": "^2.5.1",
"sinon": "^15.0.1"
"sinon": "^15.0.1",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "coverage",
"testEnvironment": "node"
},
"engines": {

@@ -58,0 +74,0 @@ "node": ">=12.10.0"

@@ -12,6 +12,6 @@ # mem-fs-editor

```js
import memFs from 'mem-fs';
import { create as createMemFs } from 'mem-fs';
import editor from 'mem-fs-editor';
const store = memFs.create();
const store = createMemFs();
const fs = editor.create(store);

@@ -18,0 +18,0 @@

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