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

@lexical/headless

Package Overview
Dependencies
Maintainers
5
Versions
229
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lexical/headless - npm Package Compare versions

Comparing version 0.14.5 to 0.15.0

3

LexicalHeadless.dev.js

@@ -6,3 +6,5 @@ /**

* LICENSE file in the root directory of this source tree.
*
*/
'use strict';

@@ -20,2 +22,3 @@

/**

@@ -22,0 +25,0 @@ * Generates a headless editor that allows lexical to be used without the need for a DOM, eg in Node.js.

@@ -6,5 +6,7 @@ /**

* LICENSE file in the root directory of this source tree.
*
*/
'use strict'
const LexicalHeadless = process.env.NODE_ENV === 'development' ? require('./LexicalHeadless.dev.js') : require('./LexicalHeadless.prod.js');
module.exports = LexicalHeadless;

@@ -6,3 +6,5 @@ /**

* LICENSE file in the root directory of this source tree.
*
*/
'use strict';var c=require("lexical");exports.createHeadlessEditor=function(d){let a=c.createEditor(d);a._headless=!0;"registerDecoratorListener registerRootListener registerMutationListener getRootElement setRootElement getElementByKey focus blur".split(" ").forEach(b=>{a[b]=()=>{throw Error(`${b} is not supported in headless mode`);}});return a}

4

package.json

@@ -11,3 +11,3 @@ {

"license": "MIT",
"version": "0.14.5",
"version": "0.15.0",
"main": "LexicalHeadless.js",

@@ -40,4 +40,4 @@ "types": "index.d.ts",

"dependencies": {
"lexical": "0.14.5"
"lexical": "0.15.0"
}
}

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