Skip to content

Commit

Permalink
chore: use fixed dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
florinn committed Jun 23, 2017
1 parent deb932b commit 52fc9cd
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 44 deletions.
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,42 +33,42 @@
"postinstall": "postinstall-build dist \"npm run gulp build\""
},
"dependencies": {
"circular-json": "^0.3.1",
"lodash": "^4.16.4",
"postinstall-build": "^2.1.3"
"circular-json": "0.3.1",
"lodash": "4.16.4",
"postinstall-build": "2.1.3"
},
"devDependencies": {
"@types/chai": "^3.4.34",
"@types/circular-json": "^0.1.30",
"@types/lodash": "^4.14.37",
"@types/mocha": "^2.2.32",
"@types/chai": "3.4.34",
"@types/circular-json": "0.1.30",
"@types/lodash": "4.14.37",
"@types/mocha": "2.2.32",
"@types/node": "^6.0.45",
"chai": "^3.5.0",
"del": "^0.1.3",
"dts-bundle": "^0.7.2",
"gulp": "^3.6.0",
"gulp-concat": "^2.4.3",
"gulp-conventional-changelog": "^1.1.0",
"gulp-load-plugins": "^0.5.0",
"gulp-rename": "^1.2.0",
"gulp-replace": "^0.5.4",
"gulp-rollup": "^2.5.1",
"gulp-size": "^0.3.0",
"gulp-sourcemaps": "^2.2.0",
"gulp-spawn-mocha": "^3.1.0",
"gulp-typescript": "^3.1.1",
"gulp-uglify": "^0.2.1",
"karma": "^1.3.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^0.1.7",
"karma-firefox-launcher": "^0.1.4",
"karma-ie-launcher": "^1.0.0",
"karma-mocha": "^0.1.9",
"karma-sauce-launcher": "^1.1.0",
"merge2": "^1.0.2",
"mocha": "^3.1.2",
"run-sequence": "^1.0.2",
"typescript": "^2.1.4"
"chai": "3.5.0",
"del": "0.1.3",
"dts-bundle": "0.7.2",
"gulp": "3.9.1",
"gulp-concat": "2.4.3",
"gulp-conventional-changelog": "1.1.0",
"gulp-load-plugins": "0.5.0",
"gulp-rename": "1.2.0",
"gulp-replace": "0.5.4",
"gulp-rollup": "2.13.0",
"gulp-size": "0.3.0",
"gulp-sourcemaps": "2.2.0",
"gulp-spawn-mocha": "3.1.0",
"gulp-typescript": "3.1.7",
"gulp-uglify": "0.2.1",
"karma": "1.3.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "0.1.7",
"karma-firefox-launcher": "0.1.4",
"karma-ie-launcher": "1.0.0",
"karma-mocha": "0.1.9",
"karma-sauce-launcher": "1.1.0",
"merge2": "1.0.2",
"mocha": "3.1.2",
"run-sequence": "1.0.2",
"typescript": "2.1.4"
},
"engines": {
"node": ">=6.0.0"
Expand Down
7 changes: 3 additions & 4 deletions src/Api/IThrows.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import * as error from "../Error/_all";
import { IVerifies } from "./IVerifies";
import { IVerifies } from "./IVerifies";

export interface IThrows {
throws<T extends error.Exception>(exception: T): IThrowsResult;
throws<T extends Error>(exception: T): IThrowsResult;
}

export interface IThrowsResult extends IVerifies {
}
}
2 changes: 1 addition & 1 deletion src/Error/Exception.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
let errMsg = this.message ? `${this.name} - ${this.message}` : this.name;
return errMsg;
}
}
}
2 changes: 1 addition & 1 deletion src/MethodCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class MethodCall<T, TResult> implements all.IProxyCall<T>, all.IVerifies
protected _expectedCallType: all.ExpectedCallType;
protected _isInvoked: boolean;
protected _callCount: number = 0;
protected _thrownException: all.Exception;
protected _thrownException: Error;
protected _evaluatedSuccessfully: boolean;

protected constructor(
Expand Down
10 changes: 5 additions & 5 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mocha Spec Runner</title>
<link rel="stylesheet" href="https://unpkg.com/mocha/mocha.css">
<link rel="stylesheet" href="https://unpkg.com/mocha@3.1.2/mocha.css">
</head>
<body>
<div id="mocha"></div>
<script src="https://unpkg.com/mocha/mocha.js"></script>
<script src="https://unpkg.com/mocha@3.1.2/mocha.js"></script>
<script>
mocha.setup('bdd');
</script>
<script src="https://unpkg.com/chai/chai.js"></script>
<script src="https://unpkg.com/circular-json/build/circular-json"></script>
<script src="https://unpkg.com/lodash"></script>
<script src="https://unpkg.com/chai@3.5.0/chai.js"></script>
<script src="https://unpkg.com/circular-json@0.3.1/build/circular-json"></script>
<script src="https://unpkg.com/lodash@4.16.4"></script>
<!-- include source files here... -->
<script src="../.tmp/src/typemoq.js"></script>
<!-- include spec files here... -->
Expand Down

0 comments on commit 52fc9cd

Please sign in to comment.