Skip to content

Commit 75d9ac0

Browse files
build: bump chalk from 2.4.2 to 4.1.0 (#21248)
* build: bump chalk from 2.4.2 to 4.1.0 Bumps [chalk](https://github.com/chalk/chalk) from 2.4.2 to 4.1.0. - [Release notes](https://github.com/chalk/chalk/releases) - [Commits](chalk/chalk@v2.4.2...v4.1.0) Signed-off-by: dependabot[bot] <[email protected]> * build: update import statements for chalk Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wagnermaciel <[email protected]>
1 parent 07bb027 commit 75d9ac0

16 files changed

+16
-24
lines changed

integration/size-test/check-size.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* amount, the script will fail with a non-zero exit code.
55
*/
66

7-
import chalk from 'chalk';
7+
import * as chalk from 'chalk';
88
import {readFileSync, statSync, writeFileSync} from 'fs';
99
import {parse, stringify} from 'yaml';
1010

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"autoprefixer": "^6.7.6",
115115
"axe-webdriverjs": "^1.1.1",
116116
"browser-sync": "^2.26.7",
117-
"chalk": "^2.4.2",
117+
"chalk": "^4.1.0",
118118
"codelyzer": "^6.0.0-next.2",
119119
"conventional-changelog": "^3.0.5",
120120
"dgeni": "^0.4.11",

scripts/breaking-changes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {join, relative} from 'path';
22
import {readFileSync} from 'fs';
3-
import chalk from 'chalk';
3+
import * as chalk from 'chalk';
44
import * as ts from 'typescript';
55
import * as tsutils from 'tsutils';
66

scripts/check-mdc-exports.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {join} from 'path';
22
import {readdirSync, existsSync} from 'fs';
33
import * as ts from 'typescript';
4-
import chalk from 'chalk';
4+
import * as chalk from 'chalk';
55
import {config} from './check-mdc-exports-config';
66

77
// Script which ensures that a particular MDC package exports all of the same symbols as its

scripts/check-mdc-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {readdirSync, readFileSync} from 'fs';
22
import {join, basename} from 'path';
33
import {sync as glob} from 'glob';
4-
import chalk from 'chalk';
4+
import * as chalk from 'chalk';
55
import * as ts from 'typescript';
66
import {config} from './check-mdc-tests-config';
77

scripts/check-rollup-globals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* be passed to this script to ensure that the rollup globals are up-to-date.
99
*/
1010

11-
import chalk from 'chalk';
11+
import * as chalk from 'chalk';
1212
import {readFileSync} from 'fs';
1313
import * as minimatch from 'minimatch';
1414
import {join, relative} from 'path';

scripts/ownerslint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {readdirSync, readFileSync, statSync} from 'fs';
33
import {IMinimatch, Minimatch} from 'minimatch';
44
import {join} from 'path';

tools/package-tools/compile-entry-point.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {join} from 'path';
33
import {BuildPackage} from './build-package';
44
import {tsCompile} from './ts-compile';

tools/package-tools/ts-compile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {resolve as resolvePath} from 'path';
22
import {spawn} from 'child_process';
3-
import chalk from 'chalk';
3+
import * as chalk from 'chalk';
44

55
/**
66
* Spawns a child process that compiles TypeScript using the specified compiler binary.

tools/release/base-release-task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {prompt} from 'inquirer';
33
import {GitClient} from './git/git-client';
44
import {Version} from './version-name/parse-version';

tools/release/changelog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {createReadStream, createWriteStream, readFileSync} from 'fs';
33
import {prompt} from 'inquirer';
44
import {join} from 'path';

tools/release/check-release-output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {join} from 'path';
33
import {checkReleasePackage} from './release-output/check-package';
44
import {releasePackages} from './release-output/release-packages';

tools/release/publish-release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {readFileSync, unlinkSync} from 'fs';
33
import {homedir} from 'os';
44
import {join} from 'path';

tools/release/release-output/check-package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import chalk from 'chalk';
1+
import * as chalk from 'chalk';
22
import {existsSync} from 'fs';
33
import {sync as glob} from 'glob';
44
import {join} from 'path';

tools/release/stage-release.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as Octokit from '@octokit/rest';
2-
import chalk from 'chalk';
2+
import * as chalk from 'chalk';
33
import {existsSync, readFileSync, writeFileSync} from 'fs';
44
import {join} from 'path';
55
import {BaseReleaseTask} from './base-release-task';

yarn.lock

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,22 +2291,14 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
22912291
dependencies:
22922292
color-convert "^1.9.0"
22932293

2294-
ansi-styles@^4.0.0:
2294+
ansi-styles@^4.0.0, ansi-styles@^4.1.0:
22952295
version "4.2.1"
22962296
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.1.tgz#90ae75c424d008d2624c5bf29ead3177ebfcf359"
22972297
integrity sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==
22982298
dependencies:
22992299
"@types/color-name" "^1.1.1"
23002300
color-convert "^2.0.1"
23012301

2302-
ansi-styles@^4.1.0:
2303-
version "4.2.0"
2304-
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.0.tgz#5681f0dcf7ae5880a7841d8831c4724ed9cc0172"
2305-
integrity sha512-7kFQgnEaMdRtwf6uSfUnVr9gSGC7faurn+J/Mv90/W+iTtN0405/nLdopfMWwchyxhbGYl6TC4Sccn9TUkGAgg==
2306-
dependencies:
2307-
"@types/color-name" "^1.1.1"
2308-
color-convert "^2.0.1"
2309-
23102302
[email protected], ansi-wrap@^0.1.0:
23112303
version "0.1.0"
23122304
resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"

0 commit comments

Comments
 (0)