Socket
Socket
Sign inDemoInstall

prosemirror-keymap

Package Overview
Dependencies
6
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0-beta.1 to 1.2.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.2.0 (2022-05-30)
### New features
Include TypeScript type declarations.
## 1.1.5 (2021-10-29)

@@ -2,0 +8,0 @@

2

package.json
{
"name": "prosemirror-keymap",
"version": "1.2.0-beta.1",
"version": "1.2.0",
"description": "Keymap plugin for ProseMirror",

@@ -5,0 +5,0 @@ "type": "module",

@@ -70,3 +70,3 @@ import {base, keyName} from "w3c-keyname"

/// the array get to dispatch first).
export function keymap(bindings: {[key: string]: Command}) {
export function keymap(bindings: {[key: string]: Command}): Plugin {
return new Plugin({props: {handleKeyDown: keydownHandler(bindings)}})

@@ -73,0 +73,0 @@ }

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