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

@tiptap/extension-character-count

Package Overview
Dependencies
Maintainers
2
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-character-count - npm Package Compare versions

Comparing version 2.0.0-beta.22 to 2.0.0-beta.23

2

dist/packages/extension-character-count/src/character-count.d.ts

@@ -7,3 +7,3 @@ import { Extension } from '@tiptap/core';

*/
limit: number;
limit: number | null | undefined;
/**

@@ -10,0 +10,0 @@ * The mode by which the size is calculated. Defaults to 'textSize'.

{
"name": "@tiptap/extension-character-count",
"description": "font family extension for tiptap",
"version": "2.0.0-beta.22",
"version": "2.0.0-beta.23",
"homepage": "https://tiptap.dev",

@@ -32,3 +32,3 @@ "keywords": [

},
"gitHead": "53213439b5ff1f4b6ec5f258d84cf7b8ec594b51"
"gitHead": "0e0cdc053f067a5edcf179fbd55063da20806bff"
}

@@ -9,3 +9,3 @@ import { Extension } from '@tiptap/core'

*/
limit: number,
limit: number | null | undefined,
/**

@@ -39,3 +39,3 @@ * The mode by which the size is calculated. Defaults to 'textSize'.

return {
limit: 0,
limit: null,
mode: 'textSize',

@@ -85,3 +85,3 @@ }

// Nothing has changed or no limit is defined. Ignore it.
if (!transaction.docChanged || limit === 0) {
if (!transaction.docChanged || limit === 0 || limit === null || limit === undefined) {
return true

@@ -88,0 +88,0 @@ }

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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