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

braft-utils

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

braft-utils - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

4

dist/content.js

@@ -377,5 +377,7 @@ 'use strict';

type = media.type,
width = media.width,
height = media.height,
meta = media.meta;
var contentStateWithEntity = editorState.getCurrentContent().createEntity(type, 'IMMUTABLE', { url: url, name: name, type: type, meta: meta });
var contentStateWithEntity = editorState.getCurrentContent().createEntity(type, 'IMMUTABLE', { url: url, name: name, type: type, width: width, height: height, meta: meta });
var entityKey = contentStateWithEntity.getLastCreatedEntityKey();

@@ -382,0 +384,0 @@ return _draftJs.AtomicBlockUtils.insertAtomicBlock(editorState, entityKey, ' ');

{
"name": "braft-utils",
"version": "3.0.4",
"version": "3.0.5",
"description": "Utils for Braft Editor",

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

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