@atlaskit/tokens 8.4.0 → 8.4.1

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,12 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 8.4.1
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
+
3
10
  ## 8.4.0
4
11
 
5
12
  ### Minor Changes
@@ -239,6 +239,7 @@ function parseCSSPropertyName(cssString: string) {
239
239
  };
240
240
  }
241
241
 
242
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
242
243
  export default async function transformer(file: FileInfo, api: API, debug = false) {
243
244
  const j = api.jscodeshift;
244
245
  const source = j(file.source);
@@ -54,7 +54,7 @@ var themeStringToObject = exports.themeStringToObject = function themeStringToOb
54
54
  if (kind === customThemeOptions) {
55
55
  try {
56
56
  themeObject[customThemeOptions] = JSON.parse(id);
57
- } catch (e) {
57
+ } catch (_unused) {
58
58
  new Error('Invalid custom theme string');
59
59
  }
60
60
  }
@@ -36,7 +36,7 @@ export const themeStringToObject = themeState => {
36
36
  if (kind === customThemeOptions) {
37
37
  try {
38
38
  themeObject[customThemeOptions] = JSON.parse(id);
39
- } catch (e) {
39
+ } catch {
40
40
  new Error('Invalid custom theme string');
41
41
  }
42
42
  }
@@ -47,7 +47,7 @@ export var themeStringToObject = function themeStringToObject(themeState) {
47
47
  if (kind === customThemeOptions) {
48
48
  try {
49
49
  themeObject[customThemeOptions] = JSON.parse(id);
50
- } catch (e) {
50
+ } catch (_unused) {
51
51
  new Error('Invalid custom theme string');
52
52
  }
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "8.4.0",
3
+ "version": "8.4.1",
4
4
  "description": "Design tokens are the single source of truth to name and store design decisions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -68,7 +68,7 @@
68
68
  "@atlaskit/textarea": "^8.1.0",
69
69
  "@atlaskit/textfield": "^8.1.0",
70
70
  "@atlaskit/theme": "^21.0.0",
71
- "@atlaskit/tooltip": "^20.10.0",
71
+ "@atlaskit/tooltip": "^20.11.0",
72
72
  "@atlassian/codegen": "^0.1.0",
73
73
  "@atlassian/feature-flags-test-utils": "^1.0.0",
74
74
  "@atlassian/repo-feature-flags-statsig": "^1.11.0",