@atlaskit/editor-card-provider 6.0.0 → 6.0.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/editor-card-provider
2
2
 
3
+ ## 6.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`33b52064dca14`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/33b52064dca14) -
8
+ Cleaned up feature gate: plan_smart_link_base_url
9
+
3
10
  ## 6.0.0
4
11
 
5
12
  ### Patch Changes
@@ -90,7 +90,7 @@ var isJiraPlan = function isJiraPlan(url) {
90
90
  // @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
91
91
  url.match( /*#__PURE__*/_wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)/, {
92
92
  resourceId: 1
93
- })) && (0, _platformFeatureFlags.fg)('plan_smart_link_base_url') || url.match(
93
+ })) || url.match(
94
94
  /*#__PURE__*/
95
95
  // @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
96
96
  _wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)\/scenarios\/(\d+)\/(timeline|summary|calendar|program\/\d+|dependencies)\/?/, {
@@ -43,7 +43,7 @@ const isJiraBoard = url => {
43
43
  const isJiraPlan = url => {
44
44
  return (
45
45
  // @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
46
- url.match(/https:\/\/.*?\/jira\/plans\/(?<resourceId>\d+)/) && fg('plan_smart_link_base_url') || url.match(
46
+ url.match(/https:\/\/.*?\/jira\/plans\/(?<resourceId>\d+)/) || url.match(
47
47
  // @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
48
48
  /https:\/\/.*?\/jira\/plans\/(?<resourceId>\d+)\/scenarios\/(?<resourceContext>\d+)\/(timeline|summary|calendar|program\/\d+|dependencies)\/?/)
49
49
  );
@@ -85,7 +85,7 @@ var isJiraPlan = function isJiraPlan(url) {
85
85
  // @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
86
86
  url.match( /*#__PURE__*/_wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)/, {
87
87
  resourceId: 1
88
- })) && fg('plan_smart_link_base_url') || url.match(
88
+ })) || url.match(
89
89
  /*#__PURE__*/
90
90
  // @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
91
91
  _wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)\/scenarios\/(\d+)\/(timeline|summary|calendar|program\/\d+|dependencies)\/?/, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
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",
@@ -29,16 +29,16 @@
29
29
  "sideEffects": false,
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/editor-json-transformer": "^8.28.0",
32
+ "@atlaskit/editor-json-transformer": "^8.29.0",
33
33
  "@atlaskit/feature-gate-js-client": "^5.5.0",
34
34
  "@atlaskit/json-ld-types": "^1.4.0",
35
35
  "@atlaskit/link-client-extension": "^6.0.0",
36
36
  "@atlaskit/link-extractors": "^2.4.0",
37
- "@atlaskit/linking-common": "^9.5.0",
37
+ "@atlaskit/linking-common": "^9.6.0",
38
38
  "@atlaskit/linking-types": "^14.0.0",
39
- "@atlaskit/node-data-provider": "^6.2.0",
39
+ "@atlaskit/node-data-provider": "^6.3.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/tmp-editor-statsig": "^12.18.0",
41
+ "@atlaskit/tmp-editor-statsig": "^12.22.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "dataloader": "^2.1.0"
44
44
  },
@@ -56,9 +56,6 @@
56
56
  "tc_smart_link_embed_view": {
57
57
  "type": "boolean"
58
58
  },
59
- "plan_smart_link_base_url": {
60
- "type": "boolean"
61
- },
62
59
  "issue-link-suggestions-in-comments": {
63
60
  "type": "boolean"
64
61
  }