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

@tiptap/extension-bullet-list

Package Overview
Dependencies
Maintainers
2
Versions
168
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-bullet-list - npm Package Compare versions

Comparing version 2.0.0-alpha.10 to 2.0.0-alpha.11

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [2.0.0-alpha.11](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bullet-list@2.0.0-alpha.10...@tiptap/extension-bullet-list@2.0.0-alpha.11) (2021-02-16)
**Note:** Version bump only for package @tiptap/extension-bullet-list
# [2.0.0-alpha.10](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-bullet-list@2.0.0-alpha.9...@tiptap/extension-bullet-list@2.0.0-alpha.10) (2021-02-07)

@@ -8,0 +16,0 @@

18

dist/packages/extension-bullet-list/src/bullet-list.d.ts

@@ -7,13 +7,13 @@ import { Command, Node } from '@tiptap/core';

}
export declare const inputRegex: RegExp;
export declare const BulletList: Node<BulletListOptions, {
/**
* Toggle a bullet list
*/
toggleBulletList: () => Command;
}>;
declare module '@tiptap/core' {
interface AllExtensions {
BulletList: typeof BulletList;
interface Commands {
bulletList: {
/**
* Toggle a bullet list
*/
toggleBulletList: () => Command;
};
}
}
export declare const inputRegex: RegExp;
export declare const BulletList: Node<BulletListOptions>;

@@ -26,5 +26,2 @@ 'use strict';

return {
/**
* Toggle a bullet list
*/
toggleBulletList: () => ({ commands }) => {

@@ -31,0 +28,0 @@ return commands.toggleList('bulletList', 'listItem');

@@ -22,5 +22,2 @@ import { Node, mergeAttributes } from '@tiptap/core';

return {
/**
* Toggle a bullet list
*/
toggleBulletList: () => ({ commands }) => {

@@ -27,0 +24,0 @@ return commands.toggleList('bulletList', 'listItem');

@@ -25,5 +25,2 @@ (function (global, factory) {

return {
/**
* Toggle a bullet list
*/
toggleBulletList: () => ({ commands }) => {

@@ -30,0 +27,0 @@ return commands.toggleList('bulletList', 'listItem');

{
"name": "@tiptap/extension-bullet-list",
"description": "bullet list extension for tiptap",
"version": "2.0.0-alpha.10",
"version": "2.0.0-alpha.11",
"homepage": "https://tiptap.dev",

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

},
"gitHead": "6bdeb4615c7b6afba4a2fcac4e3c35d7a7c0030a"
"gitHead": "71d8fbbcb1eacd664bb6992e0086a589e4684e69"
}

@@ -10,8 +10,19 @@ import { Command, Node, mergeAttributes } from '@tiptap/core'

declare module '@tiptap/core' {
interface Commands {
bulletList: {
/**
* Toggle a bullet list
*/
toggleBulletList: () => Command,
}
}
}
export const inputRegex = /^\s*([-+*])\s$/
export const BulletList = Node.create({
export const BulletList = Node.create<BulletListOptions>({
name: 'bulletList',
defaultOptions: <BulletListOptions>{
defaultOptions: {
HTMLAttributes: {},

@@ -36,6 +47,3 @@ },

return {
/**
* Toggle a bullet list
*/
toggleBulletList: (): Command => ({ commands }) => {
toggleBulletList: () => ({ commands }) => {
return commands.toggleList('bulletList', 'listItem')

@@ -58,7 +66,1 @@ },

})
declare module '@tiptap/core' {
interface AllExtensions {
BulletList: typeof BulletList,
}
}

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