Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bump chalk to ^5.1.2 (#34323)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michał Dudak <michal@dudak.me>
  • Loading branch information
renovate[bot] and michaldudak committed Nov 15, 2022
1 parent c2da6de commit 35f1e67
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -119,7 +119,7 @@
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chai": "^4.3.6",
"chai-dom": "^1.11.0",
"chalk": "^4.1.2",
"chalk": "^5.1.2",
"compression-webpack-plugin": "^10.0.0",
"concurrently": "^7.5.0",
"confusing-browser-globals": "^1.0.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-icons-material/package.json
Expand Up @@ -36,7 +36,7 @@
"build:node": "node ../../scripts/build.mjs node --largeFiles --outDir lib",
"build:stable": "node ../../scripts/build.mjs stable --largeFiles --outDir lib",
"build:copy-files": "node ../../scripts/copyFiles.mjs",
"build:typings": "babel-node --config-file ../../babel.config.js ./scripts/create-typings.js",
"build:typings": "node ./scripts/create-typings.mjs",
"prebuild": "rimraf build",
"release": "yarn build && npm publish build",
"src:download": "cd ../../ && babel-node --config-file ./babel.config.js packages/mui-icons-material/scripts/download.js",
Expand Down
Expand Up @@ -3,9 +3,12 @@ import path from 'path';
import chalk from 'chalk';
import fse from 'fs-extra';
import glob from 'fast-glob';
import url from 'url';

const SRC_DIR = path.resolve(__dirname, '../lib/esm');
const TARGET_DIR = path.resolve(__dirname, '../build');
const currentDirectory = url.fileURLToPath(new URL('.', import.meta.url));

const SRC_DIR = path.resolve(currentDirectory, '../lib/esm');
const TARGET_DIR = path.resolve(currentDirectory, '../build');

function normalizeFileName(file) {
return path.parse(file).name;
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Expand Up @@ -5508,6 +5508,11 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2:
ansi-styles "^4.1.0"
supports-color "^7.1.0"

chalk@^5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.1.2.tgz#d957f370038b75ac572471e83be4c5ca9f8e8c45"
integrity sha512-E5CkT4jWURs1Vy5qGJye+XwCkNj7Od3Af7CP6SujMetSMkLs8Do2RWJK5yx1wamHV/op8Rz+9rltjaTQWDnEFQ==

chance@^1.1.8:
version "1.1.8"
resolved "https://registry.yarnpkg.com/chance/-/chance-1.1.8.tgz#5d6c2b78c9170bf6eb9df7acdda04363085be909"
Expand Down

0 comments on commit 35f1e67

Please sign in to comment.