You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@tiptap/extension-task-item

Package Overview
Dependencies
Maintainers
5
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-task-item - npm Package Compare versions

Comparing version

to
2.5.9

2

dist/index.js

@@ -31,3 +31,3 @@ import { Node, mergeAttributes, wrappingInputRule } from '@tiptap/core';

const dataChecked = element.getAttribute('data-checked');
return dataChecked == null || dataChecked === 'true';
return dataChecked === '' || dataChecked === 'true';
},

@@ -34,0 +34,0 @@ renderHTML: attributes => ({

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

const dataChecked = element.getAttribute('data-checked');
return dataChecked == null || dataChecked === 'true';
return dataChecked === '' || dataChecked === 'true';
},

@@ -38,0 +38,0 @@ renderHTML: attributes => ({

@@ -341,4 +341,4 @@ import { Plugin, Transaction } from '@tiptap/pm/state';

static create<O = any, S = any>(config?: Partial<ExtensionConfig<O, S>>): Extension<O, S>;
configure(options?: Partial<Options>): Extension<any, any>;
configure(options?: Partial<Options>): Extension<Options, Storage>;
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<ExtensionConfig<ExtendedOptions, ExtendedStorage>>): Extension<ExtendedOptions, ExtendedStorage>;
}
import { Node as ProseMirrorNode } from '@tiptap/pm/model';
/**
* Returns true if the given node is empty.
* When `checkChildren` is true (default), it will also check if all children are empty.
* Returns true if the given prosemirror node is empty.
*/
export declare function isNodeEmpty(node: ProseMirrorNode, { checkChildren }?: {
checkChildren: boolean;
export declare function isNodeEmpty(node: ProseMirrorNode, { checkChildren, ignoreWhitespace, }?: {
/**
* When true (default), it will also check if all children are empty.
*/
checkChildren?: boolean;
/**
* When true, it will ignore whitespace when checking for emptiness.
*/
ignoreWhitespace?: boolean;
}): boolean;

@@ -445,3 +445,3 @@ import { DOMOutputSpec, Mark as ProseMirrorMark, MarkSpec, MarkType } from '@tiptap/pm/model';

static create<O = any, S = any>(config?: Partial<MarkConfig<O, S>>): Mark<O, S>;
configure(options?: Partial<Options>): Mark<any, any>;
configure(options?: Partial<Options>): Mark<Options, Storage>;
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<MarkConfig<ExtendedOptions, ExtendedStorage>>): Mark<ExtendedOptions, ExtendedStorage>;

@@ -448,0 +448,0 @@ static handleExit({ editor, mark }: {

@@ -609,4 +609,4 @@ import { DOMOutputSpec, Node as ProseMirrorNode, NodeSpec, NodeType } from '@tiptap/pm/model';

static create<O = any, S = any>(config?: Partial<NodeConfig<O, S>>): Node<O, S>;
configure(options?: Partial<Options>): Node<any, any>;
configure(options?: Partial<Options>): Node<Options, Storage>;
extend<ExtendedOptions = Options, ExtendedStorage = Storage>(extendedConfig?: Partial<NodeConfig<ExtendedOptions, ExtendedStorage>>): Node<ExtendedOptions, ExtendedStorage>;
}
{
"name": "@tiptap/extension-task-item",
"description": "task item extension for tiptap",
"version": "2.5.8",
"version": "2.5.9",
"homepage": "https://tiptap.dev",

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

"devDependencies": {
"@tiptap/core": "^2.5.8",
"@tiptap/pm": "^2.5.8"
"@tiptap/core": "^2.5.9",
"@tiptap/pm": "^2.5.9"
},
"peerDependencies": {
"@tiptap/core": "^2.5.8",
"@tiptap/pm": "^2.5.8"
"@tiptap/core": "^2.5.9",
"@tiptap/pm": "^2.5.9"
},

@@ -40,0 +40,0 @@ "repository": {

@@ -71,3 +71,3 @@ import {

return dataChecked == null || dataChecked === 'true'
return dataChecked === '' || dataChecked === 'true'
},

@@ -74,0 +74,0 @@ renderHTML: attributes => ({

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