@mui/internal-bundle-size-checker 1.0.9-canary.17 → 1.0.9-canary.18
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 +2 -2
- package/src/uploadSnapshot.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-bundle-size-checker",
|
|
3
|
-
"version": "1.0.9-canary.
|
|
3
|
+
"version": "1.0.9-canary.18",
|
|
4
4
|
"description": "Bundle size checker for MUI packages.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
52
52
|
"@types/yargs": "^17.0.33"
|
|
53
53
|
},
|
|
54
|
-
"gitSha": "
|
|
54
|
+
"gitSha": "f2c9828b5cdaed4deb48c54804882c0e315ae42f",
|
|
55
55
|
"scripts": {
|
|
56
56
|
"typescript": "tsc -p tsconfig.json",
|
|
57
57
|
"test": "pnpm -w test --project @mui/internal-bundle-size-checker"
|
package/src/uploadSnapshot.js
CHANGED
|
@@ -20,7 +20,7 @@ async function getCurrentCommitSHA() {
|
|
|
20
20
|
*/
|
|
21
21
|
function sanitizeS3TagString(str) {
|
|
22
22
|
// Replace disallowed characters with underscore
|
|
23
|
-
const safe = str.replace(/[^a-zA-Z0-9
|
|
23
|
+
const safe = str.replace(/[^a-zA-Z0-9 +\-=.:/@]+/g, '_');
|
|
24
24
|
// Truncate to max lengths (256 for value)
|
|
25
25
|
const maxLen = 256;
|
|
26
26
|
return safe.length > maxLen ? safe.substring(0, maxLen) : safe;
|