@atlaskit/editor-plugin-paste 11.0.12 → 11.1.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,18 @@
1
1
  # @atlaskit/editor-plugin-paste
2
2
 
3
+ ## 11.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`da0f71ae99150`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/da0f71ae99150) -
8
+ Add other MS product like AzureDevops and Power BI to render as SmartLinks
9
+
10
+ ## 11.0.13
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 11.0.12
4
17
 
5
18
  ### Patch Changes
@@ -54,7 +54,11 @@ var enableNewDomainCheckToImproveSmartLinkResolveRate = function enableNewDomain
54
54
  // OneDrive Shortlinks
55
55
  hostname.endsWith('1drv.ms') ||
56
56
  // MS Teams links
57
- hostname.endsWith('teams.live.com') || hostname.endsWith('teams.cloud.microsoft') || hostname.endsWith('teams.microsoft.com'));
57
+ hostname.endsWith('teams.live.com') || hostname.endsWith('teams.cloud.microsoft') || hostname.endsWith('teams.microsoft.com') ||
58
+ // MS Power BI
59
+ hostname.endsWith('powerbi.com') ||
60
+ // MS Azure devops
61
+ hostname.endsWith('dev.azure.com') || hostname.endsWith('visualstudio.com'));
58
62
  };
59
63
  var PASTE = 'Editor Paste Plugin Paste Duration';
60
64
  function isSharePointUrl(url) {
@@ -43,7 +43,11 @@ const enableNewDomainCheckToImproveSmartLinkResolveRate = hostname => {
43
43
  // OneDrive Shortlinks
44
44
  hostname.endsWith('1drv.ms') ||
45
45
  // MS Teams links
46
- hostname.endsWith('teams.live.com') || hostname.endsWith('teams.cloud.microsoft') || hostname.endsWith('teams.microsoft.com'));
46
+ hostname.endsWith('teams.live.com') || hostname.endsWith('teams.cloud.microsoft') || hostname.endsWith('teams.microsoft.com') ||
47
+ // MS Power BI
48
+ hostname.endsWith('powerbi.com') ||
49
+ // MS Azure devops
50
+ hostname.endsWith('dev.azure.com') || hostname.endsWith('visualstudio.com'));
47
51
  };
48
52
  const PASTE = 'Editor Paste Plugin Paste Duration';
49
53
  export function isSharePointUrl(url) {
@@ -46,7 +46,11 @@ var enableNewDomainCheckToImproveSmartLinkResolveRate = function enableNewDomain
46
46
  // OneDrive Shortlinks
47
47
  hostname.endsWith('1drv.ms') ||
48
48
  // MS Teams links
49
- hostname.endsWith('teams.live.com') || hostname.endsWith('teams.cloud.microsoft') || hostname.endsWith('teams.microsoft.com'));
49
+ hostname.endsWith('teams.live.com') || hostname.endsWith('teams.cloud.microsoft') || hostname.endsWith('teams.microsoft.com') ||
50
+ // MS Power BI
51
+ hostname.endsWith('powerbi.com') ||
52
+ // MS Azure devops
53
+ hostname.endsWith('dev.azure.com') || hostname.endsWith('visualstudio.com'));
50
54
  };
51
55
  var PASTE = 'Editor Paste Plugin Paste Duration';
52
56
  export function isSharePointUrl(url) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "11.0.12",
3
+ "version": "11.1.0",
4
4
  "description": "Paste plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,14 +41,14 @@
41
41
  "@atlaskit/editor-plugin-mentions": "^12.1.0",
42
42
  "@atlaskit/editor-prosemirror": "^7.3.0",
43
43
  "@atlaskit/editor-tables": "^2.9.0",
44
- "@atlaskit/flag": "^17.10.0",
44
+ "@atlaskit/flag": "^17.11.0",
45
45
  "@atlaskit/icon": "^34.3.0",
46
46
  "@atlaskit/insm": "^0.4.0",
47
47
  "@atlaskit/media-client": "^36.0.0",
48
48
  "@atlaskit/media-common": "^13.1.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/prosemirror-history": "^0.2.0",
51
- "@atlaskit/tmp-editor-statsig": "^70.6.0",
51
+ "@atlaskit/tmp-editor-statsig": "^71.0.0",
52
52
  "@atlaskit/tokens": "^13.0.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "lodash": "^4.17.21",