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",
|
|
|
|
"jsdoc": "~3.4.0",
|
|
|
|
"karma": "^1.5.0",
|
2015-07-10 12:14:35 +03:00
|
|
|
"karma-coverage": "*",
|
2017-03-02 12:11:23 +03:00
|
|
|
"karma-jasmine": "^1.1.0",
|
|
|
|
"karma-jasmine-sinon": "^1.0.4",
|
|
|
|
"karma-junit-reporter": "*",
|
2015-07-10 12:14:35 +03:00
|
|
|
"karma-phantomjs-launcher": "*",
|
2017-10-20 18:11:59 +03:00
|
|
|
"karma-viewport": "^0.4.2",
|
2016-06-13 12:37:36 +03:00
|
|
|
"phantomjs-prebuilt": "*",
|
2017-03-24 08:42:54 +03:00
|
|
|
"node-sass": "~4.1.1",
|
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
|
|
|
}
|