Socket
Socket
Sign inDemoInstall

@types/prosemirror-schema-list

Package Overview
Dependencies
8
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

6

prosemirror-schema-list/index.d.ts

@@ -43,7 +43,7 @@ // Type definitions for prosemirror-schema-list 1.0

*/
export function addListNodes(
nodes: OrderedMap<NodeSpec>,
export function addListNodes<N extends string = any>(
nodes: { [name in N]: NodeSpec } | OrderedMap<NodeSpec>,
itemContent: string,
listGroup?: string,
): OrderedMap<NodeSpec>;
): { [name in (N | "ordered_list" | "bullet_list" | "list_item")]: NodeSpec } | OrderedMap<NodeSpec>;
/**

@@ -50,0 +50,0 @@ * Returns a command function that wraps the selection in a list with

{
"name": "@types/prosemirror-schema-list",
"version": "1.0.2",
"version": "1.0.3",
"description": "TypeScript definitions for prosemirror-schema-list",

@@ -41,4 +41,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "649051e75e8c68e2f563c7e033842f5ea728b7c9f2fd1a29371fd2d9a1dd6d7f",
"typesPublisherContentHash": "cd5c8e612eee793958a8f664dce48b9e74e388272923c48829ade574c01cd1f4",
"typeScriptVersion": "3.4"
}

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

### Additional Details
* Last updated: Mon, 18 Jan 2021 15:07:08 GMT
* Last updated: Wed, 17 Feb 2021 16:27:06 GMT
* Dependencies: [@types/orderedmap](https://npmjs.com/package/@types/orderedmap), [@types/prosemirror-model](https://npmjs.com/package/@types/prosemirror-model), [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state)

@@ -14,0 +14,0 @@ * Global values: none

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