Skip to content

Commit 0b04311

Browse files
committed
build: update dependencies
1 parent d11f4f0 commit 0b04311

File tree

4 files changed

+1154
-815
lines changed

4 files changed

+1154
-815
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: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,29 @@
2828
"graphql-compose": "^7.0.4"
2929
},
3030
"devDependencies": {
31-
"@babel/cli": "^7.4.4",
32-
"@babel/core": "^7.4.5",
33-
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
34-
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
35-
"@babel/plugin-transform-runtime": "^7.4.4",
36-
"@babel/preset-env": "^7.4.5",
31+
"@babel/cli": "^7.6.4",
32+
"@babel/core": "^7.6.4",
33+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
34+
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
35+
"@babel/plugin-transform-runtime": "^7.6.2",
36+
"@babel/preset-env": "^7.6.3",
3737
"@babel/preset-flow": "^7.0.0",
3838
"babel-core": "^7.0.0-bridge.0",
39-
"babel-eslint": "^10.0.1",
40-
"babel-jest": "^24.8.0",
41-
"eslint": "^5.16.0",
42-
"eslint-config-airbnb-base": "^13.1.0",
43-
"eslint-config-prettier": "^4.3.0",
44-
"eslint-plugin-flowtype": "^3.9.1",
45-
"eslint-plugin-import": "^2.17.3",
46-
"eslint-plugin-prettier": "^3.1.0",
47-
"flow-bin": "^0.100.0",
48-
"graphql": "14.3.1",
49-
"graphql-compose": "^7.0.4",
50-
"jest": "^24.8.0",
51-
"prettier": "^1.17.1",
52-
"rimraf": "^2.6.3",
53-
"semantic-release": "^15.13.12"
39+
"babel-eslint": "^10.0.3",
40+
"babel-jest": "^24.9.0",
41+
"eslint": "^6.6.0",
42+
"eslint-config-airbnb-base": "^14.0.0",
43+
"eslint-config-prettier": "^6.5.0",
44+
"eslint-plugin-flowtype": "^4.3.0",
45+
"eslint-plugin-import": "^2.18.2",
46+
"eslint-plugin-prettier": "^3.1.1",
47+
"flow-bin": "^0.110.0",
48+
"graphql": "14.5.8",
49+
"graphql-compose": "^7.4.2",
50+
"jest": "^24.9.0",
51+
"prettier": "^1.18.2",
52+
"rimraf": "^3.0.0",
53+
"semantic-release": "^15.13.28"
5454
},
5555
"scripts": {
5656
"build": "npm run build-cjs && npm run build-mjs",

src/__mocks__/userTC.js

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

111111
function prepareFilterFromArgs(resolveParams = {}) {
112112
const args = resolveParams.args || {};
113-
const filter = Object.assign({}, args.filter);
113+
const filter = { ...args.filter };
114114
if (resolveParams.rawQuery) {
115115
Object.keys(resolveParams.rawQuery).forEach(k => {
116116
filter[k] = resolveParams.rawQuery[k];

0 commit comments

Comments
 (0)