@atlaskit/node-data-provider 2.1.3 → 3.0.1

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,22 @@
1
1
  # @atlaskit/node-data-provider
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#165765](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165765)
8
+ [`3f441f30e6507`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f441f30e6507) -
9
+ Bump adf-schema to 46.0.0
10
+
11
+ ## 3.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - [#168498](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168498)
16
+ [`b618d5eba05a9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b618d5eba05a9) -
17
+ Removed private exported type `__doNotUseThisType`. This was only used for docs locally, and was
18
+ not meant to be exported
19
+
3
20
  ## 2.1.3
4
21
 
5
22
  ### Patch Changes
@@ -15,6 +15,9 @@ exports.useContentNodeDataProviders = useContentNodeDataProviders;
15
15
  var _react = _interopRequireDefault(require("react"));
16
16
  var _globalNdpCaches = require("./_global-ndp-caches");
17
17
  var _internalContext = require("./_internal-context");
18
+ /* eslint-disable @atlaskit/editor/no-re-export */
19
+ // Entry file
20
+
18
21
  var ContentNodeDataProvidersContext = /*#__PURE__*/_react.default.createContext(undefined);
19
22
 
20
23
  /**
package/dist/cjs/index.js CHANGED
@@ -12,8 +12,6 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
12
12
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
13
13
  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; }
14
14
  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; }
15
- // re exported to avoid type issues
16
- // this type is only used in jsdoc comments in this file.
17
15
  /**
18
16
  * This is the base class for creating a node data provider for an editor plugin.
19
17
  *
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file
3
+
1
4
  import React from 'react';
2
5
  import { _resetGlobalNdpCachesContext } from './_global-ndp-caches';
3
6
  import { useContentNodeDataProvidersSetup } from './_internal-context';
@@ -1,7 +1,4 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- // re exported to avoid type issues
3
- // this type is only used in jsdoc comments in this file.
4
-
5
2
  /**
6
3
  * This is the base class for creating a node data provider for an editor plugin.
7
4
  *
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file
3
+
1
4
  import React from 'react';
2
5
  import { _resetGlobalNdpCachesContext } from './_global-ndp-caches';
3
6
  import { useContentNodeDataProvidersSetup } from './_internal-context';
package/dist/esm/index.js CHANGED
@@ -5,9 +5,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
5
  import _regeneratorRuntime from "@babel/runtime/regenerator";
6
6
  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; }
7
7
  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; }
8
- // re exported to avoid type issues
9
- // this type is only used in jsdoc comments in this file.
10
-
11
8
  /**
12
9
  * This is the base class for creating a node data provider for an editor plugin.
13
10
  *
@@ -1,5 +1,3 @@
1
- import type { buildCaches } from './cache';
2
- export type { buildCaches as __doNotUseThisType };
3
1
  /**
4
2
  * This is the base class for creating a node data provider for an editor plugin.
5
3
  *
@@ -1,5 +1,3 @@
1
- import type { buildCaches } from './cache';
2
- export type { buildCaches as __doNotUseThisType };
3
1
  /**
4
2
  * This is the base class for creating a node data provider for an editor plugin.
5
3
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/node-data-provider",
3
- "version": "2.1.3",
3
+ "version": "3.0.1",
4
4
  "description": "Node data provider for @atlaskit/editor-core plugins and @atlaskit/renderer",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,9 +28,9 @@
28
28
  "./get-confluence-page-providers": "./src/get-providers/confluence-page.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^44.2.0",
32
- "@atlaskit/adf-utils": "^19.10.0",
33
- "@atlaskit/emoji": "^67.9.0",
31
+ "@atlaskit/adf-schema": "^46.1.0",
32
+ "@atlaskit/adf-utils": "^19.13.0",
33
+ "@atlaskit/emoji": "^67.11.0",
34
34
  "@babel/runtime": "^7.0.0"
35
35
  },
36
36
  "peerDependencies": {