diff --git a/package.json b/package.json index cf3ed2d..2b99cbd 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "phaser-ce": "^2.11.0" }, "devDependencies": { - "@types/bluebird": "^3.5.22", + "@types/bluebird": "^3.5.23", "@types/chai": "^4.1.4", "@types/mocha": "^5.2.5", "@types/sinon": "^5.0.1", @@ -62,7 +62,6 @@ "istanbul-instrumenter-loader": "^3.0.1", "karma": "^2.0.5", "karma-chai": "^0.1.0", - "karma-chai-sinon": "^0.1.5", "karma-chrome-launcher": "^2.2.0", "karma-coverage-istanbul-reporter": "^2.0.1", "karma-es6-shim": "^1.0.0", @@ -71,23 +70,24 @@ "karma-phantomjs-launcher": "^1.0.4", "karma-remap-istanbul": "^0.6.0", "karma-sinon": "^1.0.5", + "karma-sinon-chai": "^2.0.2", "karma-sourcemap-loader": "^0.3.7", "karma-sourcemap-writer": "^0.1.2", "karma-webpack": "^3.0.0", "mocha": "^5.2.0", - "prettier": "^1.13.7", + "prettier": "^1.14.0", "publish-please": "^3.2.0", "reflect-metadata": "^0.1.12", "remap-istanbul": "^0.11.1", "rimraf": "^2.6.2", - "sinon": "^5.1.1", + "sinon": "^6.1.4", "sinon-chai": "^3.2.0", "ts-loader": "^4.4.2", "ts-node": "^7.0.0", "tslint": "^5.11.0", "tslint-config-prettier": "^1.14.0", "typescript": "^2.9.2", - "webpack": "^4.16.2", + "webpack": "^4.16.3", "webpack-dev-server": "^3.1.5" }, "peerDependencies": { diff --git a/test/robotlegs/bender/extensions/signalCommandMap/support/RelayCommand.ts b/test/robotlegs/bender/extensions/signalCommandMap/support/RelayCommand.ts index f481d8d..a3eeaff 100644 --- a/test/robotlegs/bender/extensions/signalCommandMap/support/RelayCommand.ts +++ b/test/robotlegs/bender/extensions/signalCommandMap/support/RelayCommand.ts @@ -15,9 +15,11 @@ import { Data } from "./Data"; @injectable() export class RelayCommand implements ICommand { - @inject(Data) private _data: Data; + @inject(Data) + private _data: Data; - @inject(TargetSignal) private _targetSignal: TargetSignal; + @inject(TargetSignal) + private _targetSignal: TargetSignal; public execute(): void { this._targetSignal.dispatch(this._data); diff --git a/test/robotlegs/bender/extensions/signalCommandMap/support/TargetCommand.ts b/test/robotlegs/bender/extensions/signalCommandMap/support/TargetCommand.ts index b7ba01e..cd0e946 100644 --- a/test/robotlegs/bender/extensions/signalCommandMap/support/TargetCommand.ts +++ b/test/robotlegs/bender/extensions/signalCommandMap/support/TargetCommand.ts @@ -15,7 +15,8 @@ import { Data } from "./Data"; export class TargetCommand implements ICommand { public static TARGET_VALUE: number; - @inject(Data) private _data: Data; + @inject(Data) + private _data: Data; public execute(): void { TargetCommand.TARGET_VALUE = this._data.value; diff --git a/yarn.lock b/yarn.lock index 84e348f..80f3633 100644 --- a/yarn.lock +++ b/yarn.lock @@ -31,9 +31,13 @@ dependencies: samsam "1.3.0" -"@types/bluebird@^3.5.22": - version "3.5.22" - resolved "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.22.tgz#519b87fe3c9d290ca6c06381ffc3040770ab452b" +"@sinonjs/samsam@^2.0.0": + version "2.0.0" + resolved "https://registry.npmjs.org/@sinonjs/samsam/-/samsam-2.0.0.tgz#9163742ac35c12d3602dece74317643b35db6a80" + +"@types/bluebird@^3.5.23": + version "3.5.23" + resolved "https://registry.npmjs.org/@types/bluebird/-/bluebird-3.5.23.tgz#e805da976b76892b2b2e50eec29e84914c730670" "@types/chai@^4.1.4": version "4.1.4" @@ -869,8 +873,8 @@ browserify-zlib@^0.2.0: pako "~1.0.5" buffer-from@^1.0.0, buffer-from@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.0.tgz#87fcaa3a298358e0ade6e442cfce840740d1ad04" + version "1.1.1" + resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef" buffer-indexof@^1.0.0: version "1.1.1" @@ -1715,10 +1719,11 @@ duplexify@^3.4.2, duplexify@^3.4.5, duplexify@^3.6.0: stream-shift "^1.0.0" ecc-jsbn@~0.1.1: - version "0.1.1" - resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" + version "0.1.2" + resolved "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" dependencies: jsbn "~0.1.0" + safer-buffer "^2.1.0" ee-first@1.1.1: version "1.1.1" @@ -3172,9 +3177,9 @@ ip@^1.1.0, ip@^1.1.2, ip@^1.1.4, ip@^1.1.5: version "1.1.5" resolved "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" -ipaddr.js@1.6.0: - version "1.6.0" - resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.6.0.tgz#e3fa357b773da619f26e95f049d055c72796f86b" +ipaddr.js@1.8.0: + version "1.8.0" + resolved "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e" is-accessor-descriptor@^0.1.6: version "0.1.6" @@ -3597,10 +3602,6 @@ just-extend@^1.1.27: version "1.1.27" resolved "https://registry.npmjs.org/just-extend/-/just-extend-1.1.27.tgz#ec6e79410ff914e472652abfa0e603c03d60e905" -karma-chai-sinon@^0.1.5: - version "0.1.5" - resolved "https://registry.npmjs.org/karma-chai-sinon/-/karma-chai-sinon-0.1.5.tgz#5c392ca95247818951d6b57902f02c36e803753a" - karma-chai@^0.1.0: version "0.1.0" resolved "https://registry.npmjs.org/karma-chai/-/karma-chai-0.1.0.tgz#bee5ad40400517811ae34bb945f762909108b79a" @@ -3654,6 +3655,10 @@ karma-remap-istanbul@^0.6.0: istanbul "^0.4.3" remap-istanbul "^0.9.0" +karma-sinon-chai@^2.0.2: + version "2.0.2" + resolved "https://registry.npmjs.org/karma-sinon-chai/-/karma-sinon-chai-2.0.2.tgz#e28c109b989973abafc28a7c9f09ef24a05e07c2" + karma-sinon@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/karma-sinon/-/karma-sinon-1.0.5.tgz#4e3443f2830fdecff624d3747163f1217daa2a9a" @@ -3999,7 +4004,7 @@ loglevelnext@^1.0.1: es6-symbol "^3.1.1" object.assign "^4.1.0" -lolex@^2.3.2, lolex@^2.4.2: +lolex@^2.3.2, lolex@^2.7.1: version "2.7.1" resolved "https://registry.npmjs.org/lolex/-/lolex-2.7.1.tgz#e40a8c4d1f14b536aa03e42a537c7adbaf0c20be" @@ -4381,7 +4386,7 @@ next-tick@1: version "1.0.0" resolved "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" -nise@^1.3.3: +nise@^1.4.2: version "1.4.2" resolved "https://registry.npmjs.org/nise/-/nise-1.4.2.tgz#a9a3800e3994994af9e452333d549d60f72b8e8c" dependencies: @@ -4534,8 +4539,8 @@ npm-bundled@^1.0.1: resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.0.3.tgz#7e71703d973af3370a9591bafe3a63aca0be2308" npm-packlist@^1.1.6: - version "1.1.10" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.10.tgz#1039db9e985727e464df066f4cf0ab6ef85c398a" + version "1.1.11" + resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.1.11.tgz#84e8c683cbe7867d34b1d357d893ce29e28a02de" dependencies: ignore-walk "^3.0.1" npm-bundled "^1.0.1" @@ -5018,9 +5023,9 @@ prepend-http@^1.0.1: version "1.0.4" resolved "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc" -prettier@^1.13.7: - version "1.13.7" - resolved "https://registry.npmjs.org/prettier/-/prettier-1.13.7.tgz#850f3b8af784a49a6ea2d2eaa7ed1428a34b7281" +prettier@^1.14.0: + version "1.14.0" + resolved "https://registry.npmjs.org/prettier/-/prettier-1.14.0.tgz#847c235522035fd988100f1f43cf20a7d24f9372" process-nextick-args@~1.0.6: version "1.0.7" @@ -5055,11 +5060,11 @@ promisify-event@^1.0.0: pinkie-promise "^2.0.0" proxy-addr@~2.0.3: - version "2.0.3" - resolved "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz#355f262505a621646b3130a728eb647e22055341" + version "2.0.4" + resolved "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93" dependencies: forwarded "~0.1.2" - ipaddr.js "1.6.0" + ipaddr.js "1.8.0" proxy-agent@~3.0.0: version "3.0.1" @@ -5608,7 +5613,7 @@ safe-regex@^1.1.0: dependencies: ret "~0.1.10" -"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2: +"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0: version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" @@ -5776,15 +5781,16 @@ sinon-chai@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/sinon-chai/-/sinon-chai-3.2.0.tgz#ed995e13a8a3cfccec18f218d9b767edc47e0715" -sinon@^5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/sinon/-/sinon-5.1.1.tgz#19c59810ffb733ea6e76a28b94a71fc4c2f523b8" +sinon@^6.1.4: + version "6.1.4" + resolved "https://registry.npmjs.org/sinon/-/sinon-6.1.4.tgz#b67f7a7b7fe2496042b54a5c2f425e2d699927a2" dependencies: "@sinonjs/formatio" "^2.0.0" + "@sinonjs/samsam" "^2.0.0" diff "^3.5.0" lodash.get "^4.4.2" - lolex "^2.4.2" - nise "^1.3.3" + lolex "^2.7.1" + nise "^1.4.2" supports-color "^5.4.0" type-detect "^4.0.8" @@ -6102,8 +6108,8 @@ stream-browserify@^2.0.1: readable-stream "^2.0.2" stream-each@^1.1.0: - version "1.2.2" - resolved "https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz#8e8c463f91da8991778765873fe4d960d8f616bd" + version "1.2.3" + resolved "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae" dependencies: end-of-stream "^1.1.0" stream-shift "^1.0.0" @@ -6429,8 +6435,8 @@ tslint@^5.11.0: tsutils "^2.27.2" tsscmp@~1.0.0: - version "1.0.5" - resolved "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.5.tgz#7dc4a33af71581ab4337da91d85ca5427ebd9a97" + version "1.0.6" + resolved "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz#85b99583ac3589ec4bfef825b5000aa911d605eb" tsutils@^2.27.2: version "2.29.0" @@ -6607,8 +6613,8 @@ url-parse-lax@^1.0.0: prepend-http "^1.0.1" url-parse@^1.1.8, url-parse@~1.4.0: - version "1.4.1" - resolved "https://registry.npmjs.org/url-parse/-/url-parse-1.4.1.tgz#4dec9dad3dc8585f862fed461d2e19bbf623df30" + version "1.4.3" + resolved "https://registry.npmjs.org/url-parse/-/url-parse-1.4.3.tgz#bfaee455c889023219d757e045fa6a684ec36c15" dependencies: querystringify "^2.0.0" requires-port "^1.0.0" @@ -6787,9 +6793,9 @@ webpack-sources@^1.0.1, webpack-sources@^1.1.0: source-list-map "^2.0.0" source-map "~0.6.1" -webpack@^4.16.2: - version "4.16.2" - resolved "https://registry.npmjs.org/webpack/-/webpack-4.16.2.tgz#c3e0e771adc94582e0543dd18d7436066051e885" +webpack@^4.16.3: + version "4.16.3" + resolved "https://registry.npmjs.org/webpack/-/webpack-4.16.3.tgz#861be3176d81e7e3d71c66c8acc9bba35588b525" dependencies: "@webassemblyjs/ast" "1.5.13" "@webassemblyjs/helper-module-context" "1.5.13"