Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-autoformat

Package Overview
Dependencies
Maintainers
1
Versions
646
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-autoformat - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

7

CHANGELOG.md
Changelog
=========
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018-04-10)
### Bug fixes
* Autoformat should ignore transparent batches. Closes [#56](https://github.com/ckeditor/ckeditor5-autoformat/issues/56). ([e42f987](https://github.com/ckeditor/ckeditor5-autoformat/commit/e42f987))
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-autoformat/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018-03-15)

@@ -5,0 +12,0 @@

30

package.json
{
"name": "@ckeditor/ckeditor5-autoformat",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "Autoformatting feature for CKEditor 5.",

@@ -10,20 +10,20 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.1"
"@ckeditor/ckeditor5-core": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-engine": "^1.0.0-beta.2"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-block-quote": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-cloudservices": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-heading": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-list": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-undo": "^1.0.0-beta.1",
"@ckeditor/ckeditor5-basic-styles": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-block-quote": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-cloud-services": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-editor-classic": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-enter": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-heading": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-list": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-paragraph": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-typing": "^1.0.0-beta.2",
"@ckeditor/ckeditor5-undo": "^1.0.0-beta.2",
"eslint": "^4.15.0",
"eslint-config-ckeditor5": "^1.0.7",
"husky": "^0.14.3",
"lint-staged": "^6.0.0"
"lint-staged": "^7.0.0"
},

@@ -36,3 +36,3 @@ "engines": {

"license": "(GPL-2.0 OR LGPL-2.1 OR MPL-1.1)",
"homepage": "https://ckeditor5.github.io",
"homepage": "https://ckeditor.com",
"bugs": "https://github.com/ckeditor/ckeditor5-autoformat/issues",

@@ -39,0 +39,0 @@ "repository": {

@@ -17,3 +17,3 @@ CKEditor 5 autoformat feature

See the [`@ckeditor/ckeditor5-autoformat` package](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/api/autoformat.html) page in [CKEditor 5 documentation](https://ckeditor5.github.io/docs/nightly/ckeditor5/latest/).
See the [`@ckeditor/ckeditor5-autoformat` package](https://docs.ckeditor.com/ckeditor5/latest/api/autoformat.html) page in [CKEditor 5 documentation](https://docs.ckeditor.com/ckeditor5/latest/).

@@ -20,0 +20,0 @@ ## License

@@ -66,3 +66,7 @@ /**

editor.model.document.on( 'change', () => {
editor.model.document.on( 'change', ( evt, batch ) => {
if ( batch.type == 'transparent' ) {
return;
}
const changes = Array.from( editor.model.document.differ.getChanges() );

@@ -69,0 +73,0 @@ const entry = changes[ 0 ];

@@ -143,3 +143,7 @@ /**

editor.model.document.on( 'change', () => {
editor.model.document.on( 'change', ( evt, batch ) => {
if ( batch.type == 'transparent' ) {
return;
}
const selection = editor.model.document.selection;

@@ -146,0 +150,0 @@

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