refactor: update dependencies

This commit is contained in:
Rainer Killinger
2020-10-30 17:14:43 +01:00
parent aa9991ad70
commit bc2b0ce136
3 changed files with 1181 additions and 1691 deletions

2820
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -16,7 +16,7 @@
"prepublishOnly": "npm ci && npm run build", "prepublishOnly": "npm ci && npm run build",
"preversion": "npm run prepublishOnly", "preversion": "npm run prepublishOnly",
"push": "git push && git push origin \"v$npm_package_version\"", "push": "git push && git push origin \"v$npm_package_version\"",
"test": "nyc mocha --require ts-node/register --ui mocha-typescript 'test/**/*.spec.ts'", "test": "nyc mocha --require ts-node/register 'test/**/*.spec.ts'",
"tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'" "tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'"
}, },
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>", "author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",
@@ -28,37 +28,37 @@
], ],
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
"dependencies": { "dependencies": {
"@krlwlfrt/async-pool": "0.2.1", "@krlwlfrt/async-pool": "0.4.1",
"@openstapps/gitlab-api": "0.7.0", "@openstapps/gitlab-api": "0.8.0",
"@openstapps/logger": "0.5.0", "@openstapps/logger": "0.5.0",
"@slack/client": "5.0.2", "@slack/client": "5.0.2",
"@types/glob": "7.1.1", "@types/glob": "7.1.3",
"@types/mustache": "0.8.32", "@types/mustache": "4.0.1",
"@types/node": "10.17.13", "@types/node": "10.17.44",
"@types/tmp": "0.1.0", "@types/tmp": "0.2.0",
"commander": "4.1.0", "commander": "6.2.0",
"glob": "7.1.6", "glob": "7.1.6",
"moment": "2.25.3", "moment": "2.29.1",
"mustache": "3.2.1", "mustache": "4.0.1",
"tmp": "0.1.0" "tmp": "0.2.1"
}, },
"devDependencies": { "devDependencies": {
"@openstapps/configuration": "0.24.0", "@openstapps/configuration": "0.25.0",
"@types/chai": "4.2.11", "@testdeck/mocha": "0.1.2",
"@types/chai-as-promised": "7.1.2", "@types/chai": "4.2.14",
"@types/mocha": "5.2.7", "@types/chai-as-promised": "7.1.3",
"@types/mocha": "8.0.3",
"chai": "4.2.0", "chai": "4.2.0",
"chai-as-promised": "7.1.1", "chai-as-promised": "7.1.1",
"conventional-changelog-cli": "2.0.31", "conventional-changelog-cli": "2.1.1",
"mocha": "7.1.2", "mocha": "8.2.1",
"mocha-typescript": "1.1.17", "nyc": "15.1.0",
"nyc": "15.0.1",
"prepend-file-cli": "1.0.6", "prepend-file-cli": "1.0.6",
"rimraf": "3.0.2", "rimraf": "3.0.2",
"ts-node": "8.10.1", "ts-node": "9.0.0",
"tslint": "5.20.1", "tslint": "6.1.3",
"typedoc": "0.17.6", "typedoc": "0.18.0",
"typescript": "3.7.4" "typescript": "3.8.3"
}, },
"main": "lib/common.js", "main": "lib/common.js",
"typings": "lib/common.d.ts", "typings": "lib/common.d.ts",

View File

@@ -2,7 +2,7 @@ import * as chai from 'chai';
import {expect} from 'chai'; import {expect} from 'chai';
import chaiAsPromised from 'chai-as-promised'; import chaiAsPromised from 'chai-as-promised';
import {execSync} from 'child_process'; import {execSync} from 'child_process';
import {suite, test} from 'mocha-typescript'; import {suite, test} from '@testdeck/mocha';
import {join} from 'path'; import {join} from 'path';
import {dirSync} from 'tmp'; import {dirSync} from 'tmp';
import {getUsedVersion, getUsedVersionMajorMinor} from '../src/tasks/get-used-version'; import {getUsedVersion, getUsedVersionMajorMinor} from '../src/tasks/get-used-version';
@@ -33,11 +33,11 @@ export class GetUsedVersionsSpec {
@test @test
async 'get used version'() { async 'get used version'() {
expect(await getUsedVersion(join(__dirname, '..'), '@krlwlfrt/async-pool')).to.be.equal('0.2.1'); expect(await getUsedVersion(join(__dirname, '..'), '@krlwlfrt/async-pool')).to.be.equal('0.4.1');
} }
@test @test
async 'get used version major minor'() { async 'get used version major minor'() {
expect(await getUsedVersionMajorMinor(join(__dirname, '..'), '@krlwlfrt/async-pool')).to.be.equal('0.2'); expect(await getUsedVersionMajorMinor(join(__dirname, '..'), '@krlwlfrt/async-pool')).to.be.equal('0.4');
} }
} }