@atlaskit/form 14.3.1 → 14.3.2

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,13 @@
1
1
  # @atlaskit/form
2
2
 
3
+ ## 14.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
8
+ Internal refactors to remove unused variables. No functional or public changes.
9
+ - Updated dependencies
10
+
3
11
  ## 14.3.1
4
12
 
5
13
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  jest.autoMockOff();
2
2
 
3
- import transformer from '../not-yet-migrate-to-simplified-form';
3
+ import transformer from '../migrate-to-simplified-form';
4
4
 
5
5
  const defineInlineTest = require('jscodeshift/dist/testUtils').defineInlineTest;
6
6
 
@@ -98,7 +98,7 @@ const migrateDataTestIdToTestIdProp = (j: JSCodeshift, collection: Collection<an
98
98
  let dataTestIdAttr: any = null;
99
99
  let dataTestIdValue: any = null;
100
100
 
101
- htmlForm.openingElement.attributes?.forEach((attr, index) => {
101
+ htmlForm.openingElement.attributes?.forEach((attr) => {
102
102
  // Find data-testid attribute
103
103
  if (
104
104
  attr.type === 'JSXAttribute' &&
@@ -83,7 +83,7 @@ const generateFeatureFlag = (filePath: string): string => {
83
83
  const flag = `platform-design_system_team-form--${suffix}`;
84
84
  return flag.length > 50 ? flag.substring(0, 50) : flag;
85
85
  }
86
- } catch (e) {
86
+ } catch {
87
87
  // Continue searching if JSON parsing fails
88
88
  }
89
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/form",
3
- "version": "14.3.1",
3
+ "version": "14.3.2",
4
4
  "description": "A form allows users to input information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,8 +30,8 @@
30
30
  "@atlaskit/heading": "^5.2.0",
31
31
  "@atlaskit/icon": "^29.0.0",
32
32
  "@atlaskit/platform-feature-flags": "^1.1.0",
33
- "@atlaskit/primitives": "^16.3.0",
34
- "@atlaskit/tokens": "^8.3.0",
33
+ "@atlaskit/primitives": "^16.4.0",
34
+ "@atlaskit/tokens": "^8.4.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "final-form": "^4.20.3",
37
37
  "final-form-focus": "^1.1.2",