Skip to content

Fix regression with parcel name - #825

Merged
internettrans merged 2 commits into
6.0from
parcel-name
Jul 6, 2021
Merged

internettrans merged 2 commits into
6.0from
parcel-name

Conversation

@internettrans

Copy link
Copy Markdown
Member

This fixes a bug caused by 20fb98a#diff-f6a2de459a33bb86856679dc94eae0ec89e16e8856edea2743fd0e3e781c2337 where name was not being defined before it was being used.

@internettrans
internettrans changed the base branch from master to 6.0 July 5, 2021 19:16
Comment thread src/parcels/mount-parcel.js Outdated
}

const id = parcelCount++;
const name = config.name || `parcel-${id}`;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice that name is referenced on line 62, but wasn't defined

@github-actions

github-actions Bot commented Jul 5, 2021 •

Copy link
Copy Markdown

File size impact

dist (+256 bytes)
Overall impact on dist files size
Diff 6.0 after merge
+256 326,749 327,005
Detailed impact on dist files size
File Diff 6.0 after merge Event
lib/es2015/single-spa.dev.js +39 55,303 55,342 changed
lib/es2015/single-spa.min.js +14 18,398 18,412 changed
lib/esm/single-spa.dev.js +47 59,038 59,085 changed
lib/esm/single-spa.min.js +18 20,542 20,560 changed
lib/system/single-spa.dev.js +53 68,816 68,869 changed
lib/system/single-spa.min.js +18 20,569 20,587 changed
lib/umd/single-spa.dev.js +49 63,280 63,329 changed
lib/umd/single-spa.min.js +18 20,803 20,821 changed
Impact on dist files cache

8 files in you users cache are now outdated because their content have changed.

Bytes outdated
326,749
Generated by file size impact during file-size-impact#1002153167

@internettrans
internettrans merged commit ba0553a into 6.0 Jul 6, 2021
@internettrans
internettrans deleted the parcel-name branch July 6, 2021 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants