2014-01-12 21:57:53 +04:00
|
|
|
{
|
2016-11-07 18:18:26 +03:00
|
|
|
"name": "nextcloud-js-tests",
|
|
|
|
"description": "Nextcloud tests",
|
|
|
|
"version": "0.0.2",
|
2015-07-10 12:14:35 +03:00
|
|
|
"author": {
|
|
|
|
"name": "Vincent Petry",
|
|
|
|
"email": "pvince81@owncloud.com"
|
|
|
|
},
|
|
|
|
"private": true,
|
2016-11-07 18:18:26 +03:00
|
|
|
"homepage": "https://github.com/nextcloud/",
|
2015-07-10 12:14:35 +03:00
|
|
|
"contributors": [],
|
|
|
|
"dependencies": {},
|
|
|
|
"devDependencies": {
|
2017-03-02 12:11:23 +03:00
|
|
|
"bower": "~1.8.0",
|
|
|
|
"handlebars": "^4.0.5",
|
2017-04-25 16:26:46 +03:00
|
|
|
"jasmine-core": "~2.5.2",
|
2017-03-02 12:11:23 +03:00
|
|
|
"jasmine-sinon": "^0.4.0",
|
2018-10-15 15:29:52 +03:00
|
|
|
"jsdoc": "^3.5.5",
|
2018-12-18 19:00:28 +03:00
|
|
|
"karma": "^3.1.4",
|
2015-07-10 12:14:35 +03:00
|
|
|
"karma-coverage": "*",
|
2018-07-17 23:51:01 +03:00
|
|
|
"karma-jasmine": "^1.1.2",
|
2017-03-02 12:11:23 +03:00
|
|
|
"karma-jasmine-sinon": "^1.0.4",
|
2018-07-17 23:51:01 +03:00
|
|
|
"karma-junit-reporter": "^1.2.0",
|
|
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
2018-05-30 13:00:57 +03:00
|
|
|
"karma-viewport": "^1.0.2",
|
2018-12-09 17:08:00 +03:00
|
|
|
"node-sass": "~4.11.0",
|
2018-07-17 23:51:01 +03:00
|
|
|
"phantomjs-prebuilt": "*",
|
Limit Sinon version to 5.0.7 at most
When using fake servers with Sinon.JS, the JavaScript test framework,
the XHR objects are also fake. In Sinon 5.0.8 the "setRequestHeader" of
XMLHttpRequest was modified to normalize the header values (as requested
by the spec), but since then only string values are accepted; null or
integer values can no longer be passed to "setRequestHeader", as it
expects the "replace" function to be available in the object. However,
in the tests null and integer values are passed to "setRequestHeader",
which causes them to fail.
Both Firefox and Chromium accept passing non-string values to their
"setRequestHeader" implementation, and it is done, for example, in
davclient.js; it is not clear yet whether Sinon got too restrictive or
the code calling "setRequestHeader" was too loose. Given that
davclient.js is an external dependency, as a temporary measure Sinon
version is forced to be 5.0.7 at most until either Sinon or davclient.js
are updated.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-26 18:10:12 +03:00
|
|
|
"sinon": "<= 5.0.7"
|
2015-07-10 12:14:35 +03:00
|
|
|
},
|
2017-03-02 12:11:23 +03:00
|
|
|
"engine": "node >= 6.9"
|
2014-01-12 21:57:53 +04:00
|
|
|
}
|