@atlaspack/graph 3.4.1-canary.48 → 3.4.1-canary.480
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/CHANGELOG.md +380 -0
- package/benchmark/BitSet.js +37 -0
- package/dist/AdjacencyList.js +1348 -0
- package/dist/BitSet.js +108 -0
- package/dist/ContentGraph.js +70 -0
- package/dist/Graph.js +504 -0
- package/dist/index.js +17 -0
- package/dist/shared-buffer.js +24 -0
- package/dist/types.js +10 -0
- package/lib/AdjacencyList.js +34 -10
- package/lib/BitSet.js +36 -5
- package/lib/ContentGraph.js +1 -5
- package/lib/Graph.js +25 -12
- package/lib/shared-buffer.js +5 -1
- package/lib/types/AdjacencyList.d.ts +609 -0
- package/lib/types/BitSet.d.ts +19 -0
- package/lib/types/ContentGraph.d.ts +23 -0
- package/lib/types/Graph.d.ts +92 -0
- package/lib/types/index.d.ts +7 -0
- package/lib/types/shared-buffer.d.ts +2 -0
- package/lib/types/types.d.ts +9 -0
- package/lib/types.js +1 -0
- package/package.json +16 -6
- package/src/{AdjacencyList.js → AdjacencyList.ts} +135 -107
- package/src/{BitSet.js → BitSet.ts} +31 -3
- package/src/{ContentGraph.js → ContentGraph.ts} +21 -20
- package/src/{Graph.js → Graph.ts} +104 -74
- package/src/{index.js → index.ts} +0 -2
- package/src/{shared-buffer.js → shared-buffer.ts} +6 -3
- package/src/{types.js → types.ts} +5 -7
- package/test/{AdjacencyList.test.js → AdjacencyList.test.ts} +21 -29
- package/test/{BitSet.test.js → BitSet.test.ts} +45 -5
- package/test/{ContentGraph.test.js → ContentGraph.test.ts} +2 -4
- package/test/{Graph.test.js → Graph.test.ts} +44 -36
- package/tsconfig.json +18 -0
- package/tsconfig.tsbuildinfo +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,385 @@
|
|
|
1
1
|
# @atlaspack/graph
|
|
2
2
|
|
|
3
|
+
## 3.6.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`1815c2c`](https://github.com/atlassian-labs/atlaspack/commit/1815c2ce48e32f4df97ccdd668fd650fc79d1051)]:
|
|
8
|
+
- @atlaspack/feature-flags@2.29.1
|
|
9
|
+
- @atlaspack/types-internal@2.23.1
|
|
10
|
+
|
|
11
|
+
## 3.6.14
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [[`e058f0e`](https://github.com/atlassian-labs/atlaspack/commit/e058f0e7a0423ba9373e85a7dbd5c1dd43b47916), [`349b19c`](https://github.com/atlassian-labs/atlaspack/commit/349b19c3aca2ccb1ffb5cdcdc74890f4b62228be)]:
|
|
16
|
+
- @atlaspack/types-internal@2.23.0
|
|
17
|
+
- @atlaspack/feature-flags@2.29.0
|
|
18
|
+
|
|
19
|
+
## 3.6.13
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies []:
|
|
24
|
+
- @atlaspack/types-internal@2.22.8
|
|
25
|
+
|
|
26
|
+
## 3.6.12
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [[`8826fd0`](https://github.com/atlassian-labs/atlaspack/commit/8826fd02c29c9c67cf0c80da41f424257fbdef93)]:
|
|
31
|
+
- @atlaspack/feature-flags@2.28.0
|
|
32
|
+
- @atlaspack/types-internal@2.22.7
|
|
33
|
+
|
|
34
|
+
## 3.6.11
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- Updated dependencies [[`f33f9c4`](https://github.com/atlassian-labs/atlaspack/commit/f33f9c48dd24b319df352d197e4a83cbb1b053bc), [`e15fb6c`](https://github.com/atlassian-labs/atlaspack/commit/e15fb6c885c6354c6c02283de35ce18abc8c9e18)]:
|
|
39
|
+
- @atlaspack/feature-flags@2.27.7
|
|
40
|
+
- @atlaspack/types-internal@2.22.6
|
|
41
|
+
|
|
42
|
+
## 3.6.10
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- Updated dependencies [[`c31090c`](https://github.com/atlassian-labs/atlaspack/commit/c31090c9025f35d3fa8561b42dca170853a32e6f), [`565bab3`](https://github.com/atlassian-labs/atlaspack/commit/565bab3771cc334659d873cabff4cdfac0860cc7)]:
|
|
47
|
+
- @atlaspack/feature-flags@2.27.6
|
|
48
|
+
- @atlaspack/types-internal@2.22.5
|
|
49
|
+
|
|
50
|
+
## 3.6.9
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- Updated dependencies []:
|
|
55
|
+
- @atlaspack/types-internal@2.22.4
|
|
56
|
+
|
|
57
|
+
## 3.6.8
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- Updated dependencies [[`02cc8b3`](https://github.com/atlassian-labs/atlaspack/commit/02cc8b32c06ca6b51806b33f6f707ca06e55e957)]:
|
|
62
|
+
- @atlaspack/feature-flags@2.27.5
|
|
63
|
+
- @atlaspack/types-internal@2.22.3
|
|
64
|
+
|
|
65
|
+
## 3.6.7
|
|
66
|
+
|
|
67
|
+
### Patch Changes
|
|
68
|
+
|
|
69
|
+
- Updated dependencies [[`793e78c`](https://github.com/atlassian-labs/atlaspack/commit/793e78c68eed25032e686f70cd77ea3601409b35)]:
|
|
70
|
+
- @atlaspack/feature-flags@2.27.4
|
|
71
|
+
- @atlaspack/types-internal@2.22.2
|
|
72
|
+
|
|
73
|
+
## 3.6.6
|
|
74
|
+
|
|
75
|
+
### Patch Changes
|
|
76
|
+
|
|
77
|
+
- Updated dependencies []:
|
|
78
|
+
- @atlaspack/types-internal@2.22.1
|
|
79
|
+
|
|
80
|
+
## 3.6.5
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- Updated dependencies [[`00fa643`](https://github.com/atlassian-labs/atlaspack/commit/00fa6433202bfd3311479f6314c9ec878a789f2c)]:
|
|
85
|
+
- @atlaspack/types-internal@2.22.0
|
|
86
|
+
|
|
87
|
+
## 3.6.4
|
|
88
|
+
|
|
89
|
+
### Patch Changes
|
|
90
|
+
|
|
91
|
+
- Updated dependencies [[`cbb66a5`](https://github.com/atlassian-labs/atlaspack/commit/cbb66a554f7ad679fd4dfc9e2bf2d5abb859f846)]:
|
|
92
|
+
- @atlaspack/feature-flags@2.27.3
|
|
93
|
+
- @atlaspack/types-internal@2.21.3
|
|
94
|
+
|
|
95
|
+
## 3.6.3
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [[`91738fd`](https://github.com/atlassian-labs/atlaspack/commit/91738fd77cb6b3b7acc93e799327ec283d27f7c0)]:
|
|
100
|
+
- @atlaspack/feature-flags@2.27.2
|
|
101
|
+
- @atlaspack/types-internal@2.21.2
|
|
102
|
+
|
|
103
|
+
## 3.6.2
|
|
104
|
+
|
|
105
|
+
### Patch Changes
|
|
106
|
+
|
|
107
|
+
- Updated dependencies [[`2f3af93`](https://github.com/atlassian-labs/atlaspack/commit/2f3af9374bcc082e6f4835f6f5a2b98e32ea45b4)]:
|
|
108
|
+
- @atlaspack/feature-flags@2.27.1
|
|
109
|
+
- @atlaspack/types-internal@2.21.1
|
|
110
|
+
|
|
111
|
+
## 3.6.1
|
|
112
|
+
|
|
113
|
+
### Patch Changes
|
|
114
|
+
|
|
115
|
+
- Updated dependencies [[`8eb84ee`](https://github.com/atlassian-labs/atlaspack/commit/8eb84ee61a42bfe87c58079b610802b07a6a13e4), [`73168c2`](https://github.com/atlassian-labs/atlaspack/commit/73168c275a5d9abff9907bcf536b340bca1ed5f0), [`617a318`](https://github.com/atlassian-labs/atlaspack/commit/617a318ddc9419b38360257353fec50b9051ee13)]:
|
|
116
|
+
- @atlaspack/types-internal@2.21.0
|
|
117
|
+
- @atlaspack/feature-flags@2.27.0
|
|
118
|
+
|
|
119
|
+
## 3.6.0
|
|
120
|
+
|
|
121
|
+
### Minor Changes
|
|
122
|
+
|
|
123
|
+
- [#869](https://github.com/atlassian-labs/atlaspack/pull/869) [`cfb4707`](https://github.com/atlassian-labs/atlaspack/commit/cfb4707087498e4fa4dcf10753fe984a248d196b) Thanks [@benjervis](https://github.com/benjervis)! - Adds a feature to the V3 devloop that will minimise the amount of work done if the change is only a content change.
|
|
124
|
+
|
|
125
|
+
### Patch Changes
|
|
126
|
+
|
|
127
|
+
- [#859](https://github.com/atlassian-labs/atlaspack/pull/859) [`8180981`](https://github.com/atlassian-labs/atlaspack/commit/8180981be14c00f9570adb70d3f350bd91d6ec0a) Thanks [@benjervis](https://github.com/benjervis)! - Re-use asset graphs when building in Native, if we have one left over from a previous incremental build
|
|
128
|
+
|
|
129
|
+
- Updated dependencies [[`ec3abe4`](https://github.com/atlassian-labs/atlaspack/commit/ec3abe4dffc98560a850fd2f71fb566577e6c99c), [`c7fe3f7`](https://github.com/atlassian-labs/atlaspack/commit/c7fe3f76f247e9e20299e205e2df0a16c418eaf2)]:
|
|
130
|
+
- @atlaspack/feature-flags@2.26.2
|
|
131
|
+
- @atlaspack/types-internal@2.20.8
|
|
132
|
+
|
|
133
|
+
## 3.5.26
|
|
134
|
+
|
|
135
|
+
### Patch Changes
|
|
136
|
+
|
|
137
|
+
- Updated dependencies [[`373ee2d`](https://github.com/atlassian-labs/atlaspack/commit/373ee2d3b5cc315df1e90e647619f915892e2b87)]:
|
|
138
|
+
- @atlaspack/feature-flags@2.26.1
|
|
139
|
+
- @atlaspack/types-internal@2.20.7
|
|
140
|
+
|
|
141
|
+
## 3.5.25
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- Updated dependencies [[`58527ee`](https://github.com/atlassian-labs/atlaspack/commit/58527eec15c1aebaaadbeb63586f3082c16beae3), [`cfb39a0`](https://github.com/atlassian-labs/atlaspack/commit/cfb39a0d729eb620cf2ca1611750a2bf7a080d08), [`d0c7bea`](https://github.com/atlassian-labs/atlaspack/commit/d0c7bea04458255b4c5d4299600e734b5f919fe1), [`9cd9521`](https://github.com/atlassian-labs/atlaspack/commit/9cd9521978f783046e2ae4ce78f2de7aeb07d073), [`5776be2`](https://github.com/atlassian-labs/atlaspack/commit/5776be21f70a3f2b9471ba33da3ba1a883f21f1a)]:
|
|
146
|
+
- @atlaspack/feature-flags@2.26.0
|
|
147
|
+
- @atlaspack/types-internal@2.20.6
|
|
148
|
+
|
|
149
|
+
## 3.5.24
|
|
150
|
+
|
|
151
|
+
### Patch Changes
|
|
152
|
+
|
|
153
|
+
- Updated dependencies [[`79a7e22`](https://github.com/atlassian-labs/atlaspack/commit/79a7e22ef119891a2f4180a9d3cc66b38dd52092), [`3da8e69`](https://github.com/atlassian-labs/atlaspack/commit/3da8e690605472d81c531366b65fa9844f8ca337), [`c372f3f`](https://github.com/atlassian-labs/atlaspack/commit/c372f3fd6fce8200d5cf47f41bc7895c6cbb5558), [`17dfea9`](https://github.com/atlassian-labs/atlaspack/commit/17dfea9e9f3169807808520df9c09ebf70dc8b10), [`f1070ec`](https://github.com/atlassian-labs/atlaspack/commit/f1070ec48e99b4ec111a03179c5ab5b74163fab1)]:
|
|
154
|
+
- @atlaspack/feature-flags@2.25.5
|
|
155
|
+
- @atlaspack/types-internal@2.20.5
|
|
156
|
+
|
|
157
|
+
## 3.5.23
|
|
158
|
+
|
|
159
|
+
### Patch Changes
|
|
160
|
+
|
|
161
|
+
- Updated dependencies [[`662d3c6`](https://github.com/atlassian-labs/atlaspack/commit/662d3c627888b16bf27df15cfac5a9094509e93d)]:
|
|
162
|
+
- @atlaspack/feature-flags@2.25.4
|
|
163
|
+
- @atlaspack/types-internal@2.20.4
|
|
164
|
+
|
|
165
|
+
## 3.5.22
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- Updated dependencies [[`f07351a`](https://github.com/atlassian-labs/atlaspack/commit/f07351a2398b6a8e5155a2daad77e69b7dcb2b4b)]:
|
|
170
|
+
- @atlaspack/feature-flags@2.25.3
|
|
171
|
+
- @atlaspack/types-internal@2.20.3
|
|
172
|
+
|
|
173
|
+
## 3.5.21
|
|
174
|
+
|
|
175
|
+
### Patch Changes
|
|
176
|
+
|
|
177
|
+
- Updated dependencies [[`0207171`](https://github.com/atlassian-labs/atlaspack/commit/0207171e59e985c51e105aec2e0a99de174374bd), [`10ee3fa`](https://github.com/atlassian-labs/atlaspack/commit/10ee3fa5b75a92acde8973673d9b3c5b6f3958e5), [`1180103`](https://github.com/atlassian-labs/atlaspack/commit/118010351ed444f8178988afb3f77807154dd933), [`2bc93b1`](https://github.com/atlassian-labs/atlaspack/commit/2bc93b17cea07fd7cbb68acec84d8471345a22b4)]:
|
|
178
|
+
- @atlaspack/feature-flags@2.25.2
|
|
179
|
+
- @atlaspack/types-internal@2.20.2
|
|
180
|
+
|
|
181
|
+
## 3.5.20
|
|
182
|
+
|
|
183
|
+
### Patch Changes
|
|
184
|
+
|
|
185
|
+
- [#785](https://github.com/atlassian-labs/atlaspack/pull/785) [`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922) Thanks [@matt-koko](https://github.com/matt-koko)! - We need to re-publish every package in Atlaspack with the corrected types field.
|
|
186
|
+
|
|
187
|
+
- Updated dependencies [[`0e7dd5e`](https://github.com/atlassian-labs/atlaspack/commit/0e7dd5ec6fbe05aa9e0bb5775a9d0975f206a922)]:
|
|
188
|
+
- @atlaspack/feature-flags@2.25.1
|
|
189
|
+
- @atlaspack/types-internal@2.20.1
|
|
190
|
+
|
|
191
|
+
## 3.5.19
|
|
192
|
+
|
|
193
|
+
### Patch Changes
|
|
194
|
+
|
|
195
|
+
- Updated dependencies [[`7a52bab`](https://github.com/atlassian-labs/atlaspack/commit/7a52bab6281e8edbfa66af248eb6f872c6b4b7bd), [`eedcbc4`](https://github.com/atlassian-labs/atlaspack/commit/eedcbc408fc1e86a2a8e25f1a41c57146d8529e1), [`038e87a`](https://github.com/atlassian-labs/atlaspack/commit/038e87a7858d39556d59d3a2d17db534d45f62c6), [`f6532d7`](https://github.com/atlassian-labs/atlaspack/commit/f6532d7a4f7f007bd4e5e36af04dd466f0b9f572), [`602f8ed`](https://github.com/atlassian-labs/atlaspack/commit/602f8ed9d8381301df8b2cc82c1d5cf6f2f94fec)]:
|
|
196
|
+
- @atlaspack/feature-flags@2.25.0
|
|
197
|
+
- @atlaspack/types-internal@2.20.0
|
|
198
|
+
|
|
199
|
+
## 3.5.18
|
|
200
|
+
|
|
201
|
+
### Patch Changes
|
|
202
|
+
|
|
203
|
+
- Updated dependencies [[`830261d`](https://github.com/atlassian-labs/atlaspack/commit/830261dcf4a40293090b61cab52fd75d5683c73f)]:
|
|
204
|
+
- @atlaspack/feature-flags@2.24.1
|
|
205
|
+
- @atlaspack/types-internal@2.19.5
|
|
206
|
+
|
|
207
|
+
## 3.5.17
|
|
208
|
+
|
|
209
|
+
### Patch Changes
|
|
210
|
+
|
|
211
|
+
- Updated dependencies [[`f0349a6`](https://github.com/atlassian-labs/atlaspack/commit/f0349a6b9b04755088f121095ca6301a2ada3767), [`a5081c3`](https://github.com/atlassian-labs/atlaspack/commit/a5081c3f9207d28716ee4edd3841de1830ea4b80), [`f930003`](https://github.com/atlassian-labs/atlaspack/commit/f930003364fdc31e5487520ebe256f1a9389f579), [`f930003`](https://github.com/atlassian-labs/atlaspack/commit/f930003364fdc31e5487520ebe256f1a9389f579), [`8843980`](https://github.com/atlassian-labs/atlaspack/commit/88439807be20025fd3433380204ff1205079729e)]:
|
|
212
|
+
- @atlaspack/feature-flags@2.24.0
|
|
213
|
+
- @atlaspack/types-internal@2.19.4
|
|
214
|
+
|
|
215
|
+
## 3.5.16
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- Updated dependencies [[`3cfb7cf`](https://github.com/atlassian-labs/atlaspack/commit/3cfb7cfd90b78a5c48ce717e779ff789769825a3)]:
|
|
220
|
+
- @atlaspack/feature-flags@2.23.2
|
|
221
|
+
- @atlaspack/types-internal@2.19.3
|
|
222
|
+
|
|
223
|
+
## 3.5.15
|
|
224
|
+
|
|
225
|
+
### Patch Changes
|
|
226
|
+
|
|
227
|
+
- [#742](https://github.com/atlassian-labs/atlaspack/pull/742) [`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd) Thanks [@yamadapc](https://github.com/yamadapc)! - Internal changes and bug fixes to environmentDeduplication flag
|
|
228
|
+
|
|
229
|
+
- Updated dependencies [[`ee040bb`](https://github.com/atlassian-labs/atlaspack/commit/ee040bb6428f29b57d892ddd8107e29077d08ffd)]:
|
|
230
|
+
- @atlaspack/types-internal@2.19.2
|
|
231
|
+
- @atlaspack/feature-flags@2.23.1
|
|
232
|
+
|
|
233
|
+
## 3.5.14
|
|
234
|
+
|
|
235
|
+
### Patch Changes
|
|
236
|
+
|
|
237
|
+
- Updated dependencies [[`f6b3f22`](https://github.com/atlassian-labs/atlaspack/commit/f6b3f2276c7e417580b49c4879563aab51f156b1)]:
|
|
238
|
+
- @atlaspack/feature-flags@2.23.0
|
|
239
|
+
- @atlaspack/types-internal@2.19.1
|
|
240
|
+
|
|
241
|
+
## 3.5.13
|
|
242
|
+
|
|
243
|
+
### Patch Changes
|
|
244
|
+
|
|
245
|
+
- Updated dependencies [[`7f5841c`](https://github.com/atlassian-labs/atlaspack/commit/7f5841c39df049f9546cccbeea2a7337e0337b45), [`73dd7ba`](https://github.com/atlassian-labs/atlaspack/commit/73dd7baab69456ef2f6e4a0cc7dbb04f407eb148)]:
|
|
246
|
+
- @atlaspack/types-internal@2.19.0
|
|
247
|
+
- @atlaspack/feature-flags@2.22.0
|
|
248
|
+
|
|
249
|
+
## 3.5.12
|
|
250
|
+
|
|
251
|
+
### Patch Changes
|
|
252
|
+
|
|
253
|
+
- Updated dependencies [[`23d561e`](https://github.com/atlassian-labs/atlaspack/commit/23d561e51e68b0c38fd1ff4e4fb173e5e7b01cf2)]:
|
|
254
|
+
- @atlaspack/feature-flags@2.21.0
|
|
255
|
+
|
|
256
|
+
## 3.5.11
|
|
257
|
+
|
|
258
|
+
### Patch Changes
|
|
259
|
+
|
|
260
|
+
- [#720](https://github.com/atlassian-labs/atlaspack/pull/720) [`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94) Thanks [@alshdavid](https://github.com/alshdavid)! - Migrate to TypeScript
|
|
261
|
+
|
|
262
|
+
- Updated dependencies [[`d2fd849`](https://github.com/atlassian-labs/atlaspack/commit/d2fd849770fe6305e9c694bd97b1bd905abd9d94), [`12bee0e`](https://github.com/atlassian-labs/atlaspack/commit/12bee0e23f0464d7f6bd3e24fbe0d19c126d587d)]:
|
|
263
|
+
- @atlaspack/feature-flags@2.20.1
|
|
264
|
+
|
|
265
|
+
## 3.5.10
|
|
266
|
+
|
|
267
|
+
### Patch Changes
|
|
268
|
+
|
|
269
|
+
- Updated dependencies [[`069de47`](https://github.com/atlassian-labs/atlaspack/commit/069de478e64fb5889f6f2ce023eb510782767fbd)]:
|
|
270
|
+
- @atlaspack/feature-flags@2.20.0
|
|
271
|
+
|
|
272
|
+
## 3.5.9
|
|
273
|
+
|
|
274
|
+
### Patch Changes
|
|
275
|
+
|
|
276
|
+
- Updated dependencies [[`1c7865a`](https://github.com/atlassian-labs/atlaspack/commit/1c7865a64451116d94015e248302435839d347c0), [`a0b959f`](https://github.com/atlassian-labs/atlaspack/commit/a0b959fbf61fc3f820ff03c7e8988945fe40a91a)]:
|
|
277
|
+
- @atlaspack/feature-flags@2.19.2
|
|
278
|
+
|
|
279
|
+
## 3.5.8
|
|
280
|
+
|
|
281
|
+
### Patch Changes
|
|
282
|
+
|
|
283
|
+
- Updated dependencies [[`13aef17`](https://github.com/atlassian-labs/atlaspack/commit/13aef177eea289a6e40d2113b5ec1ac9be18a33d)]:
|
|
284
|
+
- @atlaspack/feature-flags@2.19.1
|
|
285
|
+
|
|
286
|
+
## 3.5.7
|
|
287
|
+
|
|
288
|
+
### Patch Changes
|
|
289
|
+
|
|
290
|
+
- Updated dependencies [[`dbb4072`](https://github.com/atlassian-labs/atlaspack/commit/dbb40721ebeb45990a14ba04e6b44e7f836fb32d), [`becf977`](https://github.com/atlassian-labs/atlaspack/commit/becf977f625d5ee46dae3d4c679f173bf5f40cc0), [`c4415a4`](https://github.com/atlassian-labs/atlaspack/commit/c4415a455543d984ca28452c2cb87a794d22497c), [`f0f7c71`](https://github.com/atlassian-labs/atlaspack/commit/f0f7c7168a1d3d18c6f30d2daed611275692b7c5), [`18a57cf`](https://github.com/atlassian-labs/atlaspack/commit/18a57cf8a4789b2de5ad8e2676f317a26cc91417)]:
|
|
291
|
+
- @atlaspack/feature-flags@2.19.0
|
|
292
|
+
|
|
293
|
+
## 3.5.6
|
|
294
|
+
|
|
295
|
+
### Patch Changes
|
|
296
|
+
|
|
297
|
+
- Updated dependencies [[`e8a60ff`](https://github.com/atlassian-labs/atlaspack/commit/e8a60ffbea41caef265786bbf73349771760081c)]:
|
|
298
|
+
- @atlaspack/feature-flags@2.18.4
|
|
299
|
+
|
|
300
|
+
## 3.5.5
|
|
301
|
+
|
|
302
|
+
### Patch Changes
|
|
303
|
+
|
|
304
|
+
- Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
|
|
305
|
+
- @atlaspack/feature-flags@2.18.3
|
|
306
|
+
|
|
307
|
+
## 3.5.4
|
|
308
|
+
|
|
309
|
+
### Patch Changes
|
|
310
|
+
|
|
311
|
+
- Updated dependencies [[`644b157`](https://github.com/atlassian-labs/atlaspack/commit/644b157dee72a871acc2d0facf0b87b8eea51956)]:
|
|
312
|
+
- @atlaspack/feature-flags@2.18.2
|
|
313
|
+
|
|
314
|
+
## 3.5.3
|
|
315
|
+
|
|
316
|
+
### Patch Changes
|
|
317
|
+
|
|
318
|
+
- Updated dependencies [[`26aa9c5`](https://github.com/atlassian-labs/atlaspack/commit/26aa9c599d2be45ce1438a74c5fa22f39b9b554b), [`0501255`](https://github.com/atlassian-labs/atlaspack/commit/05012550da35b05ce7d356a8cc29311e7f9afdca)]:
|
|
319
|
+
- @atlaspack/feature-flags@2.18.1
|
|
320
|
+
|
|
321
|
+
## 3.5.2
|
|
322
|
+
|
|
323
|
+
### Patch Changes
|
|
324
|
+
|
|
325
|
+
- Updated dependencies [[`10fbcfb`](https://github.com/atlassian-labs/atlaspack/commit/10fbcfbfa49c7a83da5d7c40983e36e87f524a75), [`85c52d3`](https://github.com/atlassian-labs/atlaspack/commit/85c52d3f7717b3c84a118d18ab98cfbfd71dcbd2)]:
|
|
326
|
+
- @atlaspack/feature-flags@2.18.0
|
|
327
|
+
|
|
328
|
+
## 3.5.1
|
|
329
|
+
|
|
330
|
+
### Patch Changes
|
|
331
|
+
|
|
332
|
+
- Updated dependencies [[`73ea3c4`](https://github.com/atlassian-labs/atlaspack/commit/73ea3c4d85d4401fdd15abcbf988237e890e7ad3), [`b1b3693`](https://github.com/atlassian-labs/atlaspack/commit/b1b369317c66f8a431c170df2ebba4fa5b2e38ef)]:
|
|
333
|
+
- @atlaspack/feature-flags@2.17.0
|
|
334
|
+
|
|
335
|
+
## 3.5.0
|
|
336
|
+
|
|
337
|
+
### Minor Changes
|
|
338
|
+
|
|
339
|
+
- [#600](https://github.com/atlassian-labs/atlaspack/pull/600) [`1b52b99`](https://github.com/atlassian-labs/atlaspack/commit/1b52b99db4298b04c1a6eb0f97994d75a2d436f9) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Add static intersect, size and equals methods to BitSet
|
|
340
|
+
|
|
341
|
+
## 3.4.7
|
|
342
|
+
|
|
343
|
+
### Patch Changes
|
|
344
|
+
|
|
345
|
+
- Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
|
|
346
|
+
- @atlaspack/feature-flags@2.16.0
|
|
347
|
+
|
|
348
|
+
## 3.4.6
|
|
349
|
+
|
|
350
|
+
### Patch Changes
|
|
351
|
+
|
|
352
|
+
- Updated dependencies [[`30f6017`](https://github.com/atlassian-labs/atlaspack/commit/30f60175ba4d272c5fc193973c63bc298584775b)]:
|
|
353
|
+
- @atlaspack/feature-flags@2.15.1
|
|
354
|
+
|
|
355
|
+
## 3.4.5
|
|
356
|
+
|
|
357
|
+
### Patch Changes
|
|
358
|
+
|
|
359
|
+
- Updated dependencies [[`a1773d2`](https://github.com/atlassian-labs/atlaspack/commit/a1773d2a62d0ef7805ac7524621dcabcc1afe929)]:
|
|
360
|
+
- @atlaspack/feature-flags@2.15.0
|
|
361
|
+
|
|
362
|
+
## 3.4.4
|
|
363
|
+
|
|
364
|
+
### Patch Changes
|
|
365
|
+
|
|
366
|
+
- Updated dependencies [[`e0f5337`](https://github.com/atlassian-labs/atlaspack/commit/e0f533757bd1019dbd108a04952c87da15286e09)]:
|
|
367
|
+
- @atlaspack/feature-flags@2.14.4
|
|
368
|
+
|
|
369
|
+
## 3.4.3
|
|
370
|
+
|
|
371
|
+
### Patch Changes
|
|
372
|
+
|
|
373
|
+
- Updated dependencies [[`11d6f16`](https://github.com/atlassian-labs/atlaspack/commit/11d6f16b6397dee2f217167e5c98b39edb63f7a7)]:
|
|
374
|
+
- @atlaspack/feature-flags@2.14.3
|
|
375
|
+
|
|
376
|
+
## 3.4.2
|
|
377
|
+
|
|
378
|
+
### Patch Changes
|
|
379
|
+
|
|
380
|
+
- Updated dependencies [[`9b85d3e`](https://github.com/atlassian-labs/atlaspack/commit/9b85d3e645b10bd027eed2304afc970a5ba40062), [`17b9579`](https://github.com/atlassian-labs/atlaspack/commit/17b9579484eced0ed8f23e2aba6d23b3c7238c39), [`8f4e6c1`](https://github.com/atlassian-labs/atlaspack/commit/8f4e6c1b0e7c1fd48624afda48c1dcc599f1460f)]:
|
|
381
|
+
- @atlaspack/feature-flags@2.14.2
|
|
382
|
+
|
|
3
383
|
## 3.4.1
|
|
4
384
|
|
|
5
385
|
### Patch Changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* BitSets are primarily used for performance reasons, so we want to be able to
|
|
3
|
+
* validate that changes we make to it are performace improvements.
|
|
4
|
+
*
|
|
5
|
+
* This file exists as a ready-made playground for benchmarking changes you may
|
|
6
|
+
* want to make to the BitSet implementation.
|
|
7
|
+
*
|
|
8
|
+
* Run with `yarn workspace @atlaspack/graph benchmark` from the root
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
// Needed to make Flow work in the benchmarks
|
|
12
|
+
require('@atlaspack/babel-register');
|
|
13
|
+
|
|
14
|
+
const {BitSet} = require('../src/BitSet.js');
|
|
15
|
+
const b = require('benny');
|
|
16
|
+
|
|
17
|
+
function createBitSetWithEntries(capacity, entries) {
|
|
18
|
+
let bitSet = new BitSet(capacity);
|
|
19
|
+
for (const index of entries) {
|
|
20
|
+
bitSet.add(index);
|
|
21
|
+
}
|
|
22
|
+
return bitSet;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
let bundleIndices = [4334, 348, 2145, 480, 747, 1446, 326, 2791, 2658, 1334];
|
|
26
|
+
|
|
27
|
+
let bundleBitSet = createBitSetWithEntries(5000, bundleIndices);
|
|
28
|
+
|
|
29
|
+
b.suite(
|
|
30
|
+
'BitSet - size',
|
|
31
|
+
b.add('Control', () => {
|
|
32
|
+
bundleBitSet.size();
|
|
33
|
+
}),
|
|
34
|
+
b.configure({minSamples: 100}),
|
|
35
|
+
b.cycle(),
|
|
36
|
+
b.complete(),
|
|
37
|
+
);
|