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

@tiptap/extension-bubble-menu

Package Overview
Dependencies
Maintainers
5
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-bubble-menu - npm Package Compare versions

Comparing version 2.5.0-beta.1 to 2.5.0-beta.2

2

dist/index.js

@@ -144,3 +144,3 @@ import { isTextSelection, isNodeSelection, posToDOMRect, Extension } from '@tiptap/core';

const { state } = view;
const hasValidSelection = state.selection.$from.pos !== state.selection.$to.pos;
const hasValidSelection = state.selection.from !== state.selection.to;
if (this.updateDelay > 0 && hasValidSelection) {

@@ -147,0 +147,0 @@ this.handleDebouncedUpdate(view, oldState);

@@ -150,3 +150,3 @@ (function (global, factory) {

const { state } = view;
const hasValidSelection = state.selection.$from.pos !== state.selection.$to.pos;
const hasValidSelection = state.selection.from !== state.selection.to;
if (this.updateDelay > 0 && hasValidSelection) {

@@ -153,0 +153,0 @@ this.handleDebouncedUpdate(view, oldState);

{
"name": "@tiptap/extension-bubble-menu",
"description": "bubble-menu extension for tiptap",
"version": "2.5.0-beta.1",
"version": "2.5.0-beta.2",
"homepage": "https://tiptap.dev",

@@ -41,4 +41,4 @@ "keywords": [

"devDependencies": {
"@tiptap/core": "^2.5.0-beta.1",
"@tiptap/pm": "^2.5.0-beta.1"
"@tiptap/core": "^2.5.0-beta.2",
"@tiptap/pm": "^2.5.0-beta.2"
},

@@ -45,0 +45,0 @@ "peerDependencies": {

@@ -192,3 +192,3 @@ import {

const { state } = view
const hasValidSelection = state.selection.$from.pos !== state.selection.$to.pos
const hasValidSelection = state.selection.from !== state.selection.to

@@ -195,0 +195,0 @@ if (this.updateDelay > 0 && hasValidSelection) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc