@ckeditor/ckeditor5-cloud-services
Advanced tools
Comparing version 25.0.0 to 26.0.0
{ | ||
"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. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
57843
1
12
829
7
1
+ Addedckeditor5@^26.0.0
+ Added@ckeditor/ckeditor5-clipboard@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-core@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-enter@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-paragraph@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-select-all@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-typing@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-ui@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-undo@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-upload@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@26.0.0(transitive)
+ Added@ckeditor/ckeditor5-widget@26.0.0(transitive)
+ Addedckeditor5@26.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@^25.0.0
- Removed@ckeditor/ckeditor5-utils@^25.0.0
- Removed@ckeditor/ckeditor-cloud-services-core@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@25.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@25.0.0(transitive)