@graphql-box/cache-manager 5.0.2 → 5.2.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/dist/production.analysis.txt +89 -89
- package/package.json +4 -4
|
@@ -1,93 +1,102 @@
|
|
|
1
1
|
-----------------------------
|
|
2
2
|
Rollup File Analysis
|
|
3
3
|
-----------------------------
|
|
4
|
-
bundle size:
|
|
4
|
+
bundle size: 48.55 KB
|
|
5
5
|
original size: 63.839 KB
|
|
6
|
-
code reduction:
|
|
6
|
+
code reduction: 23.95 %
|
|
7
7
|
module count: 27
|
|
8
8
|
|
|
9
9
|
████████████████████████████████░░░░░░░░░░░░░░░░░░
|
|
10
10
|
file: /src/main.ts
|
|
11
|
-
bundle space: 65.
|
|
12
|
-
rendered size: 31.
|
|
11
|
+
bundle space: 65.32 %
|
|
12
|
+
rendered size: 31.713 KB
|
|
13
13
|
original size: 39.659 KB
|
|
14
|
-
code reduction:
|
|
14
|
+
code reduction: 20.04 %
|
|
15
15
|
dependents: 1
|
|
16
16
|
- /src/index.ts
|
|
17
17
|
|
|
18
18
|
██░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
19
19
|
file: /src/helpers/filterField.ts
|
|
20
|
-
bundle space: 4.
|
|
21
|
-
rendered size: 2.
|
|
20
|
+
bundle space: 4.83 %
|
|
21
|
+
rendered size: 2.345 KB
|
|
22
22
|
original size: 3.173 KB
|
|
23
|
-
code reduction:
|
|
23
|
+
code reduction: 26.1 %
|
|
24
24
|
dependents: 2
|
|
25
25
|
- /src/helpers/filterFragmentDefinitions.ts
|
|
26
26
|
- /src/helpers/filterQuery.ts
|
|
27
27
|
|
|
28
|
-
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
29
|
-
file: /src/debug/logCacheEntry.ts
|
|
30
|
-
bundle space: 2.76 %
|
|
31
|
-
rendered size: 1.306 KB
|
|
32
|
-
original size: 1.736 KB
|
|
33
|
-
code reduction: 24.77 %
|
|
34
|
-
dependents: 0
|
|
35
|
-
|
|
36
28
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
37
29
|
file: /src/helpers/filterFragmentDefinitions.ts
|
|
38
|
-
bundle space: 2.
|
|
39
|
-
rendered size: 1.
|
|
30
|
+
bundle space: 2.74 %
|
|
31
|
+
rendered size: 1.331 KB
|
|
40
32
|
original size: 1.772 KB
|
|
41
|
-
code reduction:
|
|
33
|
+
code reduction: 24.89 %
|
|
42
34
|
dependents: 1
|
|
43
35
|
- /src/helpers/filterQuery.ts
|
|
44
36
|
|
|
37
|
+
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
38
|
+
file: /src/debug/logCacheEntry.ts
|
|
39
|
+
bundle space: 2.7 %
|
|
40
|
+
rendered size: 1.311 KB
|
|
41
|
+
original size: 1.736 KB
|
|
42
|
+
code reduction: 24.48 %
|
|
43
|
+
dependents: 0
|
|
44
|
+
|
|
45
45
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
46
46
|
file: /src/debug/logCacheQuery.ts
|
|
47
|
-
bundle space: 2.
|
|
48
|
-
rendered size: 1.
|
|
47
|
+
bundle space: 2.62 %
|
|
48
|
+
rendered size: 1.274 KB
|
|
49
49
|
original size: 1.632 KB
|
|
50
|
-
code reduction:
|
|
50
|
+
code reduction: 21.94 %
|
|
51
51
|
dependents: 0
|
|
52
52
|
|
|
53
53
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
54
54
|
file: /src/helpers/filterQuery.ts
|
|
55
|
-
bundle space: 2.
|
|
56
|
-
rendered size: 1.
|
|
55
|
+
bundle space: 2.27 %
|
|
56
|
+
rendered size: 1.103 KB
|
|
57
57
|
original size: 1.611 KB
|
|
58
|
-
code reduction:
|
|
58
|
+
code reduction: 31.53 %
|
|
59
59
|
dependents: 1
|
|
60
60
|
- /src/main.ts
|
|
61
61
|
|
|
62
62
|
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
63
63
|
file: /src/helpers/areOnlyPopulatedFieldsTypeIdKeys.ts
|
|
64
|
-
bundle space: 2.
|
|
65
|
-
rendered size:
|
|
64
|
+
bundle space: 2.12 %
|
|
65
|
+
rendered size: 1.031 KB
|
|
66
66
|
original size: 1.237 KB
|
|
67
|
-
code reduction:
|
|
67
|
+
code reduction: 16.65 %
|
|
68
68
|
dependents: 1
|
|
69
69
|
- /src/main.ts
|
|
70
70
|
|
|
71
71
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
72
72
|
file: /src/helpers/filterIDsAndTypeNames.ts
|
|
73
|
-
bundle space: 1.
|
|
74
|
-
rendered size:
|
|
73
|
+
bundle space: 1.92 %
|
|
74
|
+
rendered size: 932 Bytes
|
|
75
75
|
original size: 1.267 KB
|
|
76
|
-
code reduction:
|
|
76
|
+
code reduction: 26.44 %
|
|
77
77
|
dependents: 1
|
|
78
78
|
- /src/helpers/filterField.ts
|
|
79
79
|
|
|
80
80
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
81
81
|
file: /src/debug/logPartialCompiled.ts
|
|
82
|
-
bundle space: 1.
|
|
83
|
-
rendered size:
|
|
82
|
+
bundle space: 1.7 %
|
|
83
|
+
rendered size: 823 Bytes
|
|
84
84
|
original size: 1.217 KB
|
|
85
|
-
code reduction: 32.
|
|
85
|
+
code reduction: 32.37 %
|
|
86
86
|
dependents: 0
|
|
87
87
|
|
|
88
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
89
|
+
file: /src/helpers/filterInlineFragments.ts
|
|
90
|
+
bundle space: 1.63 %
|
|
91
|
+
rendered size: 790 Bytes
|
|
92
|
+
original size: 1.09 KB
|
|
93
|
+
code reduction: 27.52 %
|
|
94
|
+
dependents: 1
|
|
95
|
+
- /src/helpers/filterField.ts
|
|
96
|
+
|
|
88
97
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
89
98
|
file: /src/helpers/checkFieldPathChecklist.ts
|
|
90
|
-
bundle space: 1.
|
|
99
|
+
bundle space: 1.61 %
|
|
91
100
|
rendered size: 783 Bytes
|
|
92
101
|
original size: 914 Bytes
|
|
93
102
|
code reduction: 14.33 %
|
|
@@ -95,108 +104,108 @@ dependents: 1
|
|
|
95
104
|
- /src/helpers/filterField.ts
|
|
96
105
|
|
|
97
106
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
98
|
-
file: /src/helpers/
|
|
99
|
-
bundle space: 1.
|
|
100
|
-
rendered size:
|
|
107
|
+
file: /src/helpers/filterOutPropsWithArgsOrDirectives.ts
|
|
108
|
+
bundle space: 1.52 %
|
|
109
|
+
rendered size: 738 Bytes
|
|
101
110
|
original size: 1.09 KB
|
|
102
|
-
code reduction:
|
|
111
|
+
code reduction: 32.29 %
|
|
103
112
|
dependents: 1
|
|
104
|
-
- /src/
|
|
113
|
+
- /src/main.ts
|
|
105
114
|
|
|
106
115
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
107
116
|
file: /src/helpers/mergeResponseDataSets.ts
|
|
108
|
-
bundle space: 1.
|
|
109
|
-
rendered size:
|
|
117
|
+
bundle space: 1.5 %
|
|
118
|
+
rendered size: 726 Bytes
|
|
110
119
|
original size: 918 Bytes
|
|
111
|
-
code reduction:
|
|
112
|
-
dependents: 1
|
|
113
|
-
- /src/main.ts
|
|
114
|
-
|
|
115
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
116
|
-
file: /src/helpers/filterOutPropsWithArgsOrDirectives.ts
|
|
117
|
-
bundle space: 1.49 %
|
|
118
|
-
rendered size: 705 Bytes
|
|
119
|
-
original size: 1.09 KB
|
|
120
|
-
code reduction: 35.32 %
|
|
120
|
+
code reduction: 20.92 %
|
|
121
121
|
dependents: 1
|
|
122
122
|
- /src/main.ts
|
|
123
123
|
|
|
124
124
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
125
125
|
file: /src/helpers/deriveOpCacheability.ts
|
|
126
|
-
bundle space: 1.
|
|
127
|
-
rendered size:
|
|
126
|
+
bundle space: 1.36 %
|
|
127
|
+
rendered size: 662 Bytes
|
|
128
128
|
original size: 945 Bytes
|
|
129
|
-
code reduction:
|
|
129
|
+
code reduction: 29.95 %
|
|
130
130
|
dependents: 1
|
|
131
131
|
- /src/main.ts
|
|
132
132
|
|
|
133
133
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
134
134
|
file: /src/helpers/filterFragmentSpreads.ts
|
|
135
135
|
bundle space: 1.24 %
|
|
136
|
-
rendered size:
|
|
136
|
+
rendered size: 603 Bytes
|
|
137
137
|
original size: 1.061 KB
|
|
138
|
-
code reduction:
|
|
138
|
+
code reduction: 43.17 %
|
|
139
139
|
dependents: 1
|
|
140
140
|
- /src/helpers/filterField.ts
|
|
141
141
|
|
|
142
142
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
143
143
|
file: /src/helpers/normalizePatchResponseData.ts
|
|
144
|
-
bundle space: 0.
|
|
145
|
-
rendered size:
|
|
144
|
+
bundle space: 0.79 %
|
|
145
|
+
rendered size: 383 Bytes
|
|
146
146
|
original size: 609 Bytes
|
|
147
|
-
code reduction:
|
|
147
|
+
code reduction: 37.11 %
|
|
148
148
|
dependents: 1
|
|
149
149
|
- /src/main.ts
|
|
150
150
|
|
|
151
151
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
152
152
|
file: /src/helpers/createFragmentSpreadChecklist.ts
|
|
153
|
-
bundle space: 0.
|
|
154
|
-
rendered size:
|
|
153
|
+
bundle space: 0.62 %
|
|
154
|
+
rendered size: 299 Bytes
|
|
155
155
|
original size: 619 Bytes
|
|
156
|
-
code reduction:
|
|
156
|
+
code reduction: 51.7 %
|
|
157
157
|
dependents: 1
|
|
158
158
|
- /src/helpers/filterQuery.ts
|
|
159
159
|
|
|
160
160
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
161
161
|
file: /src/helpers/combineData.ts
|
|
162
|
-
bundle space: 0.
|
|
163
|
-
rendered size:
|
|
162
|
+
bundle space: 0.56 %
|
|
163
|
+
rendered size: 273 Bytes
|
|
164
164
|
original size: 398 Bytes
|
|
165
|
-
code reduction:
|
|
165
|
+
code reduction: 31.41 %
|
|
166
166
|
dependents: 1
|
|
167
167
|
- /src/main.ts
|
|
168
168
|
|
|
169
169
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
170
170
|
file: /src/helpers/validTypeIdValue.ts
|
|
171
171
|
bundle space: 0.51 %
|
|
172
|
-
rendered size:
|
|
172
|
+
rendered size: 248 Bytes
|
|
173
173
|
original size: 459 Bytes
|
|
174
|
-
code reduction:
|
|
174
|
+
code reduction: 45.97 %
|
|
175
|
+
dependents: 1
|
|
176
|
+
- /src/main.ts
|
|
177
|
+
|
|
178
|
+
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
179
|
+
file: /src/helpers/getDataValue.ts
|
|
180
|
+
bundle space: 0.47 %
|
|
181
|
+
rendered size: 227 Bytes
|
|
182
|
+
original size: 369 Bytes
|
|
183
|
+
code reduction: 38.48 %
|
|
175
184
|
dependents: 1
|
|
176
185
|
- /src/main.ts
|
|
177
186
|
|
|
178
187
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
179
188
|
file: /src/helpers/mergeObjects.ts
|
|
180
|
-
bundle space: 0.
|
|
181
|
-
rendered size:
|
|
189
|
+
bundle space: 0.44 %
|
|
190
|
+
rendered size: 214 Bytes
|
|
182
191
|
original size: 380 Bytes
|
|
183
|
-
code reduction:
|
|
192
|
+
code reduction: 43.68 %
|
|
184
193
|
dependents: 2
|
|
185
194
|
- /src/helpers/combineData.ts
|
|
186
195
|
- /src/main.ts
|
|
187
196
|
|
|
188
197
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
189
|
-
file: /src/helpers/
|
|
190
|
-
bundle space: 0.
|
|
191
|
-
rendered size:
|
|
192
|
-
original size:
|
|
193
|
-
code reduction:
|
|
198
|
+
file: /src/helpers/hasTypename.ts
|
|
199
|
+
bundle space: 0.37 %
|
|
200
|
+
rendered size: 179 Bytes
|
|
201
|
+
original size: 351 Bytes
|
|
202
|
+
code reduction: 49 %
|
|
194
203
|
dependents: 1
|
|
195
204
|
- /src/main.ts
|
|
196
205
|
|
|
197
206
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
198
207
|
file: /src/constants.ts
|
|
199
|
-
bundle space: 0.
|
|
208
|
+
bundle space: 0.36 %
|
|
200
209
|
rendered size: 176 Bytes
|
|
201
210
|
original size: 258 Bytes
|
|
202
211
|
code reduction: 31.78 %
|
|
@@ -204,18 +213,9 @@ dependents: 2
|
|
|
204
213
|
- /src/helpers/deriveOpCacheability.ts
|
|
205
214
|
- /src/main.ts
|
|
206
215
|
|
|
207
|
-
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
208
|
-
file: /src/helpers/hasTypename.ts
|
|
209
|
-
bundle space: 0.32 %
|
|
210
|
-
rendered size: 152 Bytes
|
|
211
|
-
original size: 351 Bytes
|
|
212
|
-
code reduction: 56.7 %
|
|
213
|
-
dependents: 1
|
|
214
|
-
- /src/main.ts
|
|
215
|
-
|
|
216
216
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
217
217
|
file: /src/helpers/isNotResponseChunk.ts
|
|
218
|
-
bundle space: 0.
|
|
218
|
+
bundle space: 0.28 %
|
|
219
219
|
rendered size: 137 Bytes
|
|
220
220
|
original size: 348 Bytes
|
|
221
221
|
code reduction: 60.63 %
|
|
@@ -224,7 +224,7 @@ dependents: 1
|
|
|
224
224
|
|
|
225
225
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
226
226
|
file: /src/helpers/isLastResponseChunk.ts
|
|
227
|
-
bundle space: 0.
|
|
227
|
+
bundle space: 0.28 %
|
|
228
228
|
rendered size: 136 Bytes
|
|
229
229
|
original size: 347 Bytes
|
|
230
230
|
code reduction: 60.81 %
|
|
@@ -233,7 +233,7 @@ dependents: 1
|
|
|
233
233
|
|
|
234
234
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
235
235
|
file: /src/helpers/isNotLastResponseChunk.ts
|
|
236
|
-
bundle space: 0.
|
|
236
|
+
bundle space: 0.23 %
|
|
237
237
|
rendered size: 113 Bytes
|
|
238
238
|
original size: 324 Bytes
|
|
239
239
|
code reduction: 65.12 %
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-box/cache-manager",
|
|
3
3
|
"description": "The GraphQL Box cache manager module.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.2.3",
|
|
5
5
|
"author": "Dylan Aubrey",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/graphql-box",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@cachemap/types": "^5.0.6",
|
|
33
33
|
"cacheability": "^4.0.20",
|
|
34
|
-
"@graphql-box/core": "5.
|
|
35
|
-
"@graphql-box/helpers": "5.
|
|
34
|
+
"@graphql-box/core": "5.2.3",
|
|
35
|
+
"@graphql-box/helpers": "5.2.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@babel/runtime": "<8",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"del-cli": "^5.1.0",
|
|
53
53
|
"graphql": "^16.8.1",
|
|
54
54
|
"lodash-es": "^4.17.21",
|
|
55
|
-
"@graphql-box/test-utils": "5.
|
|
55
|
+
"@graphql-box/test-utils": "5.2.3"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"client",
|