Skip to content

Commit

Permalink
fix(cli): breaks due to faulty version of colors (#18324) (#18328)
Browse files Browse the repository at this point in the history
Forward merging #18324 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*


----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
  • Loading branch information
iliapolo committed Jan 9, 2022
1 parent 1fd426d commit b851bc3
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -32,6 +32,7 @@
"typescript": "~3.9.10"
},
"resolutions": {
"colors": "1.4.0",
"string-width": "^4.2.3"
},
"repository": {
Expand Down Expand Up @@ -180,4 +181,4 @@
"dependencies": {
"string-width": "^4.2.3"
}
}
}
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-cloudtrail/package.json
Expand Up @@ -80,7 +80,7 @@
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^27.0.3",
"aws-sdk": "^2.848.0",
"colors": "^1.4.0",
"colors": "1.4.0",
"jest": "^27.4.5"
},
"dependencies": {
Expand Down Expand Up @@ -122,4 +122,4 @@
"publishConfig": {
"tag": "latest"
}
}
}
4 changes: 2 additions & 2 deletions packages/@aws-cdk/cloudformation-diff/package.json
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@aws-cdk/cfnspec": "0.0.0",
"@types/node": "^10.17.60",
"colors": "^1.4.0",
"colors": "1.4.0",
"diff": "^5.0.0",
"fast-deep-equal": "^3.1.3",
"string-width": "^4.2.3",
Expand Down Expand Up @@ -58,4 +58,4 @@
"publishConfig": {
"tag": "latest"
}
}
}
4 changes: 2 additions & 2 deletions packages/aws-cdk/package.json
Expand Up @@ -75,7 +75,7 @@
"camelcase": "^6.2.1",
"cdk-assets": "0.0.0",
"chokidar": "^3.5.2",
"colors": "^1.4.0",
"colors": "1.4.0",
"decamelize": "^5.0.1",
"fs-extra": "^9.1.0",
"glob": "^7.2.0",
Expand Down Expand Up @@ -122,4 +122,4 @@
"publishConfig": {
"tag": "latest"
}
}
}
4 changes: 2 additions & 2 deletions packages/awslint/package.json
Expand Up @@ -20,7 +20,7 @@
"dependencies": {
"@jsii/spec": "^1.50.0",
"camelcase": "^6.2.1",
"colors": "^1.4.0",
"colors": "1.4.0",
"fs-extra": "^9.1.0",
"jsii-reflect": "^1.50.0",
"yargs": "^16.2.0"
Expand Down Expand Up @@ -71,4 +71,4 @@
"publishConfig": {
"tag": "latest"
}
}
}
4 changes: 2 additions & 2 deletions tools/@aws-cdk/cdk-build-tools/package.json
Expand Up @@ -47,7 +47,7 @@
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"awslint": "0.0.0",
"colors": "^1.4.0",
"colors": "1.4.0",
"eslint": "^7.32.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^2.5.0",
Expand Down Expand Up @@ -82,4 +82,4 @@
"ubergen": {
"exclude": true
}
}
}
9 changes: 6 additions & 3 deletions tools/@aws-cdk/pkglint/package.json
Expand Up @@ -54,15 +54,18 @@
"typescript": "~3.9.10"
},
"nozem": {
"ostools": ["chmod", "cp"]
"ostools": [
"chmod",
"cp"
]
},
"dependencies": {
"case": "^1.6.3",
"colors": "^1.4.0",
"colors": "1.4.0",
"fs-extra": "^9.1.0",
"glob": "^7.2.0",
"npm-bundled": "^1.1.2",
"semver": "^7.3.5",
"yargs": "^16.2.0"
}
}
}
2 changes: 1 addition & 1 deletion yarn.lock
Expand Up @@ -2835,7 +2835,7 @@ color-name@~1.1.4:
resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==

colors@^1.4.0:
colors@1.4.0, colors@^1.4.0:
version "1.4.0"
resolved "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78"
integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==
Expand Down

0 comments on commit b851bc3

Please sign in to comment.