@bangle.dev/core
Advanced tools
Comparing version 0.17.2 to 0.18.0
@@ -0,1 +1,4 @@ | ||
/** | ||
* @jest-environment jsdom | ||
*/ | ||
import { domSerializationHelpers } from '../utils/dom-serialization-helpers'; | ||
@@ -2,0 +5,0 @@ import { components } from '../index'; |
{ | ||
"name": "@bangle.dev/core", | ||
"version": "0.17.2", | ||
"version": "0.18.0", | ||
"homepage": "https://bangle.dev", | ||
@@ -38,3 +38,3 @@ "authors": [ | ||
"prosemirror-transform": "^1.2.8", | ||
"prosemirror-utils": "^0.9.6", | ||
"prosemirror-utils": "1.0.0-0", | ||
"prosemirror-view": "^1.16.3" | ||
@@ -41,0 +41,0 @@ }, |
/** | ||
*/ | ||
const supportsEvent = ((event) => { | ||
if (event) { | ||
const supportsEvent = (() => { | ||
if (typeof Event !== 'undefined') { | ||
try { | ||
// eslint-disable-next-line no-unused-expressions | ||
new event('emit-init'); | ||
new Event('emit-init'); | ||
} catch (e) { | ||
@@ -13,3 +13,3 @@ return false; | ||
return true; | ||
})(Event); | ||
})(); | ||
@@ -16,0 +16,0 @@ /** |
@@ -13,3 +13,2 @@ /** | ||
const mountedEditors = new Set(); | ||
const rootElement = document.body; | ||
if (typeof afterEach === 'function') { | ||
@@ -48,3 +47,3 @@ afterEach(() => { | ||
plugins = () => newPlugins; | ||
const container = rootElement.appendChild(document.createElement('div')); | ||
const container = document.body.appendChild(document.createElement('div')); | ||
container.setAttribute('data-testid', testId); | ||
@@ -51,0 +50,0 @@ |
@@ -0,1 +1,5 @@ | ||
/** | ||
* @jest-environment jsdom | ||
*/ | ||
import { | ||
@@ -2,0 +6,0 @@ matchAllPlus, |
545283
19516
+ Addedprosemirror-utils@1.0.0-0(transitive)
- Removedprosemirror-tables@0.9.5(transitive)
- Removedprosemirror-utils@0.9.6(transitive)
Updatedprosemirror-utils@1.0.0-0