@atlaskit/editor-card-provider 3.4.0 → 3.4.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,11 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 3.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.4.0
4
10
 
5
11
  ### Minor Changes
@@ -61,9 +61,6 @@ var isYoutubeVideo = function isYoutubeVideo(url) {
61
61
  return url.match(/^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/);
62
62
  };
63
63
  var isLoomUrl = function isLoomUrl(url) {
64
- if (!(0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.embed-loom-by-default')) {
65
- return null;
66
- }
67
64
  return url.match( /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*\x2D)?([a-f0-9]{32})/, {
68
65
  videoId: 5
69
66
  }));
@@ -23,9 +23,6 @@ const isConfluenceWhiteboard = url => url.match(/\/wiki\/spaces\/?.*\/whiteboard
23
23
  const isConfluenceDatabase = url => url.match(/\/wiki\/spaces\/~?[\d\w]+\/database\/\d+(\?.*(savedViewId=([0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}|all-entries|default)|entryId=[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}|unsavedView=[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}).*)?$/);
24
24
  const isYoutubeVideo = url => url.match(/^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/);
25
25
  const isLoomUrl = url => {
26
- if (!getBooleanFF('platform.linking-platform.embed-loom-by-default')) {
27
- return null;
28
- }
29
26
  return url.match(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?(?<videoId>[a-f0-9]{32})/);
30
27
  };
31
28
  const isJiraDashboard = url => {
@@ -54,9 +54,6 @@ var isYoutubeVideo = function isYoutubeVideo(url) {
54
54
  return url.match(/^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/);
55
55
  };
56
56
  var isLoomUrl = function isLoomUrl(url) {
57
- if (!getBooleanFF('platform.linking-platform.embed-loom-by-default')) {
58
- return null;
59
- }
60
57
  return url.match( /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*\x2D)?([a-f0-9]{32})/, {
61
58
  videoId: 5
62
59
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "3.4.0",
3
+ "version": "3.4.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",
@@ -34,18 +34,18 @@
34
34
  ".": "./src/index.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/eslint-plugin-platform": "0.6.2",
37
+ "@atlaskit/eslint-plugin-platform": "0.7.0",
38
38
  "@atlaskit/link-client-extension": "^1.9.0",
39
39
  "@atlaskit/link-extractors": "^1.5.0",
40
40
  "@atlaskit/linking-common": "^5.7.0",
41
- "@atlaskit/platform-feature-flags": "^0.2.1",
41
+ "@atlaskit/platform-feature-flags": "^0.3.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "dataloader": "^2.0.0",
44
44
  "json-ld-types": "^4.1.0",
45
45
  "setimmediate": "^1.0.5"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/link-provider": "^1.11.0",
48
+ "@atlaskit/link-provider": "^1.12.0",
49
49
  "react": "^16.8.0"
50
50
  },
51
51
  "devDependencies": {
@@ -56,9 +56,6 @@
56
56
  "platform.linking-platform.embed-youtube-by-default": {
57
57
  "type": "boolean"
58
58
  },
59
- "platform.linking-platform.embed-loom-by-default": {
60
- "type": "boolean"
61
- },
62
59
  "platform.linking-platform.jira-dashboard-embed_ycjcj": {
63
60
  "type": "boolean"
64
61
  }