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

@ckeditor/ckeditor5-upload

Package Overview
Dependencies
Maintainers
1
Versions
702
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-upload - npm Package Compare versions

Comparing version 10.0.3 to 10.0.4

lang/translations/vi.po

7

CHANGELOG.md
Changelog
=========
## [10.0.4](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.3...v10.0.4) (2018-12-05)
### Other changes
* Updated translations. ([489b6fa](https://github.com/ckeditor/ckeditor5-upload/commit/489b6fa)) ([f435630](https://github.com/ckeditor/ckeditor5-upload/commit/f435630))
## [10.0.3](https://github.com/ckeditor/ckeditor5-upload/compare/v10.0.2...v10.0.3) (2018-10-08)

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

30

package.json
{
"name": "@ckeditor/ckeditor5-upload",
"version": "10.0.3",
"version": "10.0.4",
"description": "Upload Feature for CKEditor 5.",

@@ -12,18 +12,18 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^11.0.1",
"@ckeditor/ckeditor5-engine": "^11.0.0",
"@ckeditor/ckeditor5-ui": "^11.1.0",
"@ckeditor/ckeditor5-utils": "^11.0.0"
"@ckeditor/ckeditor5-core": "^11.1.0",
"@ckeditor/ckeditor5-engine": "^12.0.0",
"@ckeditor/ckeditor5-ui": "^11.2.0",
"@ckeditor/ckeditor5-utils": "^11.1.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^10.0.3",
"@ckeditor/ckeditor5-clipboard": "^10.0.3",
"@ckeditor/ckeditor5-editor-classic": "^11.0.1",
"@ckeditor/ckeditor5-enter": "^10.1.2",
"@ckeditor/ckeditor5-heading": "^10.1.0",
"@ckeditor/ckeditor5-image": "^11.0.0",
"@ckeditor/ckeditor5-list": "^11.0.2",
"@ckeditor/ckeditor5-paragraph": "^10.0.3",
"@ckeditor/ckeditor5-typing": "^11.0.1",
"@ckeditor/ckeditor5-undo": "^10.0.3",
"@ckeditor/ckeditor5-basic-styles": "^10.1.0",
"@ckeditor/ckeditor5-clipboard": "^10.0.4",
"@ckeditor/ckeditor5-editor-classic": "^11.0.2",
"@ckeditor/ckeditor5-enter": "^10.1.3",
"@ckeditor/ckeditor5-heading": "^10.1.1",
"@ckeditor/ckeditor5-image": "^12.0.0",
"@ckeditor/ckeditor5-list": "^11.0.3",
"@ckeditor/ckeditor5-paragraph": "^10.0.4",
"@ckeditor/ckeditor5-typing": "^11.0.2",
"@ckeditor/ckeditor5-undo": "^10.0.4",
"eslint": "^5.5.0",

@@ -30,0 +30,0 @@ "eslint-config-ckeditor5": "^1.0.7",

@@ -29,5 +29,4 @@ /**

* (e.g. {@link module:easy-image/cloudservicesuploadadapter~CloudServicesUploadAdapter} or
* {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter}) or write your own one
* (which boils down to setting the {@link ~FileRepository#createUploadAdapter} factory function – see
* {@link module:upload/filerepository~UploadAdapter `UploadAdapter` interface} documentation).
* {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter}) or write your own one – see
* the {@glink framework/guides/deep-dive/upload-adapter "Custom image upload adpter" deep dive guide}.
*

@@ -160,8 +159,5 @@ * Then, you can use {@link module:upload/filerepository~FileRepository#createLoader `createLoader()`} and the returned

* it means that you did not configure any of the upload adapters available by default in those builds.
* See:
*
* * {@link module:core/editor/editorconfig~EditorConfig#cloudServices `config.cloudServices`} for
* Easy Image with Cloud Services integration,
* * {@link module:core/editor/editorconfig~EditorConfig#ckfinder `config.ckfinder`} for CKFinder
* file upload integration.
* See the {@glink features/image-upload comprehensive "Image upload" guide} to learn which upload
* adapters are available in the builds and how to configure them.
*

@@ -171,12 +167,7 @@ * **If you see this warning when using a custom build** there is a chance that you enabled

* or {@link module:image/imageupload/imageuploadui~ImageUploadUI} but you did not enable any upload adapter.
* You can choose one of the existing upload adapters:
* You can choose one of the existing upload adapters listed in the
* {@glink features/image-upload "Image upload" guide}.
*
* * {@link module:easy-image/cloudservicesuploadadapter~CloudServicesUploadAdapter}
* (remember to {@link module:core/editor/editorconfig~EditorConfig#cloudServices configure it})
* * {@link module:adapter-ckfinder/uploadadapter~CKFinderUploadAdapter}
* (remember to {@link module:core/editor/editorconfig~EditorConfig#ckfinder configure it})
* You can also implement your {@glink framework/guides/deep-dive/upload-adapter own upload adapter}.
*
* You can also implement your own upload adapter (in which case, please refer
* to the {@link module:upload/filerepository~UploadAdapter `UploadAdapter` interface} documentation).
*
* @error filerepository-no-upload-adapter

@@ -260,3 +251,4 @@ */

* File loader class.
* It is used to control the process of file reading and uploading using specified adapter.
*
* It is used to control the process of reading the file and uploading it using the specified upload adapter.
*/

@@ -493,41 +485,9 @@ class FileLoader {

/**
* Upload adapter interface used by FileRepository to handle file upload. Upload adapter is a bridge between the editor and server that
* handles file uploads. It should contain logic necessary to initiate upload process and monitor its progress.
* Upload adapter interface used by the {@link module:upload/filerepository~FileRepository file repository}
* to handle file upload. An upload adapter is a bridge between the editor and server that handles file uploads.
* It should contain a logic necessary to initiate an upload process and monitor its progress.
*
* It should implement two methods:
* Learn how to develop your own upload adapter for CKEditor 5 in the
* {@glink framework/guides/deep-dive/upload-adapter "Custom upload adapter" guide}.
*
* * {@link module:upload/filerepository~UploadAdapter#upload `upload()`},
* * {@link module:upload/filerepository~UploadAdapter#abort `abort()`}.
*
* Example upload adapter implementation:
*
* class UploadAdapter {
* constructor( loader ) {
* // Save Loader instance to update upload progress.
* this.loader = loader;
* }
*
* upload() {
* // Update loader's progress.
* server.onUploadProgress( data => {
* loader.uploadTotal = data.total;
* loader.uploaded = data.uploaded;
* } ):
*
* // Return promise that will be resolved when file is uploaded.
* return server.upload( loader.file );
* }
*
* abort() {
* // Reject promise returned from upload() method.
* server.abortUpload();
* }
* }
*
* Then upload adapter can be set to be used by {@link module:upload/filerepository~FileRepository FileRepository}:
*
* editor.plugins.get( 'FileRepository' ).createUploadAdapter = function( loader ) {
* return new UploadAdapter( loader );
* };
*
* @interface UploadAdapter

@@ -534,0 +494,0 @@ */

Sorry, the diff of this file is not supported yet

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