@graphql-box/connection-resolver 5.4.15 → 5.4.16

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.
@@ -1,23 +1,23 @@
1
1
  -----------------------------
2
2
  Rollup File Analysis
3
3
  -----------------------------
4
- bundle size: 20.217 KB
5
- original size: 28.126 KB
6
- code reduction: 28.12 %
4
+ bundle size: 20.169 KB
5
+ original size: 28.178 KB
6
+ code reduction: 28.42 %
7
7
  module count: 33
8
8
 
9
9
  ███████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
10
10
  file: /src/main/index.ts
11
- bundle space: 15.29 %
12
- rendered size: 3.092 KB
13
- original size: 3.502 KB
14
- code reduction: 11.71 %
11
+ bundle space: 15.63 %
12
+ rendered size: 3.152 KB
13
+ original size: 3.554 KB
14
+ code reduction: 11.31 %
15
15
  dependents: 1
16
16
  - /src/index.ts
17
17
 
18
18
  █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
19
19
  file: /src/helpers/getStartAndEndIndexes.ts
20
- bundle space: 11.67 %
20
+ bundle space: 11.7 %
21
21
  rendered size: 2.36 KB
22
22
  original size: 2.807 KB
23
23
  code reduction: 15.92 %
@@ -26,25 +26,25 @@ dependents: 1
26
26
 
27
27
  █████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
28
28
  file: /src/helpers/validateCursor.ts
29
- bundle space: 10.94 %
30
- rendered size: 2.211 KB
29
+ bundle space: 10.61 %
30
+ rendered size: 2.139 KB
31
31
  original size: 2.535 KB
32
- code reduction: 12.78 %
32
+ code reduction: 15.62 %
33
33
  dependents: 1
34
34
  - /src/main/index.ts
35
35
 
36
36
  ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
37
37
  file: /src/helpers/retrieveCachedConnection.ts
38
- bundle space: 9.9 %
38
+ bundle space: 9.92 %
39
39
  rendered size: 2.001 KB
40
40
  original size: 2.519 KB
41
41
  code reduction: 20.56 %
42
42
  dependents: 1
43
43
  - /src/helpers/resolveConnection.ts
44
44
 
45
- ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
45
+ ████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
46
46
  file: /src/helpers/resolveConnection.ts
47
- bundle space: 7.98 %
47
+ bundle space: 8 %
48
48
  rendered size: 1.614 KB
49
49
  original size: 2.689 KB
50
50
  code reduction: 39.98 %
@@ -53,7 +53,7 @@ dependents: 1
53
53
 
54
54
  ███░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
55
55
  file: /src/helpers/requestAndCachePages.ts
56
- bundle space: 6.47 %
56
+ bundle space: 6.49 %
57
57
  rendered size: 1.309 KB
58
58
  original size: 1.967 KB
59
59
  code reduction: 33.45 %
@@ -63,7 +63,7 @@ dependents: 2
63
63
 
64
64
  █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
65
65
  file: /src/helpers/getStartAndEndPageNumbers.ts
66
- bundle space: 3.87 %
66
+ bundle space: 3.88 %
67
67
  rendered size: 782 Bytes
68
68
  original size: 1.332 KB
69
69
  code reduction: 41.29 %
@@ -72,7 +72,7 @@ dependents: 1
72
72
 
73
73
  █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
74
74
  file: /src/helpers/getInRangeCachedEdges.ts
75
- bundle space: 3.79 %
75
+ bundle space: 3.8 %
76
76
  rendered size: 767 Bytes
77
77
  original size: 979 Bytes
78
78
  code reduction: 21.65 %
@@ -82,7 +82,7 @@ dependents: 2
82
82
 
83
83
  █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
84
84
  file: /src/helpers/retrieveCachedEdgesByPage.ts
85
- bundle space: 3.61 %
85
+ bundle space: 3.62 %
86
86
  rendered size: 730 Bytes
87
87
  original size: 760 Bytes
88
88
  code reduction: 3.95 %
@@ -91,43 +91,43 @@ dependents: 1
91
91
 
92
92
  █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
93
93
  file: /src/helpers/cacheCursors.ts
94
- bundle space: 2.81 %
94
+ bundle space: 2.82 %
95
95
  rendered size: 569 Bytes
96
96
  original size: 726 Bytes
97
97
  code reduction: 21.63 %
98
98
  dependents: 1
99
99
  - /src/helpers/requestAndCachePages.ts
100
100
 
101
- █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
102
- file: /src/helpers/getPageNumbersToRequest.ts
103
- bundle space: 2.78 %
104
- rendered size: 562 Bytes
105
- original size: 993 Bytes
106
- code reduction: 43.4 %
107
- dependents: 1
108
- - /src/helpers/retrieveCachedConnection.ts
109
-
110
101
  █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
111
102
  file: /src/helpers/mergeCachedEdges.ts
112
- bundle space: 2.77 %
103
+ bundle space: 2.78 %
113
104
  rendered size: 560 Bytes
114
105
  original size: 538 Bytes
115
106
  code reduction: 0 %
116
107
  dependents: 1
117
108
  - /src/helpers/resolveConnection.ts
118
109
 
110
+ █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
111
+ file: /src/helpers/getPageNumbersToRequest.ts
112
+ bundle space: 2.74 %
113
+ rendered size: 553 Bytes
114
+ original size: 993 Bytes
115
+ code reduction: 44.31 %
116
+ dependents: 1
117
+ - /src/helpers/retrieveCachedConnection.ts
118
+
119
119
  █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
120
120
  file: /src/helpers/hasPreviousNextPage.ts
121
- bundle space: 2.49 %
122
- rendered size: 503 Bytes
121
+ bundle space: 2.4 %
122
+ rendered size: 485 Bytes
123
123
  original size: 994 Bytes
124
- code reduction: 49.4 %
124
+ code reduction: 51.21 %
125
125
  dependents: 1
126
126
  - /src/helpers/retrieveCachedConnection.ts
127
127
 
128
128
  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
129
129
  file: /src/helpers/makeEntry.ts
130
- bundle space: 1.88 %
130
+ bundle space: 1.89 %
131
131
  rendered size: 381 Bytes
132
132
  original size: 615 Bytes
133
133
  code reduction: 38.05 %
@@ -170,24 +170,24 @@ code reduction: 54.48 %
170
170
  dependents: 1
171
171
  - /src/helpers/validateCursor.ts
172
172
 
173
- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
174
- file: /src/helpers/removeConnectionInputOptions.ts
175
- bundle space: 1.05 %
176
- rendered size: 212 Bytes
177
- original size: 258 Bytes
178
- code reduction: 17.83 %
179
- dependents: 1
180
- - /src/index.ts
181
-
182
173
  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
183
174
  file: /src/helpers/getCount.ts
184
- bundle space: 1.04 %
175
+ bundle space: 1.05 %
185
176
  rendered size: 211 Bytes
186
177
  original size: 306 Bytes
187
178
  code reduction: 31.05 %
188
179
  dependents: 1
189
180
  - /src/helpers/getStartAndEndIndexes.ts
190
181
 
182
+ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
183
+ file: /src/helpers/removeConnectionInputOptions.ts
184
+ bundle space: 1.01 %
185
+ rendered size: 203 Bytes
186
+ original size: 258 Bytes
187
+ code reduction: 21.32 %
188
+ dependents: 1
189
+ - /src/index.ts
190
+
191
191
  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
192
192
  file: /src/helpers/getResultsOnLastPage.ts
193
193
  bundle space: 0.89 %
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../../../src/main/index.cts"],"names":[],"mapp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AAO,CAAC,UAAU,CAkGpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/main/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,OAAO,EACL,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,OAAO,EACZ,KAAK,IAAI,EACV,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,sBAAsB,GAE/B,MAAM,SAAS,WAAW,GAAG,SAAS,EACtC,IAAI,SAAS,WAAW,EACxB,GAAG,SAAS,OAAO,EACnB,QAAQ,SAAS,WAAW,EAC5B,YAAY,SAAS,IAAI,kGAQxB,6BAA6B,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,CAAC,cAEjE,MAAM,QACR,IAAI,GAAG,sBAAsB,WAC1B,GAAG,QACN,kBAAkB,KACvB,OAAO,CAAC,UAAU,CAiGpB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/main/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,OAAO,EACL,KAAK,UAAU,EACf,KAAK,sBAAsB,EAC3B,KAAK,6BAA6B,EAClC,KAAK,OAAO,EACZ,KAAK,IAAI,EACV,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,sBAAsB,GAE/B,MAAM,SAAS,WAAW,GAAG,SAAS,EACtC,IAAI,SAAS,WAAW,EACxB,GAAG,SAAS,OAAO,EACnB,QAAQ,SAAS,WAAW,EAC5B,YAAY,SAAS,IAAI,kGAQxB,6BAA6B,CAAC,MAAM,EAAE,IAAI,E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