Skip to content

Commit

Permalink
perf: ⚡️ bump fast-extend
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Nov 26, 2019
1 parent 2e4f00b commit 606775b
Show file tree
Hide file tree
Showing 3 changed files with 3,090 additions and 84 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -25,8 +25,8 @@
"url": "https://github.com/streamich/memfs.git"
},
"dependencies": {
"fast-extend": "0.0.2",
"fs-monkey": "^0.3.3"
"fast-extend": "1.0.2",
"fs-monkey": "0.3.3"
},
"devDependencies": {
"@types/jest": "23.3.14",
Expand Down
4 changes: 2 additions & 2 deletions src/volume.ts
Expand Up @@ -11,7 +11,7 @@ import { constants } from './constants';
import { EventEmitter } from 'events';
import { TEncoding, TEncodingExtended, TDataOut, assertEncoding, strToEncoding, ENCODING_UTF8 } from './encoding';
import * as errors from './internal/errors';
import extend = require('fast-extend');
const { extend } = require('fast-extend');
import util = require('util');
import createPromisesApi from './promises';

Expand Down Expand Up @@ -2105,7 +2105,7 @@ export class Volume {
listener?: (eventType: string, filename: string) => void,
): FSWatcher {
const filename = pathToFilename(path);
let givenOptions: (typeof options) | null = options;
let givenOptions: typeof options | null = options;

if (typeof options === 'function') {
listener = options;
Expand Down

0 comments on commit 606775b

Please sign in to comment.