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

@ckeditor/ckeditor5-link

Package Overview
Dependencies
Maintainers
1
Versions
709
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-link - npm Package Compare versions

Comparing version 10.0.2 to 10.0.3

7

CHANGELOG.md
Changelog
=========
## [10.0.3](https://github.com/ckeditor/ckeditor5-link/compare/v10.0.2...v10.0.3) (2018-07-18)
### Other changes
* Updated translations. ([e1e2f56](https://github.com/ckeditor/ckeditor5-link/commit/e1e2f56))
## [10.0.2](https://github.com/ckeditor/ckeditor5-link/compare/v10.0.1...v10.0.2) (2018-06-21)

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

26

package.json
{
"name": "@ckeditor/ckeditor5-link",
"version": "10.0.2",
"version": "10.0.3",
"description": "Link feature for CKEditor 5.",

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

"dependencies": {
"@ckeditor/ckeditor5-core": "^10.1.0",
"@ckeditor/ckeditor5-engine": "^10.1.0",
"@ckeditor/ckeditor5-theme-lark": "^10.1.0",
"@ckeditor/ckeditor5-ui": "^10.1.0"
"@ckeditor/ckeditor5-core": "^11.0.0",
"@ckeditor/ckeditor5-engine": "^10.2.0",
"@ckeditor/ckeditor5-theme-lark": "^11.0.0",
"@ckeditor/ckeditor5-ui": "^11.0.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-editor-classic": "^10.0.1",
"@ckeditor/ckeditor5-enter": "^10.1.0",
"@ckeditor/ckeditor5-heading": "^10.0.1",
"@ckeditor/ckeditor5-paragraph": "^10.0.1",
"@ckeditor/ckeditor5-typing": "^10.0.1",
"@ckeditor/ckeditor5-undo": "^10.0.1",
"@ckeditor/ckeditor5-utils": "^10.1.0",
"@ckeditor/ckeditor5-editor-classic": "^11.0.0",
"@ckeditor/ckeditor5-enter": "^10.1.1",
"@ckeditor/ckeditor5-heading": "^10.0.2",
"@ckeditor/ckeditor5-paragraph": "^10.0.2",
"@ckeditor/ckeditor5-typing": "^11.0.0",
"@ckeditor/ckeditor5-undo": "^10.0.2",
"@ckeditor/ckeditor5-utils": "^10.2.0",
"eslint": "^4.15.0",

@@ -32,3 +32,3 @@ "eslint-config-ckeditor5": "^1.0.7",

"engines": {
"node": ">=6.0.0",
"node": ">=6.9.0",
"npm": ">=3.0.0"

@@ -35,0 +35,0 @@ },

@@ -14,5 +14,7 @@ /**

/**
* Walks backward and forward from the start position, node by node, as long as they have the same `linkHref` attribute value and return
* a {@link module:engine/model/range~Range Range} with the found link.
* Returns a range containing the entire link in which the given `position` is placed.
*
* It can be used e.g. to get the entire range on which the `linkHref` attribute needs to be changed when having a
* selection inside a link.
*
* @param {module:engine/model/position~Position} position The start position.

@@ -19,0 +21,0 @@ * @param {String} value The `linkHref` attribute value.

@@ -339,4 +339,4 @@ /**

// Begin responding to view#render once the UI is added.
this._startUpdatingUIOnViewRender();
// Begin responding to ui#update once the UI is added.
this._startUpdatingUI();
}

@@ -356,5 +356,5 @@

const editingView = this.editor.editing.view;
const editor = this.editor;
this.stopListening( editingView, 'render' );
this.stopListening( editor.ui, 'update' );

@@ -368,17 +368,16 @@ // Remove form first because it's on top of the stack.

// Make sure the focus always gets back to the editable.
editingView.focus();
editor.editing.view.focus();
}
/**
* Makes the UI react to the {@link module:engine/view/view~View#event:render} in the view to
* reposition itself as the document changes.
* Makes the UI react to the {@link module:core/editor/editorui~EditorUI#event:update} event to
* reposition itself when the editor ui should be refreshed.
*
* See: {@link #_hideUI} to learn when the UI stops reacting to the `render` event.
* See: {@link #_hideUI} to learn when the UI stops reacting to the `update` event.
*
* @protected
*/
_startUpdatingUIOnViewRender() {
_startUpdatingUI() {
const editor = this.editor;
const editing = editor.editing;
const editingView = editing.view;
const viewDocument = editor.editing.view.document;

@@ -388,3 +387,3 @@ let prevSelectedLink = this._getSelectedLinkElement();

this.listenTo( editingView, 'render', () => {
this.listenTo( editor.ui, 'update', () => {
const selectedLink = this._getSelectedLinkElement();

@@ -422,3 +421,3 @@ const selectionParent = getSelectionParent();

function getSelectionParent() {
return editingView.document.selection.focus.getAncestors()
return viewDocument.selection.focus.getAncestors()
.reverse()

@@ -425,0 +424,0 @@ .find( node => node.is( 'element' ) );

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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