Skip to content

Commit

Permalink
chore: upgrade deps
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop support of Nodejs before v12
  • Loading branch information
3cp committed Apr 12, 2022
1 parent 7506c88 commit 319188c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 24 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -54,51 +54,51 @@
"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",
"process": "^0.11.10",
"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"
}
}
2 changes: 1 addition & 1 deletion spec/lib/build/package-analyzer.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ describe('The PackageAnalyzer', () => {
expect(description.loaderConfig.main).toBe('module');
})
])
.then(done)
.then(() => done())
.catch(done.fail);
});
});
Expand Down
12 changes: 10 additions & 2 deletions spec/lib/file-system.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand All @@ -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();
});
});
});

Expand Down

0 comments on commit 319188c

Please sign in to comment.