@atlaskit/editor-card-provider 7.1.14 → 7.1.16
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 +12 -0
- package/compass.yml +3 -3
- package/dist/cjs/provider.js +0 -7
- package/dist/es2019/provider.js +0 -7
- package/dist/esm/provider.js +0 -7
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/compass.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
configVersion: 1
|
|
2
2
|
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/b8d05a25-aef6-4ef5-ad6b-fdd7ee1c126d
|
|
3
3
|
name: '@atlaskit/editor-card-provider'
|
|
4
|
-
ownerId: ari:cloud:identity::team/
|
|
4
|
+
ownerId: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb # Editor Developers
|
|
5
5
|
labels:
|
|
6
6
|
- platform-code
|
|
7
7
|
- platform-afm
|
|
@@ -16,14 +16,14 @@ links:
|
|
|
16
16
|
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
17
17
|
- name: Slack Channel
|
|
18
18
|
type: CHAT_CHANNEL
|
|
19
|
-
url: https://atlassian.enterprise.slack.com/archives/
|
|
19
|
+
url: https://atlassian.enterprise.slack.com/archives/CFG3PSQ9E # #help-editor
|
|
20
20
|
- name: Editor Card Provider
|
|
21
21
|
type: REPOSITORY
|
|
22
22
|
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-card-provider
|
|
23
23
|
customFields:
|
|
24
24
|
- name: Department
|
|
25
25
|
type: text
|
|
26
|
-
value:
|
|
26
|
+
value: Editor Developers
|
|
27
27
|
- name: Trusted Reviewer Teams
|
|
28
28
|
type: text
|
|
29
29
|
value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
|
package/dist/cjs/provider.js
CHANGED
|
@@ -45,35 +45,29 @@ var JIRA_LIST_REGEX = /^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/
|
|
|
45
45
|
var GIPHY_MEDIA_REGEX = /^https:\/\/(.*?\.)?giphy\.com\/(gifs|media|clips)\//;
|
|
46
46
|
var PROFORMA_VIEW_REGEX = /^https:\/\/[^/]+\/jira\/(core|software(\/c)?|servicedesk)\/projects\/\w+\/forms\/form\/direct\/\d+\/\d+.*$/;
|
|
47
47
|
// prettier-ignore
|
|
48
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
49
48
|
var CONFLUENCE_WHITEBOARD_DECIMAL_REGEX = /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/(\d+)(\?\/)?/, {
|
|
50
49
|
resourceId: 1
|
|
51
50
|
});
|
|
52
51
|
// prettier-ignore
|
|
53
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
54
52
|
var CONFLUENCE_WHITEBOARD_UUID_REGEX = /*#__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})(\?\/)?/, {
|
|
55
53
|
resourceId: 1
|
|
56
54
|
});
|
|
57
55
|
var CONFLUENCE_DATABASE_REGEX = /\/wiki\/spaces\/~?[\d\w]+\/database\/\d+(\?.*)?$/;
|
|
58
56
|
var YOUTUBE_VIDEO_REGEX = /^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/;
|
|
59
57
|
// prettier-ignore
|
|
60
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
61
58
|
var LOOM_VIDEO_URL_REGEX = /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?([a-f0-9]{32})/, {
|
|
62
59
|
videoId: 5
|
|
63
60
|
});
|
|
64
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
65
61
|
var LOOM_SCREENSHOT_URL_REGEX = /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?loom\..*?\/i\/([a-f0-9]{32})/, {
|
|
66
62
|
id: 2
|
|
67
63
|
});
|
|
68
64
|
var JIRA_DASHBOARD_REGEX = /^https:\/\/.*?\/jira\/dashboards\/[0-9]+.*/;
|
|
69
65
|
var JIRA_BACKLOG_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/\d\/backlog\??.*/;
|
|
70
66
|
var JIRA_BOARD_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/\d\??.*/;
|
|
71
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
72
67
|
var JIRA_PLAN_REGEX = /*#__PURE__*/_wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)/, {
|
|
73
68
|
resourceId: 1
|
|
74
69
|
});
|
|
75
70
|
// prettier-ignore
|
|
76
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
77
71
|
var JIRA_PLAN_WITH_SCENARIO_REGEX = /*#__PURE__*/_wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)\/scenarios\/(\d+)\/(timeline|summary|calendar|program\/\d+|dependencies)\/?/, {
|
|
78
72
|
resourceId: 1,
|
|
79
73
|
resourceContext: 2
|
|
@@ -84,7 +78,6 @@ var JIRA_SUMMARY_REGEX = /^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+
|
|
|
84
78
|
var ROVO_AGENT_PROFILE_PAGE_REGEX = /^https:\/\/.*?\/people\/agent\/.+$/;
|
|
85
79
|
var CUSTOMER_360_LANDING_PAGE_REGEX = /^https:\/\/customer\.atlassian\.com\/.*$/;
|
|
86
80
|
// prettier-ignore
|
|
87
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
88
81
|
var CONFLUENCE_TEAM_CALENDARS_REGEX = /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/([^\/]+)\/calendars\/([a-zA-Z0-9-]+)/, {
|
|
89
82
|
resourceContext: 1,
|
|
90
83
|
resourceId: 2
|
package/dist/es2019/provider.js
CHANGED
|
@@ -22,25 +22,19 @@ const JIRA_LIST_REGEX = /^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?
|
|
|
22
22
|
const GIPHY_MEDIA_REGEX = /^https:\/\/(.*?\.)?giphy\.com\/(gifs|media|clips)\//;
|
|
23
23
|
const PROFORMA_VIEW_REGEX = /^https:\/\/[^/]+\/jira\/(core|software(\/c)?|servicedesk)\/projects\/\w+\/forms\/form\/direct\/\d+\/\d+.*$/;
|
|
24
24
|
// prettier-ignore
|
|
25
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
26
25
|
const CONFLUENCE_WHITEBOARD_DECIMAL_REGEX = /\/wiki\/spaces\/?.*\/whiteboard\/(?<resourceId>\d+)(\?\/)?/;
|
|
27
26
|
// prettier-ignore
|
|
28
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
29
27
|
const CONFLUENCE_WHITEBOARD_UUID_REGEX = /\/wiki\/spaces\/?.*\/whiteboard\/(?<resourceId>[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})(\?\/)?/;
|
|
30
28
|
const CONFLUENCE_DATABASE_REGEX = /\/wiki\/spaces\/~?[\d\w]+\/database\/\d+(\?.*)?$/;
|
|
31
29
|
const YOUTUBE_VIDEO_REGEX = /^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/;
|
|
32
30
|
// prettier-ignore
|
|
33
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
34
31
|
const LOOM_VIDEO_URL_REGEX = /^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?(?<videoId>[a-f0-9]{32})/;
|
|
35
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
36
32
|
const LOOM_SCREENSHOT_URL_REGEX = /^https:\/\/(.*?\.)?loom\..*?\/i\/(?<id>[a-f0-9]{32})/;
|
|
37
33
|
const JIRA_DASHBOARD_REGEX = /^https:\/\/.*?\/jira\/dashboards\/[0-9]+.*/;
|
|
38
34
|
const JIRA_BACKLOG_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/\d\/backlog\??.*/;
|
|
39
35
|
const JIRA_BOARD_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/\d\??.*/;
|
|
40
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
41
36
|
const JIRA_PLAN_REGEX = /https:\/\/.*?\/jira\/plans\/(?<resourceId>\d+)/;
|
|
42
37
|
// prettier-ignore
|
|
43
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
44
38
|
const JIRA_PLAN_WITH_SCENARIO_REGEX = /https:\/\/.*?\/jira\/plans\/(?<resourceId>\d+)\/scenarios\/(?<resourceContext>\d+)\/(timeline|summary|calendar|program\/\d+|dependencies)\/?/;
|
|
45
39
|
const JIRA_VERSION_REGEX = /https:\/\/.*?\/projects\/[^\/]+?\/versions\/\d+\/tab\/release-report-all-issues/;
|
|
46
40
|
const JIRA_FORM_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/form\/\d\??.*/;
|
|
@@ -48,7 +42,6 @@ const JIRA_SUMMARY_REGEX = /^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/
|
|
|
48
42
|
const ROVO_AGENT_PROFILE_PAGE_REGEX = /^https:\/\/.*?\/people\/agent\/.+$/;
|
|
49
43
|
const CUSTOMER_360_LANDING_PAGE_REGEX = /^https:\/\/customer\.atlassian\.com\/.*$/;
|
|
50
44
|
// prettier-ignore
|
|
51
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
52
45
|
const CONFLUENCE_TEAM_CALENDARS_REGEX = /\/wiki\/spaces\/(?<resourceContext>[^\/]+)\/calendars\/(?<resourceId>[a-zA-Z0-9-]+)/;
|
|
53
46
|
const JIRA_ISSUE_NAVIGATOR_REGEX = /^https:\/\/.*?\/jira\/software|core\/(c\/)?projects\/[^\/]+?\/issues\/?/;
|
|
54
47
|
const AVP_VISUALIZATION_VIEW_REGEX = /^https:\/\/.*?\/avpviz\/c\/[^\/]+.*/;
|
package/dist/esm/provider.js
CHANGED
|
@@ -37,35 +37,29 @@ var JIRA_LIST_REGEX = /^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/
|
|
|
37
37
|
var GIPHY_MEDIA_REGEX = /^https:\/\/(.*?\.)?giphy\.com\/(gifs|media|clips)\//;
|
|
38
38
|
var PROFORMA_VIEW_REGEX = /^https:\/\/[^/]+\/jira\/(core|software(\/c)?|servicedesk)\/projects\/\w+\/forms\/form\/direct\/\d+\/\d+.*$/;
|
|
39
39
|
// prettier-ignore
|
|
40
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
41
40
|
var CONFLUENCE_WHITEBOARD_DECIMAL_REGEX = /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/?.*\/whiteboard\/(\d+)(\?\/)?/, {
|
|
42
41
|
resourceId: 1
|
|
43
42
|
});
|
|
44
43
|
// prettier-ignore
|
|
45
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
46
44
|
var CONFLUENCE_WHITEBOARD_UUID_REGEX = /*#__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})(\?\/)?/, {
|
|
47
45
|
resourceId: 1
|
|
48
46
|
});
|
|
49
47
|
var CONFLUENCE_DATABASE_REGEX = /\/wiki\/spaces\/~?[\d\w]+\/database\/\d+(\?.*)?$/;
|
|
50
48
|
var YOUTUBE_VIDEO_REGEX = /^https:\/\/(.*?\.)?(youtube\..*?\/(watch\?|v\/|shorts\/)|youtu\.be)/;
|
|
51
49
|
// prettier-ignore
|
|
52
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
53
50
|
var LOOM_VIDEO_URL_REGEX = /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?(loom\..*?\/(share|embed))\/([a-zA-Z0-9-]*-)?([a-f0-9]{32})/, {
|
|
54
51
|
videoId: 5
|
|
55
52
|
});
|
|
56
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
57
53
|
var LOOM_SCREENSHOT_URL_REGEX = /*#__PURE__*/_wrapRegExp(/^https:\/\/(.*?\.)?loom\..*?\/i\/([a-f0-9]{32})/, {
|
|
58
54
|
id: 2
|
|
59
55
|
});
|
|
60
56
|
var JIRA_DASHBOARD_REGEX = /^https:\/\/.*?\/jira\/dashboards\/[0-9]+.*/;
|
|
61
57
|
var JIRA_BACKLOG_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/\d\/backlog\??.*/;
|
|
62
58
|
var JIRA_BOARD_REGEX = /https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+?\/boards\/\d\??.*/;
|
|
63
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
64
59
|
var JIRA_PLAN_REGEX = /*#__PURE__*/_wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)/, {
|
|
65
60
|
resourceId: 1
|
|
66
61
|
});
|
|
67
62
|
// prettier-ignore
|
|
68
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
69
63
|
var JIRA_PLAN_WITH_SCENARIO_REGEX = /*#__PURE__*/_wrapRegExp(/https:\/\/.*?\/jira\/plans\/(\d+)\/scenarios\/(\d+)\/(timeline|summary|calendar|program\/\d+|dependencies)\/?/, {
|
|
70
64
|
resourceId: 1,
|
|
71
65
|
resourceContext: 2
|
|
@@ -76,7 +70,6 @@ var JIRA_SUMMARY_REGEX = /^https:\/\/.*?\/jira\/software\/(c\/)?projects\/[^\/]+
|
|
|
76
70
|
var ROVO_AGENT_PROFILE_PAGE_REGEX = /^https:\/\/.*?\/people\/agent\/.+$/;
|
|
77
71
|
var CUSTOMER_360_LANDING_PAGE_REGEX = /^https:\/\/customer\.atlassian\.com\/.*$/;
|
|
78
72
|
// prettier-ignore
|
|
79
|
-
// @ts-ignore - TS1503 TypeScript 5.9.2 upgrade
|
|
80
73
|
var CONFLUENCE_TEAM_CALENDARS_REGEX = /*#__PURE__*/_wrapRegExp(/\/wiki\/spaces\/([^\/]+)\/calendars\/([a-zA-Z0-9-]+)/, {
|
|
81
74
|
resourceContext: 1,
|
|
82
75
|
resourceId: 2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-card-provider",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.16",
|
|
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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/editor-json-transformer": "^9.
|
|
24
|
+
"@atlaskit/editor-json-transformer": "^9.4.0",
|
|
25
25
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
26
26
|
"@atlaskit/frontend-utilities": "^4.1.0",
|
|
27
27
|
"@atlaskit/json-ld-types": "^2.0.0",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"@atlaskit/link-extractors": "^4.0.0",
|
|
30
30
|
"@atlaskit/linking-common": "^11.1.0",
|
|
31
31
|
"@atlaskit/linking-types": "^15.0.0",
|
|
32
|
-
"@atlaskit/node-data-provider": "^
|
|
32
|
+
"@atlaskit/node-data-provider": "^16.0.0",
|
|
33
33
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
34
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^148.0.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"dataloader": "^2.1.0"
|
|
37
37
|
},
|