@atlaskit/task-decision 19.2.13 → 19.2.14

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/task-decision
2
2
 
3
+ ## 19.2.14
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 19.2.13
4
10
 
5
11
  ### Patch Changes
@@ -1,9 +1,9 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.dev-agents.json",
2
+ "extends": "../../../../tsconfig.entry-points.products.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "outDir": "../../../../../dev-agents/tsDist/@atlaskit__task-decision/app",
6
+ "outDir": "../../../../../tsDist/@atlaskit__task-decision/app",
7
7
  "rootDir": "../",
8
8
  "composite": true
9
9
  },
@@ -24,22 +24,22 @@
24
24
  ],
25
25
  "references": [
26
26
  {
27
- "path": "../../../analytics/analytics-namespaced-context/afm-dev-agents/tsconfig.json"
27
+ "path": "../../../analytics/analytics-namespaced-context/afm-products/tsconfig.json"
28
28
  },
29
29
  {
30
- "path": "../../../analytics/analytics-next/afm-dev-agents/tsconfig.json"
30
+ "path": "../../../analytics/analytics-next/afm-products/tsconfig.json"
31
31
  },
32
32
  {
33
- "path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
33
+ "path": "../../../design-system/icon/afm-products/tsconfig.json"
34
34
  },
35
35
  {
36
- "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
36
+ "path": "../../../platform/feature-flags/afm-products/tsconfig.json"
37
37
  },
38
38
  {
39
- "path": "../../../design-system/tokens/afm-dev-agents/tsconfig.json"
39
+ "path": "../../../design-system/tokens/afm-products/tsconfig.json"
40
40
  },
41
41
  {
42
- "path": "../../util-service-support/afm-dev-agents/tsconfig.json"
42
+ "path": "../../util-service-support/afm-products/tsconfig.json"
43
43
  }
44
44
  ]
45
45
  }
@@ -14,7 +14,7 @@ var _TaskDecisionUtils = require("./TaskDecisionUtils");
14
14
  var _types = require("../types");
15
15
  var _typeHelpers = require("../type-helpers");
16
16
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
17
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
18
18
  var ACTION_CREATED_FPS_EVENT = exports.ACTION_CREATED_FPS_EVENT = 'avi:task-decision-service:created:action';
19
19
  var ACTION_EDITED_FPS_EVENT = exports.ACTION_EDITED_FPS_EVENT = 'avi:task-decision-service:edited:action';
20
20
  var ACTION_DELETED_FPS_EVENT = exports.ACTION_DELETED_FPS_EVENT = 'avi:task-decision-service:deleted:action';
@@ -44,6 +44,7 @@ var RecentUpdates = exports.RecentUpdates = /*#__PURE__*/function () {
44
44
  return (0, _createClass2.default)(RecentUpdates, [{
45
45
  key: "subscribe",
46
46
  value: function subscribe(objectAri, recentUpdatesListener) {
47
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
47
48
  var id = (0, _uuid.default)();
48
49
  var containerIds = this.idsByContainer.get(objectAri);
49
50
  if (!containerIds) {
@@ -1,4 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
2
3
  import uuid from 'uuid';
3
4
  import { utils } from '@atlaskit/util-service-support';
4
5
  import { convertServiceTaskToTask, convertServiceTaskStateToBaseItem, findIndex } from './TaskDecisionUtils';
@@ -31,6 +32,7 @@ export class RecentUpdates {
31
32
  this.subscribeToPubSubEvents();
32
33
  }
33
34
  subscribe(objectAri, recentUpdatesListener) {
35
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
34
36
  const id = uuid();
35
37
  let containerIds = this.idsByContainer.get(objectAri);
36
38
  if (!containerIds) {
@@ -3,6 +3,7 @@ import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
6
7
  import uuid from 'uuid';
7
8
  import { utils } from '@atlaskit/util-service-support';
8
9
  import { convertServiceTaskToTask, convertServiceTaskStateToBaseItem, findIndex } from './TaskDecisionUtils';
@@ -37,6 +38,7 @@ export var RecentUpdates = /*#__PURE__*/function () {
37
38
  return _createClass(RecentUpdates, [{
38
39
  key: "subscribe",
39
40
  value: function subscribe(objectAri, recentUpdatesListener) {
41
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
40
42
  var id = uuid();
41
43
  var containerIds = this.idsByContainer.get(objectAri);
42
44
  if (!containerIds) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "19.2.13",
3
+ "version": "19.2.14",
4
4
  "description": "Tasks and decisions react components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/analytics-next": "^11.1.0",
40
40
  "@atlaskit/icon": "^28.5.0",
41
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
42
- "@atlaskit/tokens": "^7.0.0",
42
+ "@atlaskit/tokens": "^8.0.0",
43
43
  "@atlaskit/util-service-support": "^6.3.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@compiled/react": "^0.18.6",
@@ -1,45 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../passionfruit/tsDist/@atlaskit__task-decision/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-namespaced-context/afm-passionfruit/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-passionfruit/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
40
- },
41
- {
42
- "path": "../../util-service-support/afm-passionfruit/tsconfig.json"
43
- }
44
- ]
45
- }
@@ -1,45 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/tsDist/@atlaskit__task-decision/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-namespaced-context/afm-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
40
- },
41
- {
42
- "path": "../../util-service-support/afm-post-office/tsconfig.json"
43
- }
44
- ]
45
- }
@@ -1,45 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__task-decision/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-namespaced-context/afm-rovo-extension/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-rovo-extension/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
40
- },
41
- {
42
- "path": "../../util-service-support/afm-rovo-extension/tsconfig.json"
43
- }
44
- ]
45
- }
@@ -1,45 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../townsquare/tsDist/@atlaskit__task-decision/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-namespaced-context/afm-townsquare/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-townsquare/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
40
- },
41
- {
42
- "path": "../../util-service-support/afm-townsquare/tsconfig.json"
43
- }
44
- ]
45
- }
@@ -1,45 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.volt.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../volt/tsDist/@atlaskit__task-decision/app",
7
- "rootDir": "../",
8
- "composite": true
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*",
18
- "../src/**/examples.*",
19
- "../src/**/examples/*",
20
- "../src/**/examples/**/*",
21
- "../src/**/*.stories.*",
22
- "../src/**/stories/*",
23
- "../src/**/stories/**/*"
24
- ],
25
- "references": [
26
- {
27
- "path": "../../../analytics/analytics-namespaced-context/afm-volt/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-volt/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/icon/afm-volt/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/tokens/afm-volt/tsconfig.json"
40
- },
41
- {
42
- "path": "../../util-service-support/afm-volt/tsconfig.json"
43
- }
44
- ]
45
- }