@atlaspack/namer-default 2.12.1-dev.3450 → 2.12.1-dev.3478

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/namer-default",
3
- "version": "2.12.1-dev.3450+58845ef87",
3
+ "version": "2.12.1-dev.3478+5fd2da535",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,12 +13,12 @@
13
13
  "source": "src/DefaultNamer.js",
14
14
  "engines": {
15
15
  "node": ">= 16.0.0",
16
- "parcel": "^2.12.1-dev.3450+58845ef87"
16
+ "parcel": "^2.12.1-dev.3478+5fd2da535"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/diagnostic": "2.12.1-dev.3450+58845ef87",
20
- "@atlaspack/plugin": "2.12.1-dev.3450+58845ef87",
19
+ "@atlaspack/diagnostic": "2.12.1-dev.3478+5fd2da535",
20
+ "@atlaspack/plugin": "2.12.1-dev.3478+5fd2da535",
21
21
  "nullthrows": "^1.1.1"
22
22
  },
23
- "gitHead": "58845ef87446fcedb7d7d8876440c64184645cbb"
23
+ "gitHead": "5fd2da535ecbe096d57e03aec15e80bb1d7601f7"
24
24
  }
@@ -26,7 +26,7 @@ export default (new Namer({
26
26
 
27
27
  if (bundle.needsStableName) {
28
28
  let entryBundlesOfType = bundleGroupBundles.filter(
29
- b => b.needsStableName && b.type === bundle.type,
29
+ (b) => b.needsStableName && b.type === bundle.type,
30
30
  );
31
31
  assert(
32
32
  entryBundlesOfType.length === 1,
@@ -36,8 +36,8 @@ export default (new Namer({
36
36
  }
37
37
 
38
38
  let mainBundle = nullthrows(
39
- bundleGroupBundles.find(b =>
40
- b.getEntryAssets().some(a => a.id === bundleGroup.entryAssetId),
39
+ bundleGroupBundles.find((b) =>
40
+ b.getEntryAssets().some((a) => a.id === bundleGroup.entryAssetId),
41
41
  ),
42
42
  );
43
43
 
@@ -111,7 +111,7 @@ function nameFromContent(
111
111
  entryRoot: FilePath,
112
112
  ): string {
113
113
  let entryFilePath = nullthrows(
114
- bundle.getEntryAssets().find(a => a.id === entryAssetId),
114
+ bundle.getEntryAssets().find((a) => a.id === entryAssetId),
115
115
  ).filePath;
116
116
  let name = basenameWithoutExtension(entryFilePath);
117
117