Skip to content

Commit

Permalink
Merge pull request #119 from log4js-node/update-deps
Browse files Browse the repository at this point in the history
chore(dep): updated dependencies
  • Loading branch information
lamweili committed Apr 17, 2022
2 parents e4941cc + b8987c5 commit c6fc73c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 66 deletions.
8 changes: 1 addition & 7 deletions lib/RollingFileWriteStream.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
const debug = require("debug")("streamroller:RollingFileWriteStream");

const realFs = require('fs');
const current = realFs.realpath.native;
if (!realFs.realpath.native) realFs.realpath.native = realFs.realpath;
const fs = require('fs-extra');
realFs.realpath.native = current;

const fs = require("fs-extra");
const path = require("path");
const newNow = require("./now");
const format = require("date-format");
Expand Down
8 changes: 1 addition & 7 deletions lib/moveAndMaybeCompressFile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
const debug = require('debug')('streamroller:moveAndMaybeCompressFile');

const realFs = require('fs');
const current = realFs.realpath.native;
if (!realFs.realpath.native) realFs.realpath.native = realFs.realpath;
let fs = require('fs-extra');
realFs.realpath.native = current;

const fs = require('fs-extra');
const zlib = require('zlib');

const _parseOption = function(rawOptions){
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"date-format": "^4.0.7",
"debug": "^4.3.4",
"fs-extra": "^10.0.1"
"fs-extra": "^10.1.0"
},
"engines": {
"node": ">=8.0"
Expand Down
42 changes: 0 additions & 42 deletions test/fs-extra-test.js

This file was deleted.

0 comments on commit c6fc73c

Please sign in to comment.