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.1 to 2.28.0-rc.2

2

dist/vendor.LICENSE.txt

@@ -412,3 +412,3 @@ Name: @babel/register

Name: @editorjs/paragraph
Version: 2.9.0
Version: 2.10.0
License: MIT

@@ -415,0 +415,0 @@ Private: false

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

@@ -47,3 +47,3 @@ "main": "dist/editorjs.umd.js",

"@editorjs/header": "^2.7.0",
"@editorjs/paragraph": "^2.9.0",
"@editorjs/paragraph": "^2.10.0",
"@editorjs/simple-image": "^1.4.1",

@@ -57,2 +57,3 @@ "@types/node": "^18.15.11",

"cypress-intellij-reporter": "^0.0.7",
"cypress-terminal-report": "^5.3.2",
"eslint": "^8.37.0",

@@ -59,0 +60,0 @@ "eslint-config-codex": "^1.7.1",

@@ -1,2 +0,2 @@

import {OutputData} from '../data-formats/output-data';
import {OutputBlockData, OutputData} from '../data-formats/output-data';
import {BlockToolData, ToolConfig} from '../tools';

@@ -106,3 +106,2 @@ import {BlockAPI} from './block';

* @param {string} id — An optional id for the new block. If omitted then the new id will be generated
*/

@@ -119,3 +118,11 @@ insert(

/**
* Inserts several Blocks to specified index
*/
insertMany(
blocks: OutputBlockData[],
index?: number,
): BlockAPI[];
/**

@@ -122,0 +129,0 @@ * Creates data of an empty block with a passed type.

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