Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

use-prosemirror

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-prosemirror - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

4

dist/ProseMirror.d.ts
import React, { CSSProperties } from 'react';
import { EditorView, DirectEditorProps } from 'prosemirror-view';
import { EditorView, EditorProps } from 'prosemirror-view';
import { EditorState } from 'prosemirror-state';

@@ -8,3 +8,3 @@ import { Schema } from 'prosemirror-model';

}
interface Props<S extends Schema = any> extends Partial<DirectEditorProps<S>> {
interface Props<S extends Schema = any> extends EditorProps<S> {
state: EditorState<S>;

@@ -11,0 +11,0 @@ onChange: (state: EditorState) => void;

@@ -35,11 +35,5 @@ "use strict";

const prosemirror_view_1 = require("prosemirror-view");
exports.default = react_1.forwardRef(function ProseMirror(
// eslint-disable-next-line @typescript-eslint/no-unused-vars
_a, ref) {
exports.default = react_1.forwardRef(function ProseMirror(_a, ref) {
var _b;
var
// eslint-disable-next-line @typescript-eslint/no-unused-vars
{ dispatchTransaction, onChange, style, className } = _a, props = __rest(_a,
// eslint-disable-next-line @typescript-eslint/no-unused-vars
["dispatchTransaction", "onChange", "style", "className"]);
var { onChange, style, className } = _a, props = __rest(_a, ["onChange", "style", "className"]);
const root = react_1.useRef(null);

@@ -46,0 +40,0 @@ const initialProps = react_1.useRef(props);

{
"name": "use-prosemirror",
"version": "1.1.4",
"version": "1.1.5",
"description": "ProseMirror for React",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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