@atlaskit/editor-card-provider 5.1.0 → 5.1.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,19 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 5.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#176250](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/176250)
8
+ [`6ad5979076014`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ad5979076014) -
9
+ clean plan smartlinks feature gate
10
+
11
+ ## 5.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 5.1.0
4
18
 
5
19
  ### Minor Changes
@@ -442,10 +442,7 @@ var EditorCardProvider = exports.EditorCardProvider = /*#__PURE__*/function () {
442
442
  key: "getHardCodedAppearance",
443
443
  value: function getHardCodedAppearance(url) {
444
444
  // Replace directly with isJiraPlan(url) on cleanup
445
- var isJiraPlanEvaluated;
446
- if ((0, _platformFeatureFlags.fg)('smart_links_for_plans_platform')) {
447
- isJiraPlanEvaluated = isJiraPlan(url);
448
- }
445
+ var isJiraPlanEvaluated = isJiraPlan(url);
449
446
  var isJiraFormEvaluated;
450
447
  if ((0, _platformFeatureFlags.fg)('smartlink_jira_software_form')) {
451
448
  isJiraFormEvaluated = isJiraForm(url);
@@ -181,10 +181,7 @@ export class EditorCardProvider {
181
181
  */
182
182
  getHardCodedAppearance(url) {
183
183
  // Replace directly with isJiraPlan(url) on cleanup
184
- let isJiraPlanEvaluated;
185
- if (fg('smart_links_for_plans_platform')) {
186
- isJiraPlanEvaluated = isJiraPlan(url);
187
- }
184
+ const isJiraPlanEvaluated = isJiraPlan(url);
188
185
  let isJiraFormEvaluated;
189
186
  if (fg('smartlink_jira_software_form')) {
190
187
  isJiraFormEvaluated = isJiraForm(url);
@@ -435,10 +435,7 @@ export var EditorCardProvider = /*#__PURE__*/function () {
435
435
  key: "getHardCodedAppearance",
436
436
  value: function getHardCodedAppearance(url) {
437
437
  // Replace directly with isJiraPlan(url) on cleanup
438
- var isJiraPlanEvaluated;
439
- if (fg('smart_links_for_plans_platform')) {
440
- isJiraPlanEvaluated = isJiraPlan(url);
441
- }
438
+ var isJiraPlanEvaluated = isJiraPlan(url);
442
439
  var isJiraFormEvaluated;
443
440
  if (fg('smartlink_jira_software_form')) {
444
441
  isJiraFormEvaluated = isJiraForm(url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "5.1.0",
3
+ "version": "5.1.2",
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,11 +34,11 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/feature-gate-js-client": "^5.3.0",
37
- "@atlaskit/json-ld-types": "^1.2.0",
37
+ "@atlaskit/json-ld-types": "^1.3.0",
38
38
  "@atlaskit/link-client-extension": "^5.0.0",
39
39
  "@atlaskit/link-extractors": "^2.4.0",
40
40
  "@atlaskit/linking-common": "^9.1.0",
41
- "@atlaskit/linking-types": "^12.1.0",
41
+ "@atlaskit/linking-types": "^13.0.0",
42
42
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "dataloader": "^2.1.0"
@@ -52,9 +52,6 @@
52
52
  "typescript": "~5.4.2"
53
53
  },
54
54
  "platform-feature-flags": {
55
- "smart_links_for_plans_platform": {
56
- "type": "boolean"
57
- },
58
55
  "smartlink_jira_software_form": {
59
56
  "type": "boolean"
60
57
  },