mem-fs-editor
Advanced tools
Comparing version 9.7.0 to 10.0.0
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
38961
847
1
Yes
13
11
1
+ Added@types/ejs@^3.1.2
+ Addedvinyl@^3.0.0
+ Added@types/ejs@3.1.5(transitive)
+ Addedarray-differ@4.0.0(transitive)
+ Addedarray-union@3.0.1(transitive)
+ Addedb4a@1.6.7(transitive)
+ Addedbare-events@2.5.0(transitive)
+ Addedfast-fifo@1.3.2(transitive)
+ Addedglobby@13.2.2(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedmultimatch@6.0.0(transitive)
+ Addedqueue-tick@1.0.1(transitive)
+ Addedreplace-ext@2.0.0(transitive)
+ Addedslash@4.0.0(transitive)
+ Addedstreamx@2.20.1(transitive)
+ Addedteex@1.0.1(transitive)
+ Addedtext-decoder@1.2.0(transitive)
+ Addedvinyl@3.0.0(transitive)
- Removedarray-differ@3.0.0(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedarrify@2.0.1(transitive)
- Removedglobby@11.1.0(transitive)
- Removedminimatch@7.4.6(transitive)
- Removedmultimatch@5.0.0(transitive)
- Removedslash@3.0.0(transitive)
Updatedejs@^3.1.9
Updatedglobby@^13.1.4
Updatedminimatch@^9.0.0
Updatedmultimatch@^6.0.0