2014-01-12 17:57:53 +00:00
|
|
|
{
|
2016-11-07 15:18:26 +00:00
|
|
|
"name": "nextcloud-js-tests",
|
|
|
|
"description": "Nextcloud tests",
|
|
|
|
"version": "0.0.2",
|
2015-07-10 09:14:35 +00:00
|
|
|
"author": {
|
|
|
|
"name": "Vincent Petry",
|
|
|
|
"email": "pvince81@owncloud.com"
|
|
|
|
},
|
|
|
|
"private": true,
|
2016-11-07 15:18:26 +00:00
|
|
|
"homepage": "https://github.com/nextcloud/",
|
2015-07-10 09:14:35 +00:00
|
|
|
"contributors": [],
|
|
|
|
"dependencies": {},
|
|
|
|
"devDependencies": {
|
2019-02-11 09:56:11 +00:00
|
|
|
"handlebars": "^4.1.0",
|
2017-04-25 13:26:46 +00:00
|
|
|
"jasmine-core": "~2.5.2",
|
2017-03-02 09:11:23 +00:00
|
|
|
"jasmine-sinon": "^0.4.0",
|
2018-10-15 12:29:52 +00:00
|
|
|
"jsdoc": "^3.5.5",
|
2018-12-18 16:00:28 +00:00
|
|
|
"karma": "^3.1.4",
|
2015-07-10 09:14:35 +00:00
|
|
|
"karma-coverage": "*",
|
2018-07-17 20:51:01 +00:00
|
|
|
"karma-jasmine": "^1.1.2",
|
2017-03-02 09:11:23 +00:00
|
|
|
"karma-jasmine-sinon": "^1.0.4",
|
2018-07-17 20:51:01 +00:00
|
|
|
"karma-junit-reporter": "^1.2.0",
|
|
|
|
"karma-phantomjs-launcher": "^1.0.4",
|
2019-01-12 02:12:42 +00:00
|
|
|
"karma-viewport": "^1.0.4",
|
2018-12-09 14:08:00 +00:00
|
|
|
"node-sass": "~4.11.0",
|
2018-07-17 20:51:01 +00: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 15:10:12 +00:00
|
|
|
"sinon": "<= 5.0.7"
|
2015-07-10 09:14:35 +00:00
|
|
|
},
|
2017-03-02 09:11:23 +00:00
|
|
|
"engine": "node >= 6.9"
|
2014-01-12 17:57:53 +00:00
|
|
|
}
|