Socket
Socket
Sign inDemoInstall

quill

Package Overview
Dependencies
7
Maintainers
2
Versions
94
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

2

core/emitter.d.ts

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

import EventEmitter from 'eventemitter3';
import { EventEmitter } from 'eventemitter3';
declare class Emitter extends EventEmitter<string> {

@@ -3,0 +3,0 @@ static events: {

@@ -7,3 +7,3 @@ "use strict";

exports.default = void 0;
var _eventemitter = _interopRequireDefault(require("eventemitter3"));
var _eventemitter = require("eventemitter3");
var _instances = _interopRequireDefault(require("./instances"));

@@ -27,3 +27,3 @@ var _logger = _interopRequireDefault(require("./logger"));

});
class Emitter extends _eventemitter.default {
class Emitter extends _eventemitter.EventEmitter {
static events = {

@@ -30,0 +30,0 @@ EDITOR_CHANGE: 'editor-change',

@@ -39,3 +39,3 @@ "use strict";

static sources = _emitter.default.sources;
static version = typeof "2.0.0-rc.0" === 'undefined' ? 'dev' : "2.0.0-rc.0";
static version = typeof "2.0.0-rc.1" === 'undefined' ? 'dev' : "2.0.0-rc.1";
static imports = {

@@ -42,0 +42,0 @@ delta: _quillDelta.default,

/*!
* Quill Editor v2.0.0-rc.0
* Quill Editor v2.0.0-rc.1
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

/*!
* Quill Editor v2.0.0-rc.0
* Quill Editor v2.0.0-rc.1
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

/*!
* Quill Editor v2.0.0-rc.0
* Quill Editor v2.0.0-rc.1
* https://quilljs.com

@@ -8,10 +8,1 @@ * Copyright (c) 2017-2024, Slab

*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/*!
* Quill Editor v2.0.0-rc.0
* Quill Editor v2.0.0-rc.1
* https://quilljs.com

@@ -8,10 +8,1 @@ * Copyright (c) 2017-2024, Slab

*/
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/
/*!
* Quill Editor v2.0.0-rc.0
* Quill Editor v2.0.0-rc.1
* https://quilljs.com

@@ -4,0 +4,0 @@ * Copyright (c) 2017-2024, Slab

@@ -7,4 +7,2 @@ "use strict";

exports.default = normalize;
var _lodash = _interopRequireDefault(require("lodash"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const ignoreRegexp = /\bmso-list:[^;]*ignore/i;

@@ -38,3 +36,12 @@ const idRegexp = /\bmso-list:[^;]*\bl(\d+)/i;

const msoList = Array.from(doc.querySelectorAll('[style*=mso-list]'));
const [ignored, others] = _lodash.default.partition(msoList, node => (node.getAttribute('style') || '').match(ignoreRegexp));
const ignored = [];
const others = [];
msoList.forEach(node => {
const shouldIgnore = (node.getAttribute('style') || '').match(ignoreRegexp);
if (shouldIgnore) {
ignored.push(node);
} else {
others.push(node);
}
});

@@ -41,0 +48,0 @@ // Each list item contains a marker wrapped with "mso-list: Ignore".

{
"name": "quill",
"version": "2.0.0-rc.0",
"version": "2.0.0-rc.1",
"description": "Your powerful, rich text editor",

@@ -32,4 +32,5 @@ "author": "Jason Chen <jhchen7@gmail.com>",

"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-import-resolver-webpack": "^0.13.8",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",

@@ -36,0 +37,0 @@ "eslint-plugin-prettier": "^5.0.1",

@@ -38,5 +38,5 @@ Note: This branch and README covers the upcoming 2.0 release. View [1.x docs here](https://github.com/quilljs/quill/tree/1.3.6).

- [Contribute](https://github.com/quilljs/quill/blob/develop/.github/CONTRIBUTING.md) on [Issues](https://github.com/quilljs/quill/issues)
- [Contribute](https://github.com/quilljs/quill/blob/main/.github/CONTRIBUTING.md) on [Issues](https://github.com/quilljs/quill/issues)
- Follow [@jhchen](https://twitter.com/jhchen) and [@quilljs](https://twitter.com/quilljs) on Twitter
- Ask questions on [Stack Overflow](https://stackoverflow.com/questions/tagged/quill)
- If privacy is required, email support@quilljs.com

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

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

Sorry, the diff of this file is not supported yet

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc