@mui/internal-bundle-size-checker 1.0.9-canary.29 → 1.0.9-canary.30
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/builder.js +4 -4
- package/src/cli.js +3 -3
- package/src/configLoader.js +2 -2
- package/src/uploadSnapshot.js +1 -1
- package/src/worker.js +4 -4
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.30",
|
|
4
4
|
"description": "Bundle size checker for MUI packages.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@types/micromatch": "^4.0.9",
|
|
39
39
|
"@types/yargs": "^17.0.33"
|
|
40
40
|
},
|
|
41
|
-
"gitSha": "
|
|
41
|
+
"gitSha": "c14497c1ca9820fb2df4dd32deb013d50d7b9728",
|
|
42
42
|
"scripts": {
|
|
43
43
|
"typescript": "tsc -p tsconfig.json",
|
|
44
44
|
"test": "pnpm -w test --project @mui/internal-bundle-size-checker"
|
package/src/builder.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import path from 'path';
|
|
2
|
-
import fs from 'fs/promises';
|
|
3
|
-
import * as zlib from 'zlib';
|
|
4
|
-
import { promisify } from 'util';
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import fs from 'node:fs/promises';
|
|
3
|
+
import * as zlib from 'node:zlib';
|
|
4
|
+
import { promisify } from 'node:util';
|
|
5
5
|
import { build, transformWithEsbuild } from 'vite';
|
|
6
6
|
import { visualizer } from 'rollup-plugin-visualizer';
|
|
7
7
|
|
package/src/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
|
|
3
|
-
import path from 'path';
|
|
4
|
-
import os from 'os';
|
|
5
|
-
import fs from 'fs/promises';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import os from 'node:os';
|
|
5
|
+
import fs from 'node:fs/promises';
|
|
6
6
|
import yargs from 'yargs';
|
|
7
7
|
import { Piscina } from 'piscina';
|
|
8
8
|
import micromatch from 'micromatch';
|
package/src/configLoader.js
CHANGED
package/src/uploadSnapshot.js
CHANGED
package/src/worker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { pathToFileURL } from 'url';
|
|
2
|
-
import path from 'path';
|
|
3
|
-
import fs from 'fs/promises';
|
|
1
|
+
import { pathToFileURL } from 'node:url';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import fs from 'node:fs/promises';
|
|
4
4
|
import chalk from 'chalk';
|
|
5
|
-
import * as module from 'module';
|
|
5
|
+
import * as module from 'node:module';
|
|
6
6
|
import { byteSizeFormatter } from './formatUtils.js';
|
|
7
7
|
import { getBundleSizes } from './builder.js';
|
|
8
8
|
|