mem-fs-editor 11.1.0 → 11.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ import path, { resolve } from 'path';
4
4
  import { globbySync, isDynamicPattern } from 'globby';
5
5
  import multimatch from 'multimatch';
6
6
  import normalize from 'normalize-path';
7
- import File, { isVinyl } from 'vinyl';
7
+ import File from 'vinyl';
8
8
  import { getCommonPath, globify, render } from '../util.js';
9
9
  function applyProcessingFunc(process, contents, filename, destination) {
10
10
  const output = process(contents, filename, destination);
@@ -79,7 +79,7 @@ export function _copySingle(from, to, options = {}) {
79
79
  return;
80
80
  }
81
81
  }
82
- if (isVinyl(file)) {
82
+ if (File.isVinyl(file)) {
83
83
  this._write(Object.assign(file.clone({ contents: false, deep: false }), {
84
84
  contents,
85
85
  path: to,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mem-fs-editor",
3
- "version": "11.1.0",
3
+ "version": "11.1.2",
4
4
  "description": "File edition helpers working on top of mem-fs",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -34,7 +34,7 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@types/ejs": "^3.1.4",
37
- "@types/node": "^18.18.5",
37
+ "@types/node": ">=18",
38
38
  "binaryextensions": "^6.11.0",
39
39
  "commondir": "^1.0.1",
40
40
  "deep-extend": "^0.6.0",
@@ -62,7 +62,7 @@
62
62
  "eslint-plugin-prettier": "^5.0.1",
63
63
  "prettier": "^3.0.3",
64
64
  "prettier-plugin-packagejson": "^2.4.6",
65
- "sinon": "^18.0.0",
65
+ "sinon": "^19.0.2",
66
66
  "typescript": "^5.2.2",
67
67
  "vitest": "^2.0.5"
68
68
  },