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.4 to 1.1.5

6

CHANGELOG.md

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

## 1.1.5 (2021-10-29)
### Bug fixes
Fix issue where iPhones and iPads with a hardware keyboard didn't have Mod converted to Cmd.
## 1.1.4 (2020-05-18)

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

4

dist/index.es.js

@@ -6,3 +6,3 @@ import { keyName, base } from 'w3c-keyname';

var mac = typeof navigator != "undefined" ? /Mac/.test(navigator.platform) : false;
var mac = typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : false;

@@ -79,3 +79,3 @@ function normalizeKeyName(name) {

// Given a set of bindings (using the same format as
// [`keymap`](#keymap.keymap), return a [keydown
// [`keymap`](#keymap.keymap)), return a [keydown
// handler](#view.EditorProps.handleKeyDown) that handles them.

@@ -82,0 +82,0 @@ function keydownHandler(bindings) {

@@ -10,3 +10,3 @@ 'use strict';

var mac = typeof navigator != "undefined" ? /Mac/.test(navigator.platform) : false;
var mac = typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : false;

@@ -83,3 +83,3 @@ function normalizeKeyName(name) {

// Given a set of bindings (using the same format as
// [`keymap`](#keymap.keymap), return a [keydown
// [`keymap`](#keymap.keymap)), return a [keydown
// handler](#view.EditorProps.handleKeyDown) that handles them.

@@ -86,0 +86,0 @@ function keydownHandler(bindings) {

{
"name": "prosemirror-keymap",
"version": "1.1.4",
"version": "1.1.5",
"description": "Keymap plugin for ProseMirror",

@@ -25,5 +25,5 @@ "main": "dist/index.js",

"ist": "^1.0.1",
"mocha": "^3.4.2",
"rollup": "^1.26.3",
"@rollup/plugin-buble": "^0.20.0"
"mocha": "^9.1.2",
"rollup": "^2.26.3",
"@rollup/plugin-buble": "^0.21.3"
},

@@ -30,0 +30,0 @@ "scripts": {

@@ -13,3 +13,3 @@ module.exports = {

plugins: [require('@rollup/plugin-buble')()],
external(id) { return !/^[\.\/]/.test(id) }
external(id) { return id[0] != "." && !require("path").isAbsolute(id) }
}

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

const mac = typeof navigator != "undefined" ? /Mac/.test(navigator.platform) : false
const mac = typeof navigator != "undefined" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : false

@@ -79,3 +79,3 @@ function normalizeKeyName(name) {

// Given a set of bindings (using the same format as
// [`keymap`](#keymap.keymap), return a [keydown
// [`keymap`](#keymap.keymap)), return a [keydown
// handler](#view.EditorProps.handleKeyDown) that handles them.

@@ -82,0 +82,0 @@ export function keydownHandler(bindings) {

Sorry, the diff of this file is not supported yet

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