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

@remirror/extension-heading

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-heading - npm Package Compare versions

Comparing version 0.0.0-pr920.1 to 0.0.0-pr922.1

6

dist/remirror-extension-heading.browser.cjs.js

@@ -55,2 +55,4 @@ 'use strict';

createNodeSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({

@@ -66,3 +68,3 @@ content: 'inline*',

}),
parseDOM: this.options.levels.map(level => ({
parseDOM: [...this.options.levels.map(level => ({
tag: "h".concat(level),

@@ -72,3 +74,3 @@ getAttrs: element => _objectSpread(_objectSpread({}, extra.parse(element)), {}, {

})
})),
})), ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: node => {

@@ -75,0 +77,0 @@ if (!this.options.levels.includes(node.attrs.level)) {

@@ -51,2 +51,4 @@ import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper';

createNodeSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({

@@ -62,3 +64,3 @@ content: 'inline*',

}),
parseDOM: this.options.levels.map(level => ({
parseDOM: [...this.options.levels.map(level => ({
tag: "h".concat(level),

@@ -68,3 +70,3 @@ getAttrs: element => _objectSpread(_objectSpread({}, extra.parse(element)), {}, {

})
})),
})), ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: node => {

@@ -71,0 +73,0 @@ if (!this.options.levels.includes(node.attrs.level)) {

@@ -55,2 +55,4 @@ 'use strict';

createNodeSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({

@@ -66,3 +68,3 @@ content: 'inline*',

}),
parseDOM: this.options.levels.map(level => ({
parseDOM: [...this.options.levels.map(level => ({
tag: "h".concat(level),

@@ -72,3 +74,3 @@ getAttrs: element => _objectSpread(_objectSpread({}, extra.parse(element)), {}, {

})
})),
})), ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: node => {

@@ -75,0 +77,0 @@ if (!this.options.levels.includes(node.attrs.level)) {

@@ -55,2 +55,4 @@ 'use strict';

createNodeSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({

@@ -66,3 +68,3 @@ content: 'inline*',

}),
parseDOM: this.options.levels.map(level => ({
parseDOM: [...this.options.levels.map(level => ({
tag: "h".concat(level),

@@ -72,3 +74,3 @@ getAttrs: element => _objectSpread(_objectSpread({}, extra.parse(element)), {}, {

})
})),
})), ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: node => {

@@ -75,0 +77,0 @@ if (!this.options.levels.includes(node.attrs.level)) {

@@ -51,2 +51,4 @@ import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper';

createNodeSpec(extra, override) {
var _override$parseDOM;
return _objectSpread(_objectSpread({

@@ -62,3 +64,3 @@ content: 'inline*',

}),
parseDOM: this.options.levels.map(level => ({
parseDOM: [...this.options.levels.map(level => ({
tag: "h".concat(level),

@@ -68,3 +70,3 @@ getAttrs: element => _objectSpread(_objectSpread({}, extra.parse(element)), {}, {

})
})),
})), ...((_override$parseDOM = override.parseDOM) !== null && _override$parseDOM !== void 0 ? _override$parseDOM : [])],
toDOM: node => {

@@ -71,0 +73,0 @@ if (!this.options.levels.includes(node.attrs.level)) {

{
"name": "@remirror/extension-heading",
"version": "0.0.0-pr920.1",
"version": "0.0.0-pr922.1",
"description": "Add headings to your text editor.",

@@ -39,10 +39,10 @@ "keywords": [

"@babel/runtime": "^7.13.10",
"@remirror/core": "0.0.0-pr920.1",
"@remirror/messages": "0.0.0-pr920.1"
"@remirror/core": "0.0.0-pr922.1",
"@remirror/messages": "0.0.0-pr922.1"
},
"devDependencies": {
"@remirror/pm": "0.0.0-pr920.1"
"@remirror/pm": "0.0.0-pr922.1"
},
"peerDependencies": {
"@remirror/pm": "0.0.0-pr920.1"
"@remirror/pm": "0.0.0-pr922.1"
},

@@ -49,0 +49,0 @@ "publishConfig": {

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