diff --git a/package.json b/package.json index 33994e21..86e3bc4a 100644 --- a/package.json +++ b/package.json @@ -38,12 +38,12 @@ "url": "https://github.com/aurelia/cli" }, "dependencies": { - "@babel/core": "^7.14.3", - "@babel/plugin-proposal-class-properties": "^7.13.0", - "@babel/plugin-proposal-decorators": "^7.14.2", - "@babel/plugin-transform-modules-amd": "^7.14.2", - "@babel/plugin-transform-modules-commonjs": "^7.14.0", - "@babel/register": "^7.13.16", + "@babel/core": "^7.17.9", + "@babel/plugin-proposal-class-properties": "^7.16.7", + "@babel/plugin-proposal-decorators": "^7.17.9", + "@babel/plugin-transform-modules-amd": "^7.16.7", + "@babel/plugin-transform-modules-commonjs": "^7.17.9", + "@babel/register": "^7.17.7", "ansi-colors": "^4.1.1", "assert": "^2.0.0", "aurelia-dependency-injection": "^1.5.2", @@ -54,20 +54,20 @@ "concat-with-sourcemaps": "^1.1.0", "console-browserify": "^1.2.0", "constants-browserify": "^1.0.0", - "convert-source-map": "^1.7.0", + "convert-source-map": "^1.8.0", "crypto-browserify": "^3.12.0", "del": "^6.0.0", - "domain-browser": "^4.19.0", + "domain-browser": "^4.22.0", "enquirer": "^2.3.6", "events": "^3.3.0", "fs-browser-stub": "^1.0.1", "gulp": "^4.0.2", - "htmlparser2": "^6.1.0", + "htmlparser2": "^7.2.0", "https-browserify": "^1.0.0", "lodash": "^4.17.21", "map-stream": "0.0.7", - "meriyah": "^4.1.5", - "minimatch": "^3.0.4", + "meriyah": "^4.2.1", + "minimatch": "^5.0.1", "npm-which": "^3.0.1", "os-browserify": "^0.3.0", "path-browserify": "1.0.1", @@ -75,30 +75,30 @@ "punycode": "^2.1.1", "querystring-browser-stub": "^1.0.0", "readable-stream": "^3.6.0", - "resolve": "^1.20.0", - "semver": "^7.3.5", + "resolve": "^1.22.0", + "semver": "^7.3.7", "stream-browserify": "^3.0.0", "stream-http": "^3.2.0", "string_decoder": "^1.3.0", - "terser": "^5.7.0", + "terser": "^5.12.1", "timers-browserify": "^2.0.12", "tty-browserify": "0.0.1", - "typescript": "^4.2.4", + "typescript": "^4.6.3", "url": "^0.11.0", - "util": "^0.12.3", + "util": "^0.12.4", "vm-browserify": "^1.1.2" }, "devDependencies": { - "@types/node": "^15.6.0", + "@types/node": "^17.0.23", "babel-eslint": "^10.1.0", "gulp-bump": "^3.2.0", "gulp-conventional-changelog": "^2.0.35", "gulp-eslint": "^6.0.0", - "jasmine": "^3.7.0", + "jasmine": "^4.1.0", "jasmine-spec-reporter": "^7.0.0", - "mock-fs": "^4.14.0", - "nodemon": "^2.0.7", + "mock-fs": "^5.1.2", + "nodemon": "^2.0.15", "nyc": "^15.1.0", - "yargs": "^16.2.0" + "yargs": "^17.4.1" } } diff --git a/spec/lib/build/package-analyzer.spec.js b/spec/lib/build/package-analyzer.spec.js index 25db8091..c2bfce7d 100644 --- a/spec/lib/build/package-analyzer.spec.js +++ b/spec/lib/build/package-analyzer.spec.js @@ -396,7 +396,7 @@ describe('The PackageAnalyzer', () => { expect(description.loaderConfig.main).toBe('module'); }) ]) - .then(done) + .then(() => done()) .catch(done.fail); }); }); diff --git a/spec/lib/file-system.spec.js b/spec/lib/file-system.spec.js index 34bcbf20..03105bf3 100644 --- a/spec/lib/file-system.spec.js +++ b/spec/lib/file-system.spec.js @@ -122,7 +122,10 @@ describe('The file-system module', () => { .catch(fail) .then(() => fs.readdir(writeDir)) .catch(fail) - .then(done); + .then((files) => { + expect(files.length).toBe(0); + done(); + }); }); it('rejects with EEXIST', done => { @@ -137,7 +140,12 @@ describe('The file-system module', () => { it('makes deep directories', done => { fs.mkdirp(writeDir + readDir).then(() => { return fs.readdir(writeDir + readDir); - }).catch(fail).then(done); + }) + .catch(fail) + .then((files) => { + expect(files.length).toBe(0); + done(); + }); }); });