@ckeditor/ckeditor5-autosave
Advanced tools
Comparing version 11.0.1 to 11.0.2
Changelog | ||
========= | ||
## [11.0.2](https://github.com/ckeditor/ckeditor5-autosave/compare/v11.0.1...v11.0.2) (2019-06-05) | ||
### Other changes | ||
* Updated translations. ([5541f00](https://github.com/ckeditor/ckeditor5-autosave/commit/5541f00)) | ||
## [11.0.1](https://github.com/ckeditor/ckeditor5-autosave/compare/v11.0.0...v11.0.1) (2019-04-10) | ||
@@ -5,0 +12,0 @@ |
{ | ||
"name": "@ckeditor/ckeditor5-autosave", | ||
"version": "11.0.1", | ||
"version": "11.0.2", | ||
"description": "Autosave feature for CKEditor 5.", | ||
@@ -13,9 +13,9 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^12.1.0", | ||
"@ckeditor/ckeditor5-utils": "^12.1.0", | ||
"@ckeditor/ckeditor5-core": "^12.1.1", | ||
"@ckeditor/ckeditor5-utils": "^12.1.1", | ||
"lodash-es": "^4.17.10" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-editor-classic": "^12.1.0", | ||
"@ckeditor/ckeditor5-paragraph": "^11.0.1", | ||
"@ckeditor/ckeditor5-editor-classic": "^12.1.1", | ||
"@ckeditor/ckeditor5-paragraph": "^11.0.2", | ||
"eslint": "^5.5.0", | ||
@@ -22,0 +22,0 @@ "eslint-config-ckeditor5": "^1.0.11", |
@@ -21,2 +21,2 @@ CKEditor 5 autosave feature | ||
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file. | ||
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html). For full details about the license, please check the `LICENSE.md` file or [https://ckeditor.com/legal/ckeditor-oss-license](https://ckeditor.com/legal/ckeditor-oss-license). |
/** | ||
* @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. | ||
* For licensing, see LICENSE.md. | ||
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license | ||
*/ | ||
@@ -88,5 +88,5 @@ | ||
* | ||
* * synchronized - when all changes are saved | ||
* * waiting - when the plugin is waiting for other changes before calling `adapter#save()` and `config.autosave.save()` | ||
* * saving - when the provided save method is called and the plugin waits for the response | ||
* * synchronized – When all changes are saved. | ||
* * waiting – When the plugin is waiting for other changes before calling `adapter#save()` and `config.autosave.save()`. | ||
* * saving – When the provided save method is called and the plugin waits for the response. | ||
* | ||
@@ -98,4 +98,4 @@ * @member {'synchronized'|'waiting'|'saving'} #state | ||
/** | ||
* Debounced save method. The `save` method is called the specified `waitingTime` after the `debouncedSave` is called, | ||
* unless new action happens in the meantime. | ||
* Debounced save method. The `save()` method is called the specified `waitingTime` after `debouncedSave()` is called, | ||
* unless a new action happens in the meantime. | ||
* | ||
@@ -108,3 +108,3 @@ * @private | ||
/** | ||
* Last document version. | ||
* The last document version. | ||
* | ||
@@ -125,3 +125,3 @@ * @private | ||
/** | ||
* The config of this plugins. | ||
* The configuration of this plugins. | ||
* | ||
@@ -205,3 +205,3 @@ * @private | ||
/** | ||
* Invokes remaining `_save` method call. | ||
* Invokes the remaining `_save()` method call. | ||
* | ||
@@ -215,4 +215,4 @@ * @protected | ||
/** | ||
* If the adapter is set and new document version exists, | ||
* `_save()` method creates a pending action and calls `adapter.save()` method. | ||
* If the adapter is set and a new document version exists, | ||
* the `_save()` method creates a pending action and calls the `adapter.save()` method. | ||
* It waits for the result and then removes the created pending action. | ||
@@ -259,3 +259,3 @@ * | ||
/** | ||
* Save callbacks. | ||
* Saves callbacks. | ||
* | ||
@@ -285,3 +285,3 @@ * @private | ||
* | ||
* Used by {@link module:autosave/autosave~Autosave#adapter} | ||
* Used by {@link module:autosave/autosave~Autosave#adapter}. | ||
* | ||
@@ -292,4 +292,4 @@ * @interface module:autosave/autosave~AutosaveAdapter | ||
/** | ||
* Method that will be called when the data changes. It should return a promise (e.g. in case of saving content to the database), | ||
* so the `Autosave` plugin will wait for that action before removing it from pending actions. | ||
* The method that will be called when the data changes. It should return a promise (e.g. in case of saving content to the database), | ||
* so the autosave plugin will wait for that action before removing it from pending actions. | ||
* | ||
@@ -335,3 +335,3 @@ * @method #save | ||
* | ||
* This function must return a promise which should be which should be resolved when the data is successfully saved. | ||
* This function must return a promise which should be resolved when the data is successfully saved. | ||
* | ||
@@ -355,3 +355,4 @@ * ClassicEditor | ||
/** | ||
* The minimum amount of time that need to pass after last action to call the provided callback. | ||
* The minimum amount of time that needs to pass after the last action to call the provided callback. | ||
* By default it is 1000 ms. | ||
* | ||
@@ -370,4 +371,3 @@ * ClassicEditor | ||
* | ||
* @property module:autosave/autosave~AutosaveConfig#waitingTime | ||
* @type {Number} | ||
* @member {Number} module:autosave/autosave~AutosaveConfig#waitingTime | ||
*/ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50477
44