@textbus/collaborate 3.7.1 → 3.7.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,6 +17,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
17
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
18
  PERFORMANCE OF THIS SOFTWARE.
19
19
  ***************************************************************************** */
20
+ /* global Reflect, Promise, SuppressedError, Symbol */
21
+
20
22
 
21
23
  function __decorate(decorators, target, key, desc) {
22
24
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -31,7 +33,12 @@ function __param(paramIndex, decorator) {
31
33
 
32
34
  function __metadata(metadataKey, metadataValue) {
33
35
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
34
- }
36
+ }
37
+
38
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
39
+ var e = new Error(message);
40
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
41
+ };
35
42
 
36
43
  const collaborateErrorFn = makeError('Collaborate');
37
44
  class ContentMap {
package/bundles/index.js CHANGED
@@ -19,6 +19,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
19
19
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20
20
  PERFORMANCE OF THIS SOFTWARE.
21
21
  ***************************************************************************** */
22
+ /* global Reflect, Promise, SuppressedError, Symbol */
23
+
22
24
 
23
25
  function __decorate(decorators, target, key, desc) {
24
26
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
@@ -33,7 +35,12 @@ function __param(paramIndex, decorator) {
33
35
 
34
36
  function __metadata(metadataKey, metadataValue) {
35
37
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
36
- }
38
+ }
39
+
40
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
41
+ var e = new Error(message);
42
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
43
+ };
37
44
 
38
45
  const collaborateErrorFn = core.makeError('Collaborate');
39
46
  class ContentMap {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/collaborate",
3
- "version": "3.7.1",
3
+ "version": "3.7.8",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -25,9 +25,9 @@
25
25
  "typescript editor"
26
26
  ],
27
27
  "dependencies": {
28
- "@tanbo/di": "^1.1.5",
29
- "@tanbo/stream": "^1.2.0",
30
- "@textbus/core": "^3.7.1",
28
+ "@tanbo/di": "^1.1.8",
29
+ "@tanbo/stream": "^1.2.5",
30
+ "@textbus/core": "^3.7.8",
31
31
  "reflect-metadata": "^0.1.13",
32
32
  "y-protocols": "^1.0.5",
33
33
  "yjs": "^13.6.7"
@@ -50,5 +50,5 @@
50
50
  "bugs": {
51
51
  "url": "https://github.com/textbus/textbus.git/issues"
52
52
  },
53
- "gitHead": "ae5d2d19a2e6125b530ddef636e20e5a861e8136"
53
+ "gitHead": "1e3aa0095dd5ec6747e771be93b2dcefc9717025"
54
54
  }