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

@tiptap/extension-bold

Package Overview
Dependencies
Maintainers
2
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-bold - npm Package Compare versions

Comparing version 2.0.0-beta.15 to 2.0.0-beta.16

22

dist/tiptap-extension-bold.cjs.js

@@ -54,4 +54,10 @@ 'use strict';

return [
core.markInputRule(starInputRegex, this.type),
core.markInputRule(underscoreInputRegex, this.type),
core.markInputRule({
find: starInputRegex,
type: this.type,
}),
core.markInputRule({
find: underscoreInputRegex,
type: this.type,
}),
];

@@ -61,4 +67,10 @@ },

return [
core.markPasteRule(starPasteRegex, this.type),
core.markPasteRule(underscorePasteRegex, this.type),
core.markPasteRule({
find: starPasteRegex,
type: this.type,
}),
core.markPasteRule({
find: underscorePasteRegex,
type: this.type,
}),
];

@@ -69,3 +81,3 @@ },

exports.Bold = Bold;
exports.default = Bold;
exports["default"] = Bold;
exports.starInputRegex = starInputRegex;

@@ -72,0 +84,0 @@ exports.starPasteRegex = starPasteRegex;

@@ -50,4 +50,10 @@ import { Mark, mergeAttributes, markInputRule, markPasteRule } from '@tiptap/core';

return [
markInputRule(starInputRegex, this.type),
markInputRule(underscoreInputRegex, this.type),
markInputRule({
find: starInputRegex,
type: this.type,
}),
markInputRule({
find: underscoreInputRegex,
type: this.type,
}),
];

@@ -57,4 +63,10 @@ },

return [
markPasteRule(starPasteRegex, this.type),
markPasteRule(underscorePasteRegex, this.type),
markPasteRule({
find: starPasteRegex,
type: this.type,
}),
markPasteRule({
find: underscorePasteRegex,
type: this.type,
}),
];

@@ -64,4 +76,3 @@ },

export default Bold;
export { Bold, starInputRegex, starPasteRegex, underscoreInputRegex, underscorePasteRegex };
export { Bold, Bold as default, starInputRegex, starPasteRegex, underscoreInputRegex, underscorePasteRegex };
//# sourceMappingURL=tiptap-extension-bold.esm.js.map
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@tiptap/core')) :
typeof define === 'function' && define.amd ? define(['exports', '@tiptap/core'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['@tiptap/extension-bold'] = {}, global.core));
}(this, (function (exports, core) { 'use strict';
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@tiptap/extension-bold"] = {}, global.core));
})(this, (function (exports, core) { 'use strict';

@@ -54,4 +54,10 @@ const starInputRegex = /(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/gm;

return [
core.markInputRule(starInputRegex, this.type),
core.markInputRule(underscoreInputRegex, this.type),
core.markInputRule({
find: starInputRegex,
type: this.type,
}),
core.markInputRule({
find: underscoreInputRegex,
type: this.type,
}),
];

@@ -61,4 +67,10 @@ },

return [
core.markPasteRule(starPasteRegex, this.type),
core.markPasteRule(underscorePasteRegex, this.type),
core.markPasteRule({
find: starPasteRegex,
type: this.type,
}),
core.markPasteRule({
find: underscorePasteRegex,
type: this.type,
}),
];

@@ -69,3 +81,3 @@ },

exports.Bold = Bold;
exports.default = Bold;
exports["default"] = Bold;
exports.starInputRegex = starInputRegex;

@@ -78,3 +90,3 @@ exports.starPasteRegex = starPasteRegex;

})));
}));
//# sourceMappingURL=tiptap-extension-bold.umd.js.map
{
"name": "@tiptap/extension-bold",
"description": "bold extension for tiptap",
"version": "2.0.0-beta.15",
"version": "2.0.0-beta.16",
"homepage": "https://tiptap.dev",

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

},
"gitHead": "345ea8cf8abba6422dabc6e548594fb8e2c30409"
"gitHead": "ed00dbbe56d7a31dbfcf02594c4ce5f54c7bc27a"
}

@@ -85,4 +85,10 @@ import {

return [
markInputRule(starInputRegex, this.type),
markInputRule(underscoreInputRegex, this.type),
markInputRule({
find: starInputRegex,
type: this.type,
}),
markInputRule({
find: underscoreInputRegex,
type: this.type,
}),
]

@@ -93,6 +99,12 @@ },

return [
markPasteRule(starPasteRegex, this.type),
markPasteRule(underscorePasteRegex, this.type),
markPasteRule({
find: starPasteRegex,
type: this.type,
}),
markPasteRule({
find: underscorePasteRegex,
type: this.type,
}),
]
},
})

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