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

@editorjs/editorjs

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@editorjs/editorjs - npm Package Compare versions

Comparing version 2.28.0-rc.0 to 2.28.0-rc.1

2

package.json
{
"name": "@editorjs/editorjs",
"version": "2.28.0-rc.0",
"version": "2.28.0-rc.1",
"description": "Editor.js — Native JS, based on API and Open Source",

@@ -5,0 +5,0 @@ "main": "dist/editorjs.umd.js",

@@ -133,2 +133,13 @@ import {OutputData} from '../data-formats/output-data';

update(id: string, data: BlockToolData): void;
/**
* Converts block to another type. Both blocks should provide the conversionConfig.
*
* @param id - id of the existed block to convert. Should provide 'conversionConfig.export' method
* @param newType - new block type. Should provide 'conversionConfig.import' method
* @param dataOverrides - optional data overrides for the new block
*
* @throws Error if conversion is not possible
*/
convert(id: string, newType: string, dataOverrides?: BlockToolData): void;
}

@@ -15,3 +15,3 @@ import type { BlockToolData } from '../tools';

*/
import: ((data: string) => string) | string;
import?: ((data: string) => string) | string;

@@ -26,3 +26,3 @@ /**

*/
export: ((data: BlockToolData) => string) | string;
export?: ((data: BlockToolData) => string) | string;
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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