@atlaskit/editor-plugin-hyperlink 8.1.6 → 8.1.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,19 @@
1
1
  # @atlaskit/editor-plugin-hyperlink
2
2
 
3
+ ## 8.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
8
+ EDITOR-2791 bump adf-schema
9
+ - Updated dependencies
10
+
11
+ ## 8.1.7
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 8.1.6
4
18
 
5
19
  ### Patch Changes
@@ -13,7 +13,7 @@ var _utils = require("@atlaskit/editor-common/utils");
13
13
  var _state = require("@atlaskit/editor-prosemirror/state");
14
14
  var _view = require("@atlaskit/editor-prosemirror/view");
15
15
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
17
17
  var mapTransactionToState = function mapTransactionToState(state, tr) {
18
18
  if (!state) {
19
19
  return undefined;
@@ -163,6 +163,7 @@ var plugin = exports.plugin = function plugin(dispatch, intl, editorAppearance,
163
163
  if (action) {
164
164
  var stateForAnalytics = [_link3.LinkAction.SHOW_INSERT_TOOLBAR, _link3.LinkAction.EDIT_INSERTED_TOOLBAR].includes(action) ? {
165
165
  timesViewed: ++state.timesViewed,
166
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
166
167
  searchSessionId: (0, _uuid.default)()
167
168
  } : {
168
169
  timesViewed: state.timesViewed,
@@ -1,3 +1,4 @@
1
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
1
2
  import uuid from 'uuid';
2
3
  import { InsertStatus, LinkAction, getActiveLinkMark } from '@atlaskit/editor-common/link';
3
4
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -160,6 +161,7 @@ export const plugin = (dispatch, intl, editorAppearance, pluginInjectionApi, onC
160
161
  if (action) {
161
162
  const stateForAnalytics = [LinkAction.SHOW_INSERT_TOOLBAR, LinkAction.EDIT_INSERTED_TOOLBAR].includes(action) ? {
162
163
  timesViewed: ++state.timesViewed,
164
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
163
165
  searchSessionId: uuid()
164
166
  } : {
165
167
  timesViewed: state.timesViewed,
@@ -1,6 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
4
5
  import uuid from 'uuid';
5
6
  import { InsertStatus, LinkAction, getActiveLinkMark } from '@atlaskit/editor-common/link';
6
7
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
@@ -156,6 +157,7 @@ export var plugin = function plugin(dispatch, intl, editorAppearance, pluginInje
156
157
  if (action) {
157
158
  var stateForAnalytics = [LinkAction.SHOW_INSERT_TOOLBAR, LinkAction.EDIT_INSERTED_TOOLBAR].includes(action) ? {
158
159
  timesViewed: ++state.timesViewed,
160
+ // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
159
161
  searchSessionId: uuid()
160
162
  } : {
161
163
  timesViewed: state.timesViewed,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-hyperlink",
3
- "version": "8.1.6",
3
+ "version": "8.1.8",
4
4
  "description": "Hyperlink plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,10 +29,10 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^51.3.2",
32
+ "@atlaskit/adf-schema": "^51.4.0",
33
33
  "@atlaskit/analytics-next": "^11.1.0",
34
34
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
35
- "@atlaskit/editor-plugin-card": "^11.4.0",
35
+ "@atlaskit/editor-plugin-card": "^11.5.0",
36
36
  "@atlaskit/editor-plugin-connectivity": "^6.0.0",
37
37
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
38
38
  "@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
@@ -42,23 +42,23 @@
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
43
  "@atlaskit/editor-toolbar": "^0.17.0",
44
44
  "@atlaskit/editor-toolbar-model": "^0.2.0",
45
- "@atlaskit/icon": "^28.5.0",
45
+ "@atlaskit/icon": "^29.0.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
- "@atlaskit/prosemirror-input-rules": "^3.5.0",
48
- "@atlaskit/tmp-editor-statsig": "^13.22.0",
47
+ "@atlaskit/prosemirror-input-rules": "^3.6.0",
48
+ "@atlaskit/tmp-editor-statsig": "^13.38.0",
49
49
  "@babel/runtime": "^7.0.0",
50
50
  "@emotion/react": "^11.7.1",
51
51
  "uuid": "^3.1.0"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^110.19.0",
54
+ "@atlaskit/editor-common": "^110.32.0",
55
55
  "react": "^18.2.0",
56
56
  "react-dom": "^18.2.0",
57
57
  "react-intl-next": "npm:react-intl@^5.18.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@atlaskit/activity-provider": "^2.5.0",
61
- "@atlaskit/link-test-helpers": "^8.4.0",
61
+ "@atlaskit/link-test-helpers": "^8.5.0",
62
62
  "@atlaskit/media-test-helpers": "^39.0.0",
63
63
  "@atlaskit/ssr": "workspace:^",
64
64
  "@atlaskit/util-data-test": "^18.3.0",