Skip to content

build: bump chalk from 2.4.2 to 4.1.0 #21248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion integration/size-test/check-size.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* amount, the script will fail with a non-zero exit code.
*/

import chalk from 'chalk';
import * as chalk from 'chalk';
import {readFileSync, statSync, writeFileSync} from 'fs';
import {parse, stringify} from 'yaml';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"autoprefixer": "^6.7.6",
"axe-webdriverjs": "^1.1.1",
"browser-sync": "^2.26.7",
"chalk": "^2.4.2",
"chalk": "^4.1.0",
"codelyzer": "^6.0.0-next.2",
"conventional-changelog": "^3.0.5",
"dgeni": "^0.4.11",
Expand Down
2 changes: 1 addition & 1 deletion scripts/breaking-changes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {join, relative} from 'path';
import {readFileSync} from 'fs';
import chalk from 'chalk';
import * as chalk from 'chalk';
import * as ts from 'typescript';
import * as tsutils from 'tsutils';

Expand Down
2 changes: 1 addition & 1 deletion scripts/check-mdc-exports.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {join} from 'path';
import {readdirSync, existsSync} from 'fs';
import * as ts from 'typescript';
import chalk from 'chalk';
import * as chalk from 'chalk';
import {config} from './check-mdc-exports-config';

// Script which ensures that a particular MDC package exports all of the same symbols as its
Expand Down
2 changes: 1 addition & 1 deletion scripts/check-mdc-tests.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {readdirSync, readFileSync} from 'fs';
import {join, basename} from 'path';
import {sync as glob} from 'glob';
import chalk from 'chalk';
import * as chalk from 'chalk';
import * as ts from 'typescript';
import {config} from './check-mdc-tests-config';

Expand Down
2 changes: 1 addition & 1 deletion scripts/check-rollup-globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* be passed to this script to ensure that the rollup globals are up-to-date.
*/

import chalk from 'chalk';
import * as chalk from 'chalk';
import {readFileSync} from 'fs';
import * as minimatch from 'minimatch';
import {join, relative} from 'path';
Expand Down
2 changes: 1 addition & 1 deletion scripts/ownerslint.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {readdirSync, readFileSync, statSync} from 'fs';
import {IMinimatch, Minimatch} from 'minimatch';
import {join} from 'path';
Expand Down
2 changes: 1 addition & 1 deletion tools/package-tools/compile-entry-point.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {join} from 'path';
import {BuildPackage} from './build-package';
import {tsCompile} from './ts-compile';
Expand Down
2 changes: 1 addition & 1 deletion tools/package-tools/ts-compile.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {resolve as resolvePath} from 'path';
import {spawn} from 'child_process';
import chalk from 'chalk';
import * as chalk from 'chalk';

/**
* Spawns a child process that compiles TypeScript using the specified compiler binary.
Expand Down
2 changes: 1 addition & 1 deletion tools/release/base-release-task.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {prompt} from 'inquirer';
import {GitClient} from './git/git-client';
import {Version} from './version-name/parse-version';
Expand Down
2 changes: 1 addition & 1 deletion tools/release/changelog.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {createReadStream, createWriteStream, readFileSync} from 'fs';
import {prompt} from 'inquirer';
import {join} from 'path';
Expand Down
2 changes: 1 addition & 1 deletion tools/release/check-release-output.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {join} from 'path';
import {checkReleasePackage} from './release-output/check-package';
import {releasePackages} from './release-output/release-packages';
Expand Down
2 changes: 1 addition & 1 deletion tools/release/publish-release.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {readFileSync, unlinkSync} from 'fs';
import {homedir} from 'os';
import {join} from 'path';
Expand Down
2 changes: 1 addition & 1 deletion tools/release/release-output/check-package.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import chalk from 'chalk';
import * as chalk from 'chalk';
import {existsSync} from 'fs';
import {sync as glob} from 'glob';
import {join} from 'path';
Expand Down
2 changes: 1 addition & 1 deletion tools/release/stage-release.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Octokit from '@octokit/rest';
import chalk from 'chalk';
import * as chalk from 'chalk';
import {existsSync, readFileSync, writeFileSync} from 'fs';
import {join} from 'path';
import {BaseReleaseTask} from './base-release-task';
Expand Down
10 changes: 1 addition & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2291,22 +2291,14 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
dependencies:
color-convert "^1.9.0"

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

ansi-styles@^4.1.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.2.0.tgz#5681f0dcf7ae5880a7841d8831c4724ed9cc0172"
integrity sha512-7kFQgnEaMdRtwf6uSfUnVr9gSGC7faurn+J/Mv90/W+iTtN0405/nLdopfMWwchyxhbGYl6TC4Sccn9TUkGAgg==
dependencies:
"@types/color-name" "^1.1.1"
color-convert "^2.0.1"

[email protected], ansi-wrap@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"
Expand Down