@atlaspack/reporter-bundle-analyzer 2.14.5-canary.172 → 2.14.5-canary.173
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.
|
@@ -123,7 +123,6 @@ async function getBundleNode(bundle, options) {
|
|
|
123
123
|
let map = dirMap;
|
|
124
124
|
for (let dir of dirs) {
|
|
125
125
|
(0, _assert().default)(map instanceof _utils().DefaultMap);
|
|
126
|
-
// @ts-expect-error TS2322
|
|
127
126
|
map = map.get(dir);
|
|
128
127
|
}
|
|
129
128
|
(0, _assert().default)(map instanceof _utils().DefaultMap);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/reporter-bundle-analyzer",
|
|
3
|
-
"version": "2.14.5-canary.
|
|
3
|
+
"version": "2.14.5-canary.173+f93000336",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/plugin": "2.14.5-canary.
|
|
20
|
-
"@atlaspack/utils": "2.14.5-canary.
|
|
19
|
+
"@atlaspack/plugin": "2.14.5-canary.173+f93000336",
|
|
20
|
+
"@atlaspack/utils": "2.14.5-canary.173+f93000336",
|
|
21
21
|
"nullthrows": "^1.1.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@atlaspack/types": "2.14.5-canary.
|
|
24
|
+
"@atlaspack/types": "2.14.5-canary.173+f93000336"
|
|
25
25
|
},
|
|
26
26
|
"type": "commonjs",
|
|
27
27
|
"scripts": {
|
|
28
28
|
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
29
29
|
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "f930003364fdc31e5487520ebe256f1a9389f579"
|
|
32
32
|
}
|
|
@@ -128,10 +128,9 @@ async function getBundleNode(bundle: PackagedBundle, options: PluginOptions) {
|
|
|
128
128
|
let dirs = parts.slice(0, parts.length - 1);
|
|
129
129
|
let basename = path.basename(asset.filePath);
|
|
130
130
|
|
|
131
|
-
let map = dirMap;
|
|
131
|
+
let map: File | DirMap = dirMap;
|
|
132
132
|
for (let dir of dirs) {
|
|
133
133
|
invariant(map instanceof DefaultMap);
|
|
134
|
-
// @ts-expect-error TS2322
|
|
135
134
|
map = map.get(dir);
|
|
136
135
|
}
|
|
137
136
|
|