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

@types/prosemirror-dropcursor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/prosemirror-dropcursor - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

prosemirror-dropcursor/index.d.ts

@@ -20,2 +20,2 @@ // Type definitions for prosemirror-dropcursor 1.0

*/
export function dropCursor(options?: { color?: string | null; width?: number | null }): Plugin;
export function dropCursor(options?: { color?: string | null | undefined; width?: number | null | undefined }): Plugin;
{
"name": "@types/prosemirror-dropcursor",
"version": "1.0.1",
"version": "1.0.2",
"description": "TypeScript definitions for prosemirror-dropcursor",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-dropcursor",
"license": "MIT",

@@ -34,4 +35,4 @@ "contributors": [

},
"typesPublisherContentHash": "05b87cd3d1f9f1e2a6a44dee47cea238552504939d86fb9cba2b7cb5841b1750",
"typeScriptVersion": "3.4"
"typesPublisherContentHash": "7ef2616626b222a7ab9e096d1482d0528e967ea545eae3c4dd905f01de05fe5b",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,29 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-dropcursor.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-dropcursor/index.d.ts)
````ts
// Type definitions for prosemirror-dropcursor 1.0
// Project: https://github.com/ProseMirror/prosemirror-dropcursor
// Definitions by: Bradley Ayers <https://github.com/bradleyayers>
// David Hahn <https://github.com/davidka>
// Daniil Dotsev <https://github.com/dddotsev>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
import { Plugin } from 'prosemirror-state';
/**
* Create a plugin that, when added to a ProseMirror instance,
* causes a decoration to show up at the drop position when something
* is dragged over the editor.
*
* @param options These options are supported:
* @param options.color The color of the cursor. Defaults to `black`.
* @param options.width The precise width of the cursor in pixels. Defaults to 1.
*/
export function dropCursor(options?: { color?: string | null | undefined; width?: number | null | undefined }): Plugin;
````
### Additional Details
* Last updated: Mon, 18 Jan 2021 15:07:05 GMT
* Last updated: Wed, 07 Jul 2021 17:02:38 GMT
* Dependencies: [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state)

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

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