@atlaskit/color-picker 5.3.8 → 5.3.9
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/CHANGELOG.md
CHANGED
|
@@ -71,7 +71,7 @@ function updatePopperProps(j: core.JSCodeshift, source: Collection<any>, specifi
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
export default function transformer(file: FileInfo, { jscodeshift: j }: API, options: Options) {
|
|
74
|
+
export default function transformer(file: FileInfo, { jscodeshift: j }: API, options: Options): string {
|
|
75
75
|
const source = j(file.source);
|
|
76
76
|
|
|
77
77
|
// Exit early if not relevant
|
|
@@ -275,7 +275,7 @@ export function addCommentToStartOfFile({
|
|
|
275
275
|
base: Collection<Node>;
|
|
276
276
|
j: core.JSCodeshift;
|
|
277
277
|
message: string;
|
|
278
|
-
}) {
|
|
278
|
+
}): void {
|
|
279
279
|
addCommentBefore({
|
|
280
280
|
j,
|
|
281
281
|
// @ts-ignore
|
|
@@ -292,7 +292,7 @@ export function addCommentBefore({
|
|
|
292
292
|
j: core.JSCodeshift;
|
|
293
293
|
message: string;
|
|
294
294
|
target: Collection<Node>;
|
|
295
|
-
}) {
|
|
295
|
+
}): void {
|
|
296
296
|
const content: string = ` TODO: (from codemod) ${clean(message)} `;
|
|
297
297
|
target.forEach((path) => {
|
|
298
298
|
path.value.comments = path.value.comments || [];
|
|
@@ -314,7 +314,7 @@ export function updateRenderProps(
|
|
|
314
314
|
specifier: string,
|
|
315
315
|
oldProperty: string,
|
|
316
316
|
newProperty: string,
|
|
317
|
-
) {
|
|
317
|
+
): void {
|
|
318
318
|
source.findJSXElements(specifier).forEach((element: ASTPath<JSXElement>) => {
|
|
319
319
|
j(element)
|
|
320
320
|
.find(j.ArrowFunctionExpression)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/color-picker",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.9",
|
|
4
4
|
"description": "Jira Color Picker Component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/select": "^21.8.0",
|
|
36
36
|
"@atlaskit/theme": "^22.0.0",
|
|
37
37
|
"@atlaskit/tokens": "^11.1.0",
|
|
38
|
-
"@atlaskit/tooltip": "^
|
|
38
|
+
"@atlaskit/tooltip": "^21.0.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|
|
40
40
|
"@compiled/react": "^0.20.0",
|
|
41
41
|
"memoize-one": "^6.0.0",
|