Skip to content

Commit b75eb64

Browse files
use exact versions to avoid unpredictable crashes
possible reason behind crash when testing: 1.5.0-rc.1 fails to load in PhantomJS 1.x + Karma environment angular/angular.js#13794 crash log: ``` PhantomJS 1.9.8 (Mac OS X 0.0.0) ERROR Error: [$injector:modulerr] Failed to instantiate module ng due to: TypeError: 'undefined' is not an object (evaluating 'Function.prototype.bind.apply') at ... at /Users/shahwarcoder/loopback-sdk-angular/test.e2e/given.js:19 ```
1 parent c8cb9ae commit b75eb64

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

Diff for: package.json

+26-26
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,31 @@
2727
"ejs": "^1.0"
2828
},
2929
"devDependencies": {
30-
"angular": "^1.4.9",
31-
"angular-mocks": "^1.4.9",
32-
"angular-resource": "^1.4.9",
33-
"bluebird": "^3.1.4",
34-
"body-parser": "^1.5",
35-
"chai": "^1.9",
36-
"cors": "^2.2",
37-
"debug": "^2.2.0",
38-
"errorhandler": "^1.1.1",
39-
"eslint": "^2.5.3",
40-
"eslint-config-loopback": "^1.0.0",
41-
"express": "^4.6",
42-
"fs.extra": "^1.2",
43-
"karma": "^0.13.19",
44-
"karma-chrome-launcher": "^0.2.2",
45-
"karma-junit-reporter": "^0.3.8",
46-
"karma-mocha": "^0.2.1",
47-
"karma-mocha-reporter": "^1.1.5",
48-
"karma-phantomjs-launcher": "^0.2.3",
49-
"karma-requirejs": "^0.2.1",
50-
"loopback": "^2.0",
51-
"loopback-datasource-juggler": "^2.0",
52-
"mocha": "~1.18.0",
53-
"morgan": "^1.2",
54-
"phantomjs": "^1.9.19",
55-
"requirejs": "^2.1.9"
30+
"angular": "1.4.9",
31+
"angular-mocks": "1.4.9",
32+
"angular-resource": "1.4.9",
33+
"bluebird": "3.1.4",
34+
"body-parser": "1.5",
35+
"chai": "1.9",
36+
"cors": "2.2",
37+
"debug": "2.2.0",
38+
"errorhandler": "1.1.1",
39+
"eslint": "2.5.3",
40+
"eslint-config-loopback": "1.0.0",
41+
"express": "4.6",
42+
"fs.extra": "1.2",
43+
"karma": "0.13.19",
44+
"karma-chrome-launcher": "0.2.2",
45+
"karma-junit-reporter": "0.3.8",
46+
"karma-mocha": "0.2.1",
47+
"karma-mocha-reporter": "1.1.5",
48+
"karma-phantomjs-launcher": "0.2.3",
49+
"karma-requirejs": "0.2.1",
50+
"loopback": "2.0",
51+
"loopback-datasource-juggler": "2.0",
52+
"mocha": "1.18.0",
53+
"morgan": "1.2",
54+
"phantomjs": "1.9.19",
55+
"requirejs": "2.1.9"
5656
}
5757
}

0 commit comments

Comments
 (0)