@atlaskit/eslint-plugin-ui-styling-standard 1.0.2 → 1.0.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,22 @@
1
1
  # @atlaskit/eslint-plugin-ui-styling-standard
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#171997](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171997)
8
+ [`a433756c2ec76`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a433756c2ec76) -
9
+ Remove dependency not longer needed
10
+
11
+ ## 1.0.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [#171994](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171994)
16
+ [`be58e4bb2e387`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be58e4bb2e387) -
17
+ Migrating usages of UNSAFE types and entrypoints that have been renamed in `@atlaskit/icon` and
18
+ `@atlaskit/icon-lab`.
19
+
3
20
  ## 1.0.2
4
21
 
5
22
  ### Patch Changes
@@ -8,7 +8,7 @@ var _isSupportedImport = require("@atlaskit/eslint-utils/is-supported-import");
8
8
  var _createRule = require("../utils/create-rule");
9
9
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
10
10
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
11
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
11
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } // eslint-disable-next-line @atlassian/tangerine/import/entry-points
12
12
  var schema = [{
13
13
  type: 'object',
14
14
  properties: {
@@ -1,3 +1,5 @@
1
+ // eslint-disable-next-line @atlassian/tangerine/import/entry-points
2
+
1
3
  import { getImportSources, hasStyleObjectArguments } from '@atlaskit/eslint-utils/is-supported-import';
2
4
  import { createLintRule } from '../utils/create-rule';
3
5
  const schema = [{
@@ -1,6 +1,8 @@
1
1
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t.return || t.return(); } finally { if (u) throw o; } } }; }
2
2
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
3
3
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
4
+ // eslint-disable-next-line @atlassian/tangerine/import/entry-points
5
+
4
6
  import { getImportSources, hasStyleObjectArguments } from '@atlaskit/eslint-utils/is-supported-import';
5
7
  import { createLintRule } from '../utils/create-rule';
6
8
  var schema = [{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-ui-styling-standard",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "The eslint plugin to enforce and educate on Atlassian's UI Styling Standard",
6
6
  "license": "Apache-2.0",
@@ -55,10 +55,9 @@
55
55
  },
56
56
  "devDependencies": {
57
57
  "@af/formatting": "*",
58
- "@atlaskit/ds-lib": "^3.2.0",
58
+ "@atlaskit/ds-lib": "^3.3.0",
59
59
  "@atlassian/codegen": "*",
60
60
  "@atlassian/ts-loader": "*",
61
- "@compiled/eslint-plugin": "^0.17.0",
62
61
  "@eslint/eslintrc": "^3.0.2",
63
62
  "@types/eslint": "^8.56.6",
64
63
  "@types/eslint__eslintrc": "^2.1.2",
@@ -67,9 +66,6 @@
67
66
  "lodash": "^4.17.21",
68
67
  "typescript": "~5.4.2"
69
68
  },
70
- "peerDependencies": {
71
- "@compiled/eslint-plugin": "^0.17.0"
72
- },
73
69
  "scripts": {
74
70
  "codegen": "run-ts ./scripts/codegen.tsx"
75
71
  }