Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-ckfinder

Package Overview
Dependencies
Maintainers
1
Versions
605
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-ckfinder - npm Package Compare versions

Comparing version 25.0.0 to 26.0.0

build/ckfinder.js

36

package.json
{
"name": "@ckeditor/ckeditor5-ckfinder",
"version": "25.0.0",
"version": "26.0.0",
"description": "CKFinder integration for CKEditor 5.",

@@ -12,15 +12,21 @@ "keywords": [

],
"main": "src/index.js",
"dependencies": {
"@ckeditor/ckeditor5-adapter-ckfinder": "^25.0.0",
"@ckeditor/ckeditor5-core": "^25.0.0",
"@ckeditor/ckeditor5-image": "^25.0.0",
"@ckeditor/ckeditor5-link": "^25.0.0",
"@ckeditor/ckeditor5-ui": "^25.0.0",
"@ckeditor/ckeditor5-utils": "^25.0.0"
"ckeditor5": "^26.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-editor-classic": "^25.0.0",
"@ckeditor/ckeditor5-clipboard": "^25.0.0",
"@ckeditor/ckeditor5-engine": "^25.0.0",
"@ckeditor/ckeditor5-paragraph": "^25.0.0"
"@ckeditor/ckeditor5-adapter-ckfinder": "^26.0.0",
"@ckeditor/ckeditor5-clipboard": "^26.0.0",
"@ckeditor/ckeditor5-core": "^26.0.0",
"@ckeditor/ckeditor5-dev-utils": "^24.0.0",
"@ckeditor/ckeditor5-editor-classic": "^26.0.0",
"@ckeditor/ckeditor5-engine": "^26.0.0",
"@ckeditor/ckeditor5-image": "^26.0.0",
"@ckeditor/ckeditor5-link": "^26.0.0",
"@ckeditor/ckeditor5-paragraph": "^26.0.0",
"@ckeditor/ckeditor5-theme-lark": "^26.0.0",
"@ckeditor/ckeditor5-ui": "^26.0.0",
"@ckeditor/ckeditor5-utils": "^26.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},

@@ -43,4 +49,8 @@ "engines": {

"src",
"theme"
]
"theme",
"build"
],
"scripts": {
"dll:build": "webpack"
}
}

@@ -10,7 +10,6 @@ /**

import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import { Plugin } from 'ckeditor5/src/core';
import CKFinderUI from './ckfinderui';
import CKFinderEditing from './ckfinderediting';
import CKFinderUploadAdapter from '@ckeditor/ckeditor5-adapter-ckfinder/src/uploadadapter';

@@ -47,3 +46,3 @@ /**

static get requires() {
return [ CKFinderEditing, CKFinderUI, CKFinderUploadAdapter ];
return [ 'Image', 'Link', 'CKFinderUploadAdapter', CKFinderEditing, CKFinderUI ];
}

@@ -50,0 +49,0 @@ }

@@ -12,4 +12,4 @@ /**

import Command from '@ckeditor/ckeditor5-core/src/command';
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
import { Command } from 'ckeditor5/src/core';
import { CKEditorError } from 'ckeditor5/src/utils';

@@ -23,3 +23,3 @@ /**

* **Note:** This command uses other features to perform tasks:
* - To insert images the {@link module:image/image/imageinsertcommand~ImageInsertCommand 'imageInsert'} command
* - To insert images the {@link module:image/image/insertimagecommand~InsertImageCommand 'insertImage'} command
* from the {@link module:image/image~Image Image feature}.

@@ -49,3 +49,3 @@ * - To insert links to files the {@link module:link/linkcommand~LinkCommand 'link'} command

refresh() {
const imageCommand = this.editor.commands.get( 'imageInsert' );
const imageCommand = this.editor.commands.get( 'insertImage' );
const linkCommand = this.editor.commands.get( 'link' );

@@ -141,3 +141,3 @@

function insertImages( editor, urls ) {
const imageCommand = editor.commands.get( 'imageInsert' );
const imageCommand = editor.commands.get( 'insertImage' );

@@ -157,3 +157,3 @@ // Check if inserting an image is actually possible - it might be possible to only insert a link.

editor.execute( 'imageInsert', { source: urls } );
editor.execute( 'insertImage', { source: urls } );
}

@@ -10,6 +10,4 @@ /**

import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import ImageEditing from '@ckeditor/ckeditor5-image/src/image/imageediting';
import LinkEditing from '@ckeditor/ckeditor5-link/src/linkediting';
import Notification from '@ckeditor/ckeditor5-ui/src/notification/notification';
import { Plugin } from 'ckeditor5/src/core';
import { Notification } from 'ckeditor5/src/ui';

@@ -35,3 +33,3 @@ import CKFinderCommand from './ckfindercommand';

static get requires() {
return [ Notification, ImageEditing, LinkEditing ];
return [ Notification, 'ImageEditing', 'LinkEditing' ];
}

@@ -38,0 +36,0 @@

@@ -10,4 +10,4 @@ /**

import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
import { Plugin } from 'ckeditor5/src/core';
import { ButtonView } from 'ckeditor5/src/ui';

@@ -14,0 +14,0 @@ import browseFilesIcon from '../theme/icons/browse-files.svg';

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