@atlaskit/editor-card-provider 3.12.6 → 3.12.8

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,17 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 3.12.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.12.7
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.12.6
4
16
 
5
17
  ### Patch Changes
@@ -50,7 +50,7 @@ var isProformaView = function isProformaView(url) {
50
50
  var isConfluenceWhiteboard = function isConfluenceWhiteboard(url) {
51
51
  return url.match( /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/(\d+)(\?\/)?/, {
52
52
  resourceId: 1
53
- })) || url.match( /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/([0-9a-fA-F]{8}\b\x2D[0-9a-fA-F]{4}\b\x2D[0-9a-fA-F]{4}\b\x2D[0-9a-fA-F]{4}\b\x2D[0-9a-fA-F]{12})(\?\/)?/, {
53
+ })) || url.match( /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/([0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12})(\?\/)?/, {
54
54
  resourceId: 1
55
55
  }));
56
56
  };
@@ -61,7 +61,7 @@ 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
- return url.match( /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*\x2D)?([a-f0-9]{32})/, {
64
+ return url.match( /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?([a-f0-9]{32})/, {
65
65
  videoId: 5
66
66
  }));
67
67
  };
@@ -42,7 +42,7 @@ var isProformaView = function isProformaView(url) {
42
42
  var isConfluenceWhiteboard = function isConfluenceWhiteboard(url) {
43
43
  return url.match( /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/(\d+)(\?\/)?/, {
44
44
  resourceId: 1
45
- })) || url.match( /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/([0-9a-fA-F]{8}\b\x2D[0-9a-fA-F]{4}\b\x2D[0-9a-fA-F]{4}\b\x2D[0-9a-fA-F]{4}\b\x2D[0-9a-fA-F]{12})(\?\/)?/, {
45
+ })) || url.match( /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/([0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12})(\?\/)?/, {
46
46
  resourceId: 1
47
47
  }));
48
48
  };
@@ -53,7 +53,7 @@ var isYoutubeVideo = function isYoutubeVideo(url) {
53
53
  return url.match(/^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/);
54
54
  };
55
55
  var isLoomUrl = function isLoomUrl(url) {
56
- return url.match( /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*\x2D)?([a-f0-9]{32})/, {
56
+ return url.match( /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?([a-f0-9]{32})/, {
57
57
  videoId: 5
58
58
  }));
59
59
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "3.12.6",
3
+ "version": "3.12.8",
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",
@@ -33,12 +33,12 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/eslint-plugin-platform": "2.3.0",
36
+ "@atlaskit/eslint-plugin-platform": "2.4.0",
37
37
  "@atlaskit/feature-gate-js-client": "^4.17.1",
38
38
  "@atlaskit/link-client-extension": "^3.1.0",
39
- "@atlaskit/link-extractors": "^1.9.0",
40
- "@atlaskit/linking-common": "^6.2.0",
41
- "@atlaskit/platform-feature-flags": "^0.3.0",
39
+ "@atlaskit/link-extractors": "^1.10.0",
40
+ "@atlaskit/linking-common": "^6.3.0",
41
+ "@atlaskit/platform-feature-flags": "^1.0.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "dataloader": "^2.1.0",
44
44
  "json-ld-types": "^4.1.0"