@atlaskit/editor-card-provider 3.4.3 → 3.5.0

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,23 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 3.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#126756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/126756)
8
+ [`851ff3f2d8e45`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/851ff3f2d8e45) -
9
+ Tidying FF for default embed for jira dashboard smartlink
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 3.4.4
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 3.4.3
4
22
 
5
23
  ### Patch Changes
@@ -66,9 +66,6 @@ var isLoomUrl = function isLoomUrl(url) {
66
66
  }));
67
67
  };
68
68
  var isJiraDashboard = function isJiraDashboard(url) {
69
- if (!(0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.jira-dashboard-embed_ycjcj')) {
70
- return null;
71
- }
72
69
  return url.match(/^https:\/\/.*?\/jira\/dashboards\/[0-9]+.*/);
73
70
  };
74
71
  var EditorCardProvider = exports.EditorCardProvider = /*#__PURE__*/function () {
@@ -26,9 +26,6 @@ const isLoomUrl = url => {
26
26
  return url.match(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?(?<videoId>[a-f0-9]{32})/);
27
27
  };
28
28
  const isJiraDashboard = url => {
29
- if (!getBooleanFF('platform.linking-platform.jira-dashboard-embed_ycjcj')) {
30
- return null;
31
- }
32
29
  return url.match(/^https:\/\/.*?\/jira\/dashboards\/[0-9]+.*/);
33
30
  };
34
31
  export class EditorCardProvider {
@@ -59,9 +59,6 @@ var isLoomUrl = function isLoomUrl(url) {
59
59
  }));
60
60
  };
61
61
  var isJiraDashboard = function isJiraDashboard(url) {
62
- if (!getBooleanFF('platform.linking-platform.jira-dashboard-embed_ycjcj')) {
63
- return null;
64
- }
65
62
  return url.match(/^https:\/\/.*?\/jira\/dashboards\/[0-9]+.*/);
66
63
  };
67
64
  export var EditorCardProvider = /*#__PURE__*/function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "3.4.3",
3
+ "version": "3.5.0",
4
4
  "description": "Contains the EditorCardProvider, for determining smart card behaviour in the editor.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,10 +34,10 @@
34
34
  ".": "./src/index.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/eslint-plugin-platform": "0.7.2",
38
- "@atlaskit/link-client-extension": "^1.9.0",
39
- "@atlaskit/link-extractors": "^1.5.0",
40
- "@atlaskit/linking-common": "^5.7.0",
37
+ "@atlaskit/eslint-plugin-platform": "0.7.3",
38
+ "@atlaskit/link-client-extension": "^1.13.0",
39
+ "@atlaskit/link-extractors": "^1.6.0",
40
+ "@atlaskit/linking-common": "^5.9.0",
41
41
  "@atlaskit/platform-feature-flags": "^0.3.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "dataloader": "^2.0.0",
@@ -45,7 +45,7 @@
45
45
  "setimmediate": "^1.0.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/link-provider": "^1.12.0",
48
+ "@atlaskit/link-provider": "^1.14.0",
49
49
  "react": "^16.8.0"
50
50
  },
51
51
  "devDependencies": {
@@ -55,9 +55,6 @@
55
55
  "platform-feature-flags": {
56
56
  "platform.linking-platform.embed-youtube-by-default": {
57
57
  "type": "boolean"
58
- },
59
- "platform.linking-platform.jira-dashboard-embed_ycjcj": {
60
- "type": "boolean"
61
58
  }
62
59
  }
63
60
  }