Socket
Socket
Sign inDemoInstall

@ckeditor/ckeditor5-mention

Package Overview
Dependencies
Maintainers
1
Versions
630
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckeditor/ckeditor5-mention - npm Package Compare versions

Comparing version 19.0.0 to 19.0.1

4

CHANGELOG.md
Changelog
=========
All changes in the package are documented in the main repository. See: https://github.com/ckeditor/ckeditor5/blob/master/CHANGELOG.md.
Changes for the past releases are available below.
## [19.0.0](https://github.com/ckeditor/ckeditor5-mention/compare/v18.0.0...v19.0.0) (2020-04-29)

@@ -5,0 +9,0 @@

66

package.json
{
"name": "@ckeditor/ckeditor5-mention",
"version": "19.0.0",
"version": "19.0.1",
"description": "Mention feature for CKEditor 5.",

@@ -13,27 +13,21 @@ "keywords": [

"dependencies": {
"@ckeditor/ckeditor5-core": "^19.0.0",
"@ckeditor/ckeditor5-ui": "^19.0.0",
"@ckeditor/ckeditor5-typing": "^19.0.0",
"@ckeditor/ckeditor5-utils": "^19.0.0",
"@ckeditor/ckeditor5-core": "^19.0.1",
"@ckeditor/ckeditor5-ui": "^19.0.1",
"@ckeditor/ckeditor5-typing": "^19.0.1",
"@ckeditor/ckeditor5-utils": "^19.0.1",
"lodash-es": "^4.17.10"
},
"devDependencies": {
"@ckeditor/ckeditor5-basic-styles": "^19.0.0",
"@ckeditor/ckeditor5-block-quote": "^19.0.0",
"@ckeditor/ckeditor5-clipboard": "^19.0.0",
"@ckeditor/ckeditor5-editor-classic": "^19.0.0",
"@ckeditor/ckeditor5-engine": "^19.0.0",
"@ckeditor/ckeditor5-font": "^19.0.0",
"@ckeditor/ckeditor5-link": "^19.0.0",
"@ckeditor/ckeditor5-paragraph": "^19.0.0",
"@ckeditor/ckeditor5-table": "^19.0.0",
"@ckeditor/ckeditor5-undo": "^19.0.0",
"@ckeditor/ckeditor5-widget": "^19.0.0",
"eslint": "^5.5.0",
"eslint-config-ckeditor5": "^2.0.0",
"husky": "^1.3.1",
"lint-staged": "^7.0.0",
"lodash": "^4.17.11",
"stylelint": "^11.1.1",
"stylelint-config-ckeditor5": "^1.0.0"
"@ckeditor/ckeditor5-basic-styles": "^19.0.1",
"@ckeditor/ckeditor5-block-quote": "^19.0.1",
"@ckeditor/ckeditor5-clipboard": "^19.0.1",
"@ckeditor/ckeditor5-editor-classic": "^19.0.1",
"@ckeditor/ckeditor5-engine": "^19.0.1",
"@ckeditor/ckeditor5-font": "^19.0.1",
"@ckeditor/ckeditor5-link": "^19.0.1",
"@ckeditor/ckeditor5-paragraph": "^19.1.0",
"@ckeditor/ckeditor5-table": "^19.1.0",
"@ckeditor/ckeditor5-undo": "^19.0.1",
"@ckeditor/ckeditor5-widget": "^19.1.0",
"lodash": "^4.17.11"
},

@@ -50,3 +44,4 @@ "engines": {

"type": "git",
"url": "https://github.com/ckeditor/ckeditor5-mention.git"
"url": "https://github.com/ckeditor/ckeditor5.git",
"directory": "packages/ckeditor5-mention"
},

@@ -57,24 +52,3 @@ "files": [

"theme"
],
"scripts": {
"lint": "eslint --quiet '**/*.js'",
"stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'"
},
"lint-staged": {
"**/*.js": [
"eslint --quiet"
],
"**/*.css": [
"stylelint --quiet --allow-empty-input"
]
},
"eslintIgnore": [
"src/lib/**",
"packages/**"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
]
}

@@ -5,5 +5,2 @@ CKEditor 5 mention feature

[![npm version](https://badge.fury.io/js/%40ckeditor%2Fckeditor5-mention.svg)](https://www.npmjs.com/package/@ckeditor/ckeditor5-mention)
[![Build Status](https://travis-ci.org/ckeditor/ckeditor5-mention.svg?branch=master)](https://travis-ci.org/ckeditor/ckeditor5-mention)
[![Coverage Status](https://coveralls.io/repos/github/ckeditor/ckeditor5-mention/badge.svg?branch=master)](https://coveralls.io/github/ckeditor/ckeditor5-mention?branch=master)
<br>
[![Dependency Status](https://david-dm.org/ckeditor/ckeditor5-mention/status.svg)](https://david-dm.org/ckeditor/ckeditor5-mention)

@@ -10,0 +7,0 @@ [![devDependency Status](https://david-dm.org/ckeditor/ckeditor5-mention/dev-status.svg)](https://david-dm.org/ckeditor/ckeditor5-mention?type=dev)

@@ -32,3 +32,3 @@ /**

* // it will return:
* // { id: '@joe', userId: '1234', _uid: '7a7bc7...', _text: '@John Doe' }
* // { id: '@joe', userId: '1234', uid: '7a7bc7...', _text: '@John Doe' }
*

@@ -229,4 +229,5 @@ * @param {module:engine/view/element~Element} viewElement

* @interface module:mention/mention~MentionAttribute
* @property {String} id The ID of a mention. It identifies the mention item in the mention feed.
* @property {String} _uid An internal mention view item ID. Should be passed as an `option.id` when using
* @property {String} id The ID of a mention. It identifies the mention item in the mention feed. There can be multiple mentions
* in the document with the same ID (e.g. the same hashtag being mentioned).
* @property {String} uid A unique ID of this mention instance. Should be passed as an `option.id` when using
* {@link module:engine/view/downcastwriter~DowncastWriter#createAttributeElement writer.createAttributeElement()}.

@@ -233,0 +234,0 @@ * @property {String} _text Helper property that stores the text of the inserted mention. Used for detecting a broken mention

@@ -72,3 +72,3 @@ /**

export function _addMentionAttributes( baseMentionData, data ) {
return Object.assign( { _uid: uid() }, baseMentionData, data || {} );
return Object.assign( { uid: uid() }, baseMentionData, data || {} );
}

@@ -146,3 +146,3 @@

const options = {
id: mention._uid,
id: mention.uid,
priority: 20

@@ -149,0 +149,0 @@ };

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