Skip to content

Commit 63a6c80

Browse files
committed
build: update dependencies
1 parent df448fb commit 63a6c80

File tree

4 files changed

+1183
-835
lines changed

4 files changed

+1183
-835
lines changed

.vscode/settings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"prettier.eslintIntegration": true,
3-
"eslint.validate": [
4-
"javascript",
5-
],
6-
"javascript.validate.enable": false
2+
"eslint.validate": ["javascript"],
3+
"javascript.validate.enable": false,
4+
"javascript.autoClosingTags": false,
5+
"eslint.autoFixOnSave": true
76
}

package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,32 +31,32 @@
3131
"graphql-compose": "^7.0.4"
3232
},
3333
"devDependencies": {
34-
"@babel/cli": "^7.4.4",
35-
"@babel/core": "^7.4.5",
36-
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
37-
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
38-
"@babel/plugin-transform-runtime": "^7.4.4",
39-
"@babel/preset-env": "^7.4.5",
34+
"@babel/cli": "^7.6.4",
35+
"@babel/core": "^7.6.4",
36+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
37+
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
38+
"@babel/plugin-transform-runtime": "^7.6.2",
39+
"@babel/preset-env": "^7.6.3",
4040
"@babel/preset-flow": "^7.0.0",
41-
"@types/graphql": "^14.2.0",
41+
"@types/graphql": "^14.5.0",
4242
"babel-core": "^7.0.0-bridge.0",
43-
"babel-eslint": "^10.0.1",
44-
"babel-jest": "^24.8.0",
45-
"eslint": "^5.16.0",
46-
"eslint-config-airbnb-base": "^13.1.0",
47-
"eslint-config-prettier": "^4.3.0",
48-
"eslint-plugin-flowtype": "^3.9.1",
49-
"eslint-plugin-import": "^2.17.3",
50-
"eslint-plugin-prettier": "^3.1.0",
51-
"flow-bin": "^0.100.0",
52-
"graphql": "14.3.1",
53-
"graphql-compose": "^7.0.4",
54-
"jest": "^24.8.0",
55-
"prettier": "^1.17.1",
56-
"rimraf": "^2.6.3",
57-
"semantic-release": "^15.13.12",
58-
"tslint": "^5.17.0",
59-
"typescript": "^3.5.1"
43+
"babel-eslint": "^10.0.3",
44+
"babel-jest": "^24.9.0",
45+
"eslint": "^6.6.0",
46+
"eslint-config-airbnb-base": "^14.0.0",
47+
"eslint-config-prettier": "^6.5.0",
48+
"eslint-plugin-flowtype": "^4.3.0",
49+
"eslint-plugin-import": "^2.18.2",
50+
"eslint-plugin-prettier": "^3.1.1",
51+
"flow-bin": "^0.110.0",
52+
"graphql": "14.5.8",
53+
"graphql-compose": "^7.4.2",
54+
"jest": "^24.9.0",
55+
"prettier": "^1.18.2",
56+
"rimraf": "^3.0.0",
57+
"semantic-release": "^15.13.28",
58+
"tslint": "^5.20.0",
59+
"typescript": "^3.6.4"
6060
},
6161
"scripts": {
6262
"build": "npm run build-cjs && npm run build-mjs",

src/__mocks__/User.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function sortUserList(list, sortValue = {}) {
8484

8585
function prepareFilterFromArgs(resolveParams = {}) {
8686
const args = resolveParams.args || {};
87-
const filter = Object.assign({}, args.filter);
87+
const filter = { ...args.filter };
8888
if (resolveParams.rawQuery) {
8989
Object.keys(resolveParams.rawQuery).forEach(k => {
9090
filter[k] = resolveParams.rawQuery[k];

0 commit comments

Comments
 (0)