New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remirror/react-ssr

Package Overview
Dependencies
Maintainers
1
Versions
277
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/react-ssr - npm Package Compare versions

Comparing version 0.4.2-canary.0 to 0.4.2-ci.8

8

package.json

@@ -12,3 +12,3 @@ {

},
"version": "0.4.2-canary.0",
"version": "0.4.2-ci.8+d5a5936b",
"main": "lib/index.js",

@@ -37,4 +37,4 @@ "module": "lib/dist/react-ssr.esm.js",

"@emotion/core": "^10.0.14",
"@remirror/core": "0.4.2-canary.0",
"@remirror/renderer-react": "0.4.2-canary.0",
"@remirror/core": "^0.4.2-canary.0",
"@remirror/renderer-react": "^0.4.2-ci.8+d5a5936b",
"@types/min-document": "^2.19.0",

@@ -57,3 +57,3 @@ "@types/prosemirror-view": "1.9.0",

"sideEffects": false,
"gitHead": "e6500c65aecbffad1b0f9bb2c0b8d4891ba764d3"
"gitHead": "d5a5936bf28d46bb2d144108aef29e029f553f4a"
}

@@ -81,11 +81,11 @@ import {

*/
export const createEditorView = (
export const createEditorView = <GSchema extends EditorSchema = EditorSchema>(
place: Node | ((p: Node) => void) | { mount: Node } | undefined,
props: DirectEditorProps,
forceEnvironment?: RenderEnvironment,
): EditorView => {
): EditorView<GSchema> => {
const Constructor = shouldUseDOMEnvironment(forceEnvironment)
? EditorView
: Cast<typeof EditorView>(EditorViewSSR);
return new Constructor(place, props);
return new Constructor(place, props) as any;
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc