New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

quill-delta-to-object

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quill-delta-to-object - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

3

dist/commonjs/src/QuillDeltaToObjectConverter.js

@@ -90,2 +90,5 @@ "use strict";

}
if (resultList.length == 0) {
return resultList.concat([{ type: 'textBlock', value: [currentValue] }]);
}
var beforeElement = resultList.pop();

@@ -92,0 +95,0 @@ var isBeforeElementHasTextBlockType = beforeElement.type === 'textBlock';

@@ -9,2 +9,5 @@ "use strict";

{
insert: 'Hello World',
},
{
attributes: {

@@ -11,0 +14,0 @@ header: 1,

2

package.json
{
"name": "quill-delta-to-object",
"version": "0.0.5",
"version": "0.0.6",
"description": "Converts Quill's delta ops to Object",

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

@@ -117,2 +117,5 @@ import { InsertOpsConverter } from './InsertOpsConverter';

if (resultList.length == 0) {
return [...resultList, { type: 'textBlock', value: [currentValue] }];
}
const beforeElement: any = resultList.pop();

@@ -119,0 +122,0 @@ const isBeforeElementHasTextBlockType =

@@ -10,2 +10,5 @@ // ./node_modules/.bin/ts-node src/sample.ts

{
insert: 'Hello World',
},
{
attributes: {

@@ -12,0 +15,0 @@ header: 1,

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