Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-cloud-services

Package Overview
Dependencies
Maintainers
1
Versions
638
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-cloud-services - npm Package Compare versions

Comparing version 25.0.0 to 26.0.0

build/cloud-services.js

23

package.json
{
"name": "@ckeditor/ckeditor5-cloud-services",
"version": "25.0.0",
"version": "26.0.0",
"description": "CKEditor 5's Cloud Services integration layer.",

@@ -11,9 +11,14 @@ "keywords": [

],
"main": "src/index.js",
"dependencies": {
"@ckeditor/ckeditor-cloud-services-core": "^25.0.0",
"@ckeditor/ckeditor5-core": "^25.0.0",
"@ckeditor/ckeditor5-utils": "^25.0.0"
"ckeditor5": "^26.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-editor-classic": "^25.0.0"
"@ckeditor/ckeditor5-core": "^26.0.0",
"@ckeditor/ckeditor5-dev-utils": "^24.0.0",
"@ckeditor/ckeditor5-editor-classic": "^26.0.0",
"@ckeditor/ckeditor5-theme-lark": "^26.0.0",
"@ckeditor/ckeditor5-utils": "^26.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
},

@@ -36,4 +41,8 @@ "engines": {

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

@@ -10,5 +10,5 @@ /**

import ContextPlugin from '@ckeditor/ckeditor5-core/src/contextplugin';
import Token from '@ckeditor/ckeditor-cloud-services-core/src/token/token';
import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
import { ContextPlugin } from 'ckeditor5/src/core';
import { CKEditorError } from 'ckeditor5/src/utils';
import CloudServicesCore from './cloudservicescore';

@@ -21,3 +21,3 @@ /**

*
* @extends module:core/plugin~Plugin
* @extends module:core/contextplugin~ContextPlugin
*/

@@ -35,2 +35,9 @@ export default class CloudServices extends ContextPlugin {

*/
static get requires() {
return [ CloudServicesCore ];
}
/**
* @inheritDoc
*/
init() {

@@ -49,3 +56,3 @@ const config = this.context.config;

* @private
* @type {Map.<String, module:cloud-services-core/token~Token>}
* @type {Map.<String, module:cloud-services/token~Token>}
*/

@@ -74,3 +81,3 @@ this._tokens = new Map();

* @readonly
* @member {module:cloud-services-core/token~Token|null} #token
* @member {module:cloud-services/token~Token|null} #token
*/

@@ -84,3 +91,3 @@

this.token = new CloudServices.Token( this.tokenUrl );
this.token = this.context.plugins.get( 'CloudServicesCore' ).createToken( this.tokenUrl );

@@ -97,3 +104,3 @@ this._tokens.set( this.tokenUrl, this.token );

* @param {String|Function} tokenUrl The authentication token URL for CKEditor Cloud Services or a callback to the token value promise.
* @returns {Promise.<module:cloud-services-core/token~Token>}
* @returns {Promise.<module:cloud-services/token~Token>}
*/

@@ -106,3 +113,3 @@ registerTokenUrl( tokenUrl ) {

const token = new CloudServices.Token( tokenUrl );
const token = this.context.plugins.get( 'CloudServicesCore' ).createToken( tokenUrl );

@@ -118,3 +125,3 @@ this._tokens.set( tokenUrl, token );

* @param {String|Function} tokenUrl The authentication token URL for CKEditor Cloud Services or a callback to the token value promise.
* @returns {module:cloud-services-core/token~Token}
* @returns {module:cloud-services/token~Token}
*/

@@ -148,4 +155,2 @@ getTokenFor( tokenUrl ) {

CloudServices.Token = Token;
/**

@@ -152,0 +157,0 @@ * The configuration of CKEditor Cloud Services. Introduced by the {@link module:cloud-services/cloudservices~CloudServices} plugin.

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