@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-bundle-size-checker",
3
- "version": "1.0.9-canary.29",
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": "79ad58df711429581fc497ec6344e9c16c9f7de5",
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';
@@ -2,8 +2,8 @@
2
2
  * Utility to load the bundle-size-checker configuration
3
3
  */
4
4
 
5
- import fs from 'fs';
6
- import path from 'path';
5
+ import fs from 'node:fs';
6
+ import path from 'node:path';
7
7
  import envCi from 'env-ci';
8
8
 
9
9
  /**
@@ -1,4 +1,4 @@
1
- import fs from 'fs';
1
+ import fs from 'node:fs';
2
2
  import { S3Client, PutObjectCommand, PutObjectTaggingCommand } from '@aws-sdk/client-s3';
3
3
  import { execa } from 'execa';
4
4
  import { fromEnv } from '@aws-sdk/credential-providers';
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