@atlaskit/section-message 6.3.3 → 6.3.4

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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/section-message
2
2
 
3
+ ## 6.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 6.3.3
4
10
 
5
11
  ### Patch Changes
@@ -52,13 +52,12 @@ export const changeAppearanceProp = (
52
52
  else if (expression.type !== 'JSXEmptyExpression') {
53
53
  const mappingValue = j.memberExpression(
54
54
  j.objectExpression(
55
- Object.entries(
56
- APPEARANCE_OLD_TO_NEW_MAPPING,
57
- ).map(([key, value]) =>
58
- j.objectProperty(
59
- j.identifier(key),
60
- j.stringLiteral(value),
61
- ),
55
+ Object.entries(APPEARANCE_OLD_TO_NEW_MAPPING).map(
56
+ ([key, value]) =>
57
+ j.objectProperty(
58
+ j.identifier(key),
59
+ j.stringLiteral(value),
60
+ ),
62
61
  ),
63
62
  ),
64
63
  expression,
@@ -78,11 +78,8 @@ const transferLinkComponentProp = (
78
78
  j: core.JSCodeshift,
79
79
  element: ASTPath<JSXElement>,
80
80
  ) => {
81
- const linkComponentAttributeCollection: Collection<JSXAttribute> = getJSXAttributesByName(
82
- j,
83
- element,
84
- LINK_COMPONENT_PROP_NAME,
85
- );
81
+ const linkComponentAttributeCollection: Collection<JSXAttribute> =
82
+ getJSXAttributesByName(j, element, LINK_COMPONENT_PROP_NAME);
86
83
  const linkComponentAttribute =
87
84
  linkComponentAttributeCollection.length === 1
88
85
  ? linkComponentAttributeCollection.paths()[0]
@@ -36,10 +36,8 @@ export function getDynamicImportName(
36
36
  j(variableDeclaratorPath)
37
37
  .find(j.CallExpression)
38
38
  .filter((callExpressionPath) => {
39
- const {
40
- callee,
41
- arguments: callExpressionArguments,
42
- } = callExpressionPath.node;
39
+ const { callee, arguments: callExpressionArguments } =
40
+ callExpressionPath.node;
43
41
 
44
42
  return !!(
45
43
  isCallExpressionCalleeImportType(callee) &&
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.3.3",
3
+ "version": "6.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.3.3",
3
+ "version": "6.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.3.3",
3
+ "version": "6.3.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/section-message",
3
- "version": "6.3.3",
3
+ "version": "6.3.4",
4
4
  "description": "A section message is used to alert users to a particular section of the screen.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -33,7 +33,7 @@
33
33
  "@atlaskit/button": "^16.4.0",
34
34
  "@atlaskit/codemod-utils": "^4.1.0",
35
35
  "@atlaskit/ds-explorations": "^1.2.0",
36
- "@atlaskit/heading": "^0.1.13",
36
+ "@atlaskit/heading": "^1.0.0",
37
37
  "@atlaskit/icon": "^21.11.0",
38
38
  "@atlaskit/theme": "^12.2.0",
39
39
  "@atlaskit/tokens": "^0.10.0",