dc60e5f840
- Move 5xx retries and connection checking out of the sync API client and into HTTP.request() so that they apply to all requests. 429 handling remains in the API client, since not all callers necessarily want to handle that the same way. Callers can still handle 5xx themselves by including the relevant 5xx status codes in `successCodes` or by passing `errorDelayMax: 0`. - Add `cancellerReceiver` option, which is a callback that receives a function that will cancel the request, whether it's an active request or an automatic delay before a 5xx retry. This also updates Sinon to 7.3.2.
52 lines
1.5 KiB
JSON
52 lines
1.5 KiB
JSON
{
|
|
"name": "zotero",
|
|
"private": "private",
|
|
"version": "5.0.0",
|
|
"description": "Zotero",
|
|
"main": "",
|
|
"scripts": {
|
|
"start": "node ./scripts/build.js && node ./scripts/watch.js",
|
|
"build": "node ./scripts/build.js",
|
|
"sass": "node ./scripts/sass.js",
|
|
"js": "node ./scripts/js.js",
|
|
"clean": "node ./scripts/clean.js",
|
|
"clean-build": "node ./scripts/clean.js && node ./scripts/build.js",
|
|
"clean-start": "node ./scripts/clean.js && node ./scripts/build.js && node ./scripts/watch.js"
|
|
},
|
|
"license": "",
|
|
"dependencies": {
|
|
"bluebird": "^3.5.1",
|
|
"classnames": "^2.2.6",
|
|
"prop-types": "^15.6.2",
|
|
"react": "^16.8.6",
|
|
"react-dom": "^16.8.6",
|
|
"react-intl": "^2.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.2.3",
|
|
"@babel/core": "^7.4.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.4.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@zotero/eslint-config": "^1.0.3",
|
|
"babel-eslint": "^10.0.1",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
|
"browserify": "^14.5.0",
|
|
"chai": "^4.1.2",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chokidar": "^2.1.2",
|
|
"co-mocha": "^1.2.1",
|
|
"colors": "^1.1.2",
|
|
"eslint": "^5.14.1",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"fs-extra": "^3.0.1",
|
|
"globby": "^6.1.0",
|
|
"jspath": "^0.4.0",
|
|
"mocha": "^3.5.3",
|
|
"multimatch": "^2.1.0",
|
|
"node-sass": "^4.12.0",
|
|
"react-virtualized": "^9.21.0",
|
|
"sinon": "^7.3.2",
|
|
"universalify": "^0.1.1"
|
|
}
|
|
}
|