Socket
Socket
Sign inDemoInstall

@types/prosemirror-state

Package Overview
Dependencies
8
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.8 to 1.3.0

18

prosemirror-state/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for prosemirror-state 1.2
// Type definitions for prosemirror-state 1.3
// Project: https://github.com/ProseMirror/prosemirror-state, https://github.com/prosemirror/prosemirror

@@ -8,2 +8,3 @@ // Definitions by: Bradley Ayers <https://github.com/bradleyayers>

// Mike Morearty <https://github.com/mmorearty>
// Ocavue <https://github.com/ocavue>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -460,6 +461,21 @@ // TypeScript Version: 3.0

static create<S extends Schema = any>(config: {
/**
* The schema to use (only relevant if no `doc` is specified).
*/
schema?: S | null | undefined;
/**
* The starting document.
*/
doc?: ProsemirrorNode<S> | null | undefined;
/**
* A valid selection in the document.
*/
selection?: Selection<S> | null | undefined;
/**
* The initial set of [stored marks](#state.EditorState.storedMarks).
*/
storedMarks?: Mark[] | null | undefined;
/**
* The plugins that should be active in this state.
*/
plugins?: Array<Plugin<any, S>> | null | undefined;

@@ -466,0 +482,0 @@ }): EditorState<S>;

11

prosemirror-state/package.json
{
"name": "@types/prosemirror-state",
"version": "1.2.8",
"version": "1.3.0",
"description": "TypeScript definitions for prosemirror-state",

@@ -32,2 +32,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-state",

"githubUsername": "mmorearty"
},
{
"name": "Ocavue",
"url": "https://github.com/ocavue",
"githubUsername": "ocavue"
}

@@ -48,4 +53,4 @@ ],

},
"typesPublisherContentHash": "0725b7a5222e59867f0a82b15ccb366b46a7c2447551bb47f2d5956e5b90a70a",
"typeScriptVersion": "3.7"
"typesPublisherContentHash": "2d59efc2ac00c59583dd788e5bd5c39c41bc46c66bc58a1df8b266c421be58c4",
"typeScriptVersion": "3.9"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 02 Nov 2021 01:01:22 GMT
* Last updated: Mon, 02 May 2022 18:31:46 GMT
* Dependencies: [@types/prosemirror-model](https://npmjs.com/package/@types/prosemirror-model), [@types/prosemirror-transform](https://npmjs.com/package/@types/prosemirror-transform), [@types/prosemirror-view](https://npmjs.com/package/@types/prosemirror-view)

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by [Bradley Ayers](https://github.com/bradleyayers), [David Hahn](https://github.com/davidka), [Tim Baumann](https://github.com/timjb), [Patrick Simmelbauer](https://github.com/patsimm), and [Mike Morearty](https://github.com/mmorearty).
These definitions were written by [Bradley Ayers](https://github.com/bradleyayers), [David Hahn](https://github.com/davidka), [Tim Baumann](https://github.com/timjb), [Patrick Simmelbauer](https://github.com/patsimm), [Mike Morearty](https://github.com/mmorearty), and [Ocavue](https://github.com/ocavue).
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc