@atlaspack/utils 2.14.5-canary.99 → 2.14.5-dev.1c70d50f9.99
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 +0 -7
- package/lib/index.js +0 -26
- package/lib/index.js.map +1 -1
- package/package.json +8 -8
- package/src/index.js +0 -1
- package/src/debug-tools.js +0 -45
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
# @atlaspack/utils
|
|
2
2
|
|
|
3
|
-
## 2.15.3
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies [[`5ded263`](https://github.com/atlassian-labs/atlaspack/commit/5ded263c7f11b866e8885b81c73e20dd060b25be)]:
|
|
8
|
-
- @atlaspack/feature-flags@2.18.3
|
|
9
|
-
|
|
10
3
|
## 2.15.2
|
|
11
4
|
|
|
12
5
|
### Patch Changes
|
package/lib/index.js
CHANGED
|
@@ -3453,7 +3453,6 @@ $parcel$export(module.exports, "resolveConfig", () => $cc7044c885d3b7c6$export$7
|
|
|
3453
3453
|
$parcel$export(module.exports, "resolveConfigSync", () => $cc7044c885d3b7c6$export$d175e66e9fcd7b75);
|
|
3454
3454
|
$parcel$export(module.exports, "loadConfig", () => $cc7044c885d3b7c6$export$c1a4367d4847eb06);
|
|
3455
3455
|
$parcel$export(module.exports, "readConfig", () => $cc7044c885d3b7c6$export$f5327b421858c8cd);
|
|
3456
|
-
$parcel$export(module.exports, "debugTools", () => $ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a);
|
|
3457
3456
|
$parcel$export(module.exports, "DefaultMap", () => $55fec6b523c8f068$export$674cd7dcb504ac5c);
|
|
3458
3457
|
$parcel$export(module.exports, "DefaultWeakMap", () => $55fec6b523c8f068$export$4924f7ffab2ae440);
|
|
3459
3458
|
$parcel$export(module.exports, "makeDeferredWithPromise", () => $355246d1b0980665$export$93f345b3f0dd27e7);
|
|
@@ -36739,31 +36738,6 @@ function $2ee306eb47a905ca$export$dd7d5a65a6b6780f(a, b) {
|
|
|
36739
36738
|
|
|
36740
36739
|
|
|
36741
36740
|
|
|
36742
|
-
/*
|
|
36743
|
-
* These tools are intended for Atlaspack developers, to provide extra utilities
|
|
36744
|
-
* to make debugging Atlaspack issues more straightforward.
|
|
36745
|
-
*
|
|
36746
|
-
* To enable a tool, set the `ATLASPACK_DEBUG_TOOLS` environment variable to a
|
|
36747
|
-
* comma-separated list of tool names. For example:
|
|
36748
|
-
* `ATLASPACK_DEBUG_TOOLS="asset-file-names-in-output,simple-cli-reporter"`
|
|
36749
|
-
*
|
|
36750
|
-
* You can enable all tools by setting `ATLASPACK_DEBUG_TOOLS=all`.
|
|
36751
|
-
*/ let $ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a = {
|
|
36752
|
-
'asset-file-names-in-output': false,
|
|
36753
|
-
'simple-cli-reporter': false
|
|
36754
|
-
};
|
|
36755
|
-
const $ffdf10a29a6c5be4$var$envVarValue = process.env.ATLASPACK_DEBUG_TOOLS ?? '';
|
|
36756
|
-
for (let tool of $ffdf10a29a6c5be4$var$envVarValue.split(',')){
|
|
36757
|
-
tool = tool.trim();
|
|
36758
|
-
if (tool === 'all') {
|
|
36759
|
-
for(let key in $ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a)$ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a[key] = true;
|
|
36760
|
-
break;
|
|
36761
|
-
} else if ($ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a.hasOwnProperty(tool)) $ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a[tool] = true;
|
|
36762
|
-
else if (tool === '') continue;
|
|
36763
|
-
else throw new Error(`Invalid debug tool option: ${tool}. Valid options are: ${Object.keys($ffdf10a29a6c5be4$export$1e74ad2a9c1ed72a).join(', ')}`);
|
|
36764
|
-
}
|
|
36765
|
-
|
|
36766
|
-
|
|
36767
36741
|
class $55fec6b523c8f068$export$674cd7dcb504ac5c extends Map {
|
|
36768
36742
|
constructor(getDefault, entries){
|
|
36769
36743
|
super(entries);
|