@atlaspack/graph 3.4.6 → 3.4.7
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 +7 -0
- package/package.json +2 -2
- package/test/Graph.test.js +26 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaspack/graph
|
|
2
2
|
|
|
3
|
+
## 3.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`209692f`](https://github.com/atlassian-labs/atlaspack/commit/209692ffb11eae103a0d65c5e1118a5aa1625818), [`f4da1e1`](https://github.com/atlassian-labs/atlaspack/commit/f4da1e120e73eeb5e8b8927f05e88f04d6148c7b)]:
|
|
8
|
+
- @atlaspack/feature-flags@2.16.0
|
|
9
|
+
|
|
3
10
|
## 3.4.6
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/graph",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7",
|
|
4
4
|
"description": "Blazing fast, zero configuration web application bundler",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/feature-flags": "2.
|
|
19
|
+
"@atlaspack/feature-flags": "2.16.0",
|
|
20
20
|
"nullthrows": "^1.1.1"
|
|
21
21
|
},
|
|
22
22
|
"type": "commonjs"
|
package/test/Graph.test.js
CHANGED
|
@@ -528,12 +528,17 @@ describe('Graph', () => {
|
|
|
528
528
|
getChildren,
|
|
529
529
|
});
|
|
530
530
|
|
|
531
|
-
assert.deepEqual(
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
[
|
|
536
|
-
|
|
531
|
+
assert.deepEqual(
|
|
532
|
+
contexts.map((values) =>
|
|
533
|
+
values.map((v) => (v != null ? v : undefined)),
|
|
534
|
+
),
|
|
535
|
+
[
|
|
536
|
+
[0, undefined],
|
|
537
|
+
[1, 'node-0-created-context'],
|
|
538
|
+
[2, 'node-1-created-context'],
|
|
539
|
+
[3, 'node-2-created-context'],
|
|
540
|
+
],
|
|
541
|
+
);
|
|
537
542
|
assert.equal(result, undefined);
|
|
538
543
|
});
|
|
539
544
|
});
|
|
@@ -572,16 +577,21 @@ describe('Graph', () => {
|
|
|
572
577
|
getChildren,
|
|
573
578
|
});
|
|
574
579
|
|
|
575
|
-
assert.deepEqual(
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
[
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
580
|
+
assert.deepEqual(
|
|
581
|
+
contexts.map((values) =>
|
|
582
|
+
values.map((v) => (v != null ? v : undefined)),
|
|
583
|
+
),
|
|
584
|
+
[
|
|
585
|
+
[0, undefined],
|
|
586
|
+
[1, 'node-0-created-context'],
|
|
587
|
+
[2, 'node-1-created-context'],
|
|
588
|
+
['exit', 2, 'node-2-created-context'],
|
|
589
|
+
[3, 'node-1-created-context'],
|
|
590
|
+
['exit', 3, 'node-3-created-context'],
|
|
591
|
+
['exit', 1, 'node-1-created-context'],
|
|
592
|
+
['exit', 0, 'node-0-created-context'],
|
|
593
|
+
],
|
|
594
|
+
);
|
|
585
595
|
assert.equal(result, undefined);
|
|
586
596
|
});
|
|
587
597
|
});
|