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.1.0 to 1.1.1

6

CHANGELOG.md

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

## 1.1.1 (2019-11-15)
### Bug fixes
Fix an issue where keyboards layouts that use shift to produce characters that are created without shift on a US keyboard would fail to fire bindings for those keys that include the Shift- modifier.
## 1.1.0 (2019-11-08)

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

3

dist/keymap.js

@@ -94,2 +94,5 @@ 'use strict';

if (fromCode && fromCode(view.state, view.dispatch, view)) { return true }
} else if (isChar && event.shiftKey) {
var withShift = map[modifiers(name, event, true)];
if (withShift && withShift(view.state, view.dispatch, view)) { return true }
}

@@ -96,0 +99,0 @@ return false

2

package.json
{
"name": "prosemirror-keymap",
"version": "1.1.0",
"version": "1.1.1",
"description": "Keymap plugin for ProseMirror",

@@ -5,0 +5,0 @@ "main": "dist/keymap.js",

@@ -90,2 +90,5 @@ import {base, keyName} from "w3c-keyname"

if (fromCode && fromCode(view.state, view.dispatch, view)) return true
} else if (isChar && event.shiftKey) {
let withShift = map[modifiers(name, event, true)]
if (withShift && withShift(view.state, view.dispatch, view)) return true
}

@@ -92,0 +95,0 @@ return false

Sorry, the diff of this file is not supported yet

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