@atlaskit/editor-plugin-media-insert 31.1.11 → 31.1.13

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-plugin-media-insert
2
2
 
3
+ ## 31.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 31.1.12
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 31.1.11
4
16
 
5
17
  ### Patch Changes
@@ -15,7 +15,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
15
15
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
16
16
  var _react = _interopRequireWildcard(require("react"));
17
17
  var _reactIntl = require("react-intl");
18
- var _adfSchema = require("@atlaskit/adf-schema");
18
+ var _isSafeUrl = require("@atlaskit/adf-schema/is-safe-url");
19
19
  var _buttonGroup = _interopRequireDefault(require("@atlaskit/button/button-group"));
20
20
  var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
21
21
  var _analytics = require("@atlaskit/editor-common/analytics");
@@ -77,7 +77,7 @@ var isValidUrl = exports.isValidUrl = function isValidUrl(value) {
77
77
  } catch (_unused) {
78
78
  return false;
79
79
  }
80
- return (0, _adfSchema.isSafeUrl)(value);
80
+ return (0, _isSafeUrl.isSafeUrl)(value);
81
81
  };
82
82
  var previewStateReducer = function previewStateReducer(state, action) {
83
83
  switch (action.type) {
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { Fragment } from 'react';
3
3
  import { useIntl } from 'react-intl';
4
- import { isSafeUrl } from '@atlaskit/adf-schema';
4
+ import { isSafeUrl } from '@atlaskit/adf-schema/is-safe-url';
5
5
  import ButtonGroup from '@atlaskit/button/button-group';
6
6
  import Button from '@atlaskit/button/default/button';
7
7
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
@@ -9,7 +9,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
9
9
  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; }
10
10
  import React, { Fragment } from 'react';
11
11
  import { useIntl } from 'react-intl';
12
- import { isSafeUrl } from '@atlaskit/adf-schema';
12
+ import { isSafeUrl } from '@atlaskit/adf-schema/is-safe-url';
13
13
  import ButtonGroup from '@atlaskit/button/button-group';
14
14
  import Button from '@atlaskit/button/default/button';
15
15
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "31.1.11",
3
+ "version": "31.1.13",
4
4
  "description": "Media Insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -42,11 +42,11 @@
42
42
  "@atlaskit/section-message": "^10.2.0",
43
43
  "@atlaskit/tabs": "^21.2.0",
44
44
  "@atlaskit/textfield": "^10.2.0",
45
- "@atlaskit/tmp-editor-statsig": "^172.0.0",
45
+ "@atlaskit/tmp-editor-statsig": "^174.0.0",
46
46
  "@babel/runtime": "^7.0.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@atlaskit/editor-common": "^120.11.0",
49
+ "@atlaskit/editor-common": "^120.12.0",
50
50
  "@atlaskit/platform-feature-flags-react": "^1.2.0",
51
51
  "@atlaskit/tokens": "^16.11.0",
52
52
  "react": "^18.2.0 || ^19.2.0",