diff --git a/package.json b/package.json index 6183f1f..930c348 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "hash-for-dep": "^1.5.0", "heimdalljs": "^0.2.1", "heimdalljs-logger": "^0.1.7", - "mkdirp": "^0.5.1", "promise-map-series": "^0.2.1", "rimraf": "^3.0.0", "symlink-or-copy": "^1.0.1", @@ -59,19 +58,19 @@ "@types/rimraf": "^3.0.0", "broccoli-node-api": "^1.7.0", "broccoli-test-helper": "^2.0.0", + "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "chai-files": "^1.4.0", - "chai": "^4.2.0", "co": "^4.6.0", "coveralls": "^3.0.9", "dtslint": "^3.4.1", "fs-merger": "^3.1.0", "istanbul": "^0.4.2", "minimatch": "^3.0.2", - "mocha-jshint": "^2.3.1", "mocha": "^7.1.1", - "sinon-chai": "^3.1.0", + "mocha-jshint": "^2.3.1", "sinon": "^7.5.0", + "sinon-chai": "^3.1.0", "source-map-support": "^0.5.16", "typescript": "^3.8.3" }, diff --git a/test/filter-test.js b/test/filter-test.js index bf270ca..4af510b 100644 --- a/test/filter-test.js +++ b/test/filter-test.js @@ -16,7 +16,6 @@ chai.use(chaiFiles); const sinon = require('sinon'); const fs = require('fs'); -const mkdirp = require('mkdirp'); const path = require('path'); const Filter = require('..'); const rimraf = require('rimraf').sync; @@ -41,7 +40,7 @@ describe('Filter', function() { function write(relativePath, contents, _encoding) { let encoding = _encoding === undefined ? 'utf8' : _encoding; - mkdirp.sync(path.dirname(relativePath)); + fs.mkdirSync(path.dirname(relativePath), { recursive: true }); fs.writeFileSync(relativePath, contents, { encoding }); @@ -1613,4 +1612,3 @@ describe('throttling', function() { }); }); -