@atlaskit/prosemirror-collab 0.22.1 → 0.22.3
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 +14 -0
- package/dist/cjs/index.js +2 -0
- package/dist/es2019/index.js +2 -0
- package/dist/esm/index.js +2 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/prosemirror-collab
|
|
2
2
|
|
|
3
|
+
## 0.22.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
|
|
8
|
+
EDITOR-2791 bump adf-schema
|
|
9
|
+
|
|
10
|
+
## 0.22.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`21fe79119fe74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21fe79119fe74) -
|
|
15
|
+
EDITOR-2447 Bump adf-schema to 51.3.2
|
|
16
|
+
|
|
3
17
|
## 0.22.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,6 +19,7 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
19
19
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
20
20
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
21
21
|
var _movedContent = require("./movedContent");
|
|
22
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
22
23
|
var Rebaseable = exports.Rebaseable = /*#__PURE__*/(0, _createClass2.default)(function Rebaseable(step, inverted, origin) {
|
|
23
24
|
(0, _classCallCheck2.default)(this, Rebaseable);
|
|
24
25
|
this.step = step;
|
|
@@ -91,6 +92,7 @@ function collab() {
|
|
|
91
92
|
// eslint-disable-next-line eqeqeq
|
|
92
93
|
// generate a temporary id as clientId when it is null or undefined
|
|
93
94
|
// prefix temp-pc- indicates prosemirror-collab
|
|
95
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
94
96
|
config.clientID == null || !config.clientID ? "temp-pc-".concat((0, _uuid.v4)()) : config.clientID
|
|
95
97
|
};
|
|
96
98
|
var transformUnconfirmed = (_config$transformUnco = config.transformUnconfirmed) !== null && _config$transformUnco !== void 0 ? _config$transformUnco : function (steps) {
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
1
2
|
import { v4 as uuidv4 } from 'uuid';
|
|
2
3
|
import { Plugin, PluginKey, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
3
4
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -76,6 +77,7 @@ export function collab(config = {}) {
|
|
|
76
77
|
// eslint-disable-next-line eqeqeq
|
|
77
78
|
// generate a temporary id as clientId when it is null or undefined
|
|
78
79
|
// prefix temp-pc- indicates prosemirror-collab
|
|
80
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
79
81
|
config.clientID == null || !config.clientID ? `temp-pc-${uuidv4()}` : config.clientID
|
|
80
82
|
};
|
|
81
83
|
const transformUnconfirmed = (_config$transformUnco = config.transformUnconfirmed) !== null && _config$transformUnco !== void 0 ? _config$transformUnco : steps => steps;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
3
4
|
import { v4 as uuidv4 } from 'uuid';
|
|
4
5
|
import { Plugin, PluginKey, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
5
6
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -77,6 +78,7 @@ export function collab() {
|
|
|
77
78
|
// eslint-disable-next-line eqeqeq
|
|
78
79
|
// generate a temporary id as clientId when it is null or undefined
|
|
79
80
|
// prefix temp-pc- indicates prosemirror-collab
|
|
81
|
+
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
80
82
|
config.clientID == null || !config.clientID ? "temp-pc-".concat(uuidv4()) : config.clientID
|
|
81
83
|
};
|
|
82
84
|
var transformUnconfirmed = (_config$transformUnco = config.transformUnconfirmed) !== null && _config$transformUnco !== void 0 ? _config$transformUnco : function (steps) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/prosemirror-collab",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.3",
|
|
4
4
|
"description": "Collaborative editing for ProseMirror - Atlassian Fork",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"singleton": true
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^51.
|
|
30
|
+
"@atlaskit/adf-schema": "^51.4.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
32
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
32
|
+
"@atlaskit/tmp-editor-statsig": "^13.38.0",
|
|
33
33
|
"@babel/runtime": "^7.0.0",
|
|
34
34
|
"uuid": "^3.1.0"
|
|
35
35
|
},
|