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.3 to 1.5.0

35

prosemirror-dropcursor/package.json
{
"name": "@types/prosemirror-dropcursor",
"version": "1.0.3",
"description": "TypeScript definitions for prosemirror-dropcursor",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-dropcursor",
"license": "MIT",
"contributors": [
{
"name": "Bradley Ayers",
"url": "https://github.com/bradleyayers",
"githubUsername": "bradleyayers"
},
{
"name": "David Hahn",
"url": "https://github.com/davidka",
"githubUsername": "davidka"
},
{
"name": "Daniil Dotsev",
"url": "https://github.com/dddotsev",
"githubUsername": "dddotsev"
}
],
"version": "1.5.0",
"description": "Stub TypeScript definitions entry for prosemirror-dropcursor, which provides its own types definitions",
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/prosemirror-dropcursor"
},
"scripts": {},
"license": "MIT",
"dependencies": {
"@types/prosemirror-state": "*"
"prosemirror-dropcursor": "*"
},
"typesPublisherContentHash": "32f564ccd7721d97ffab2d1572071d77a4e6dd1902b118b29189f7c896d7166b",
"typeScriptVersion": "3.7"
"deprecated": "This is a stub types definition. prosemirror-dropcursor provides its own type definitions, so you do not need this installed."
}

@@ -1,45 +0,3 @@

# Installation
> `npm install --save @types/prosemirror-dropcursor`
This is a stub types definition for @types/prosemirror-dropcursor (https://github.com/prosemirror/prosemirror-dropcursor#readme).
# Summary
This package contains type definitions for prosemirror-dropcursor (https://github.com/ProseMirror/prosemirror-dropcursor).
# Details
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.class A CSS class name to add to the cursor element.
* @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?: {
class?: string | null | undefined;
color?: string | null | undefined;
width?: number | null | undefined;
}): Plugin;
````
### Additional Details
* Last updated: Mon, 23 Aug 2021 20:18:30 GMT
* Dependencies: [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state)
* Global values: none
# Credits
These definitions were written by [Bradley Ayers](https://github.com/bradleyayers), [David Hahn](https://github.com/davidka), and [Daniil Dotsev](https://github.com/dddotsev).
prosemirror-dropcursor provides its own type definitions, so you don't need @types/prosemirror-dropcursor installed!
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