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

@tiptap/extension-ordered-list

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-ordered-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-ordered-list@2.0.0-alpha.10...@tiptap/extension-ordered-list@2.0.0-alpha.11) (2021-02-16)
**Note:** Version bump only for package @tiptap/extension-ordered-list
# [2.0.0-alpha.10](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-ordered-list@2.0.0-alpha.9...@tiptap/extension-ordered-list@2.0.0-alpha.10) (2021-02-07)

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

18

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

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

}
export declare const inputRegex: RegExp;
export declare const OrderedList: Node<OrderedListOptions, {
/**
* Toggle an ordered list
*/
toggleOrderedList: () => Command;
}>;
declare module '@tiptap/core' {
interface AllExtensions {
OrderedList: typeof OrderedList;
interface Commands {
orderedList: {
/**
* Toggle an ordered list
*/
toggleOrderedList: () => Command;
};
}
}
export declare const inputRegex: RegExp;
export declare const OrderedList: Node<OrderedListOptions>;

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

return {
/**
* Toggle an ordered list
*/
toggleOrderedList: () => ({ commands }) => {

@@ -48,0 +45,0 @@ return commands.toggleList('orderedList', 'listItem');

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

return {
/**
* Toggle an ordered list
*/
toggleOrderedList: () => ({ commands }) => {

@@ -44,0 +41,0 @@ return commands.toggleList('orderedList', 'listItem');

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

return {
/**
* Toggle an ordered list
*/
toggleOrderedList: () => ({ commands }) => {

@@ -47,0 +44,0 @@ return commands.toggleList('orderedList', 'listItem');

{
"name": "@tiptap/extension-ordered-list",
"description": "ordered 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 {
orderedList: {
/**
* Toggle an ordered list
*/
toggleOrderedList: () => Command,
}
}
}
export const inputRegex = /^(\d+)\.\s$/
export const OrderedList = Node.create({
export const OrderedList = Node.create<OrderedListOptions>({
name: 'orderedList',
defaultOptions: <OrderedListOptions>{
defaultOptions: {
HTMLAttributes: {},

@@ -55,6 +66,3 @@ },

return {
/**
* Toggle an ordered list
*/
toggleOrderedList: (): Command => ({ commands }) => {
toggleOrderedList: () => ({ commands }) => {
return commands.toggleList('orderedList', 'listItem')

@@ -82,7 +90,1 @@ },

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

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