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

@udecode/plate-mention-ui

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-mention-ui - npm Package Compare versions

Comparing version 6.1.0 to 6.2.0

6

CHANGELOG.md
# @udecode/plate-mention-ui
## 6.2.0
### Patch Changes
- [#1173](https://github.com/udecode/plate/pull/1173) by [@zbeyens](https://github.com/zbeyens) – Replace `import * as React` by `import React`
## 6.1.0

@@ -4,0 +10,0 @@

5

dist/index.es.js

@@ -1,3 +0,2 @@

import * as React from 'react';
import React__default, { useEffect } from 'react';
import React, { useEffect } from 'react';
import { comboboxStore, Combobox } from '@udecode/plate-combobox';

@@ -37,3 +36,3 @@ import { ELEMENT_MENTION, COMBOBOX_TRIGGER_MENTION, getMentionOnSelectItem } from '@udecode/plate-mention';

if (activeId !== id) return null;
return /*#__PURE__*/React__default.createElement(Combobox, {
return /*#__PURE__*/React.createElement(Combobox, {
items: items,

@@ -40,0 +39,0 @@ component: component,

23

dist/index.js

@@ -15,24 +15,3 @@ 'use strict';

function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () {
return e[k];
}
});
}
});
}
n['default'] = e;
return Object.freeze(n);
}
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var React__namespace = /*#__PURE__*/_interopNamespace(React);
var _styled__default = /*#__PURE__*/_interopDefaultLegacy(_styled);

@@ -129,3 +108,3 @@

});
return /*#__PURE__*/React__namespace.createElement(_StyledSpan, _extends({}, attributes, {
return /*#__PURE__*/React__default['default'].createElement(_StyledSpan, _extends({}, attributes, {
as: as,

@@ -132,0 +111,0 @@ "data-slate-value": element.value,

{
"name": "@udecode/plate-mention-ui",
"version": "6.1.0",
"version": "6.2.0",
"description": "Media embed UI for Plate",

@@ -35,7 +35,7 @@ "keywords": [

"dependencies": {
"@udecode/plate-combobox": "6.1.0",
"@udecode/plate-common": "6.1.0",
"@udecode/plate-core": "6.0.0",
"@udecode/plate-mention": "6.1.0",
"@udecode/plate-styled-components": "6.1.0"
"@udecode/plate-combobox": "6.2.0",
"@udecode/plate-common": "6.2.0",
"@udecode/plate-core": "6.2.0",
"@udecode/plate-mention": "6.2.0",
"@udecode/plate-styled-components": "6.2.0"
},

@@ -42,0 +42,0 @@ "peerDependencies": {

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