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

@remirror/renderer-react

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/renderer-react - npm Package Compare versions

Comparing version 0.4.2-canary.0 to 0.4.2-canary.1

8

lib/serializer.d.ts
import { ReactNode } from 'react';
import { DOMOutputSpec, ExtensionManager, Fragment as ProsemirrorFragment, Mark, MarkExtensionSpec, NodeExtensionSpec, ProsemirrorNode } from '@remirror/core';
import { AnyExtension, DOMOutputSpec, ExtensionManager, Fragment as ProsemirrorFragment, Mark, MarkExtensionSpec, NodeExtensionSpec, ProsemirrorNode } from '@remirror/core';
declare type NodeToDOM = NodeExtensionSpec['toDOM'];

@@ -8,3 +8,3 @@ declare type MarkToDOM = MarkExtensionSpec['toDOM'];

*/
export declare class ReactSerializer {
export declare class ReactSerializer<GExtensions extends AnyExtension[] = AnyExtension[]> {
nodes: Record<string, NodeToDOM>;

@@ -14,3 +14,3 @@ marks: Record<string, MarkToDOM>;

private options;
constructor(nodes: Record<string, NodeToDOM>, marks: Record<string, MarkToDOM>, manager: ExtensionManager);
constructor(nodes: Record<string, NodeToDOM>, marks: Record<string, MarkToDOM>, manager: ExtensionManager<GExtensions>);
/**

@@ -53,3 +53,3 @@ * The main entry method on this class for traversing through a schema tree and creating JSx.

*/
static fromExtensionManager(manager: ExtensionManager): ReactSerializer;
static fromExtensionManager<GExtensions extends AnyExtension[] = AnyExtension[]>(manager: ExtensionManager<GExtensions>): ReactSerializer<GExtensions>;
/**

@@ -56,0 +56,0 @@ * Pluck nodes from the extension manager

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

},
"version": "0.4.2-canary.0",
"version": "0.4.2-canary.1",
"main": "lib/index.js",

@@ -34,4 +34,4 @@ "module": "lib/dist/renderer-react.esm.js",

"@emotion/core": "^10.0.14",
"@remirror/core": "0.4.2-canary.0",
"@remirror/react-utils": "0.4.2-canary.0"
"@remirror/core": "0.4.2-canary.1",
"@remirror/react-utils": "0.4.2-canary.1"
},

@@ -45,3 +45,3 @@ "peerDependencies": {

"devDependencies": {
"@remirror/core-extensions": "0.4.2-canary.0",
"@remirror/core-extensions": "0.4.2-canary.1",
"prosemirror-model": "^1.7.1"

@@ -54,3 +54,3 @@ },

"sideEffects": false,
"gitHead": "e6500c65aecbffad1b0f9bb2c0b8d4891ba764d3"
"gitHead": "0330899c87713ed1398df695715d1fed87267462"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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