graphql-jit 0.6.0 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -15
- package/dist/ast.d.ts +14 -14
- package/dist/ast.js +37 -28
- package/dist/ast.js.map +1 -1
- package/dist/error.js +1 -6
- package/dist/error.js.map +1 -1
- package/dist/execution.d.ts +41 -36
- package/dist/execution.js +71 -65
- package/dist/execution.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/inspect.js +1 -1
- package/dist/inspect.js.map +1 -1
- package/dist/json.js +12 -13
- package/dist/json.js.map +1 -1
- package/dist/memoize.js +3 -3
- package/dist/memoize.js.map +1 -1
- package/dist/non-null.js +10 -10
- package/dist/non-null.js.map +1 -1
- package/dist/resolve-info.d.ts +3 -3
- package/dist/resolve-info.js +16 -15
- package/dist/resolve-info.js.map +1 -1
- package/dist/variables.d.ts +1 -1
- package/dist/variables.js +33 -32
- package/dist/variables.js.map +1 -1
- package/package.json +27 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphql-jit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "GraphQL JIT Compiler to JS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "
|
|
11
|
+
"url": "https://github.com/zalando-incubator/graphql-jit.git"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"precommit": "lint-staged",
|
|
15
15
|
"prepublishOnly": "yarn && yarn build",
|
|
16
|
-
"format": "prettier --
|
|
17
|
-
"check-format": "prettier
|
|
18
|
-
"lint": "
|
|
19
|
-
"lint-fix": "
|
|
20
|
-
"build": "tsc",
|
|
16
|
+
"format": "prettier --write 'src/**/*.ts' '*.js'",
|
|
17
|
+
"check-format": "prettier -l 'src/**/*.ts' '*.js'",
|
|
18
|
+
"lint": "eslint --ext .ts .",
|
|
19
|
+
"lint-fix": "eslint --ext .ts . --fix",
|
|
20
|
+
"build": "tsc --project tsconfig.build.json",
|
|
21
21
|
"test": "jest",
|
|
22
22
|
"mutation-test": "stryker run",
|
|
23
23
|
"codecov": "codecov",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"coverageThreshold": {
|
|
41
41
|
"global": {
|
|
42
|
-
"branches":
|
|
42
|
+
"branches": 92,
|
|
43
43
|
"functions": 96,
|
|
44
44
|
"lines": 96,
|
|
45
45
|
"statements": 96
|
|
@@ -50,34 +50,41 @@
|
|
|
50
50
|
"graphql": ">=15"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@graphql-tools/schema": "^
|
|
53
|
+
"@graphql-tools/schema": "^8.3.1",
|
|
54
54
|
"@stryker-mutator/core": "^2.0.0",
|
|
55
55
|
"@stryker-mutator/jest-runner": "^2.0.0",
|
|
56
56
|
"@stryker-mutator/typescript": "^2.0.0",
|
|
57
57
|
"@types/benchmark": "^1.0.31",
|
|
58
|
-
"@types/jest": "^
|
|
58
|
+
"@types/jest": "^27.0.3",
|
|
59
59
|
"@types/json-schema": "^7.0.1",
|
|
60
60
|
"@types/lodash.memoize": "^4.1.6",
|
|
61
61
|
"@types/lodash.merge": "^4.6.6",
|
|
62
62
|
"@types/lodash.mergewith": "^4.6.6",
|
|
63
63
|
"@types/node": "^10.17.26",
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "5.2.0",
|
|
65
|
+
"@typescript-eslint/parser": "5.2.0",
|
|
64
66
|
"benchmark": "^2.1.4",
|
|
65
67
|
"codecov": "^3.3.0",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
+
"eslint": "^8.1.0",
|
|
69
|
+
"eslint-config-prettier": "^8.3.0",
|
|
70
|
+
"eslint-config-standard": "^16.0.3",
|
|
71
|
+
"eslint-plugin-import": "^2.25.2",
|
|
72
|
+
"eslint-plugin-node": "^11.1.0",
|
|
73
|
+
"eslint-plugin-promise": "^5.1.1",
|
|
74
|
+
"eslint-plugin-standard": "^5.0.0",
|
|
75
|
+
"graphql": "^16.0.0",
|
|
76
|
+
"jest": "^27.4.3",
|
|
68
77
|
"lint-staged": "^8.1.5",
|
|
69
|
-
"prettier": "^
|
|
70
|
-
"ts-jest": "^
|
|
78
|
+
"prettier": "^2.4.1",
|
|
79
|
+
"ts-jest": "^27.0.7",
|
|
71
80
|
"ts-node": "^8.0.3",
|
|
72
|
-
"
|
|
73
|
-
"tslint-config-prettier": "^1.18.0",
|
|
74
|
-
"tslint-plugin-prettier": "^2.0.1",
|
|
75
|
-
"typescript": "^3.9.5"
|
|
81
|
+
"typescript": "^4.4.4"
|
|
76
82
|
},
|
|
77
83
|
"dependencies": {
|
|
84
|
+
"@graphql-typed-document-node/core": "^3.1.1",
|
|
78
85
|
"fast-json-stringify": "^1.13.0",
|
|
79
86
|
"generate-function": "^2.3.1",
|
|
80
|
-
"json-schema": "^0.
|
|
87
|
+
"json-schema": "^0.4.0",
|
|
81
88
|
"lodash.memoize": "^4.1.2",
|
|
82
89
|
"lodash.merge": "4.6.2",
|
|
83
90
|
"lodash.mergewith": "4.6.2"
|
|
@@ -85,7 +92,7 @@
|
|
|
85
92
|
"lint-staged": {
|
|
86
93
|
"linters": {
|
|
87
94
|
"*.ts": [
|
|
88
|
-
"
|
|
95
|
+
"eslint --fix",
|
|
89
96
|
"prettier --no-config --write",
|
|
90
97
|
"git add"
|
|
91
98
|
],
|