Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-view

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-view - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

6

CHANGELOG.md

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

## 1.3.6 (2018-06-21)
### Bug fixes
Make sure Safari version detection for clipboard support also works in iOS webview.
## 1.3.5 (2018-06-20)

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

2

package.json
{
"name": "prosemirror-view",
"version": "1.3.5",
"version": "1.3.6",
"description": "ProseMirror's view component",

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

@@ -20,3 +20,3 @@ const result = {}

result.safari = /Apple Computer/.test(navigator.vendor)
result.safari_version = result.safari && +(/\bVersion\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1]
result.webkit_version = result.webkit && +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1]
}

@@ -390,3 +390,3 @@ import {Selection, NodeSelection, TextSelection} from "prosemirror-state"

const brokenClipboardAPI = (browser.ie && browser.ie_version < 15) ||
(browser.ios && browser.safari_version < 11)
(browser.ios && browser.webkit_version < 604)

@@ -393,0 +393,0 @@ handlers.copy = editHandlers.cut = (view, e) => {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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