New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@remirror/extension-emoji

Package Overview
Dependencies
Maintainers
1
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/extension-emoji - npm Package Compare versions

Comparing version 0.4.2-canary.0 to 0.4.2-canary.1

8

lib/emoji-extension.d.ts

@@ -1,5 +0,5 @@

import { CommandNodeTypeParams, NodeExtension, NodeExtensionSpec, SchemaNodeTypeParams } from '@remirror/core';
import { CommandNodeTypeParams, ExtensionManagerNodeTypeParams, NodeExtension, NodeExtensionSpec } from '@remirror/core';
import { ReactNodeView } from '@remirror/react';
import { EmojiAttrs, EmojiExtensionOptions } from './types';
export declare class EmojiExtension extends NodeExtension<EmojiExtensionOptions, 'emoji', {}> {
export declare class EmojiExtension extends NodeExtension<EmojiExtensionOptions> {
/**

@@ -25,4 +25,4 @@ * The name is dynamically generated based on the passed in type.

};
plugin({ type }: SchemaNodeTypeParams): import("prosemirror-state").Plugin<any, import("prosemirror-model").Schema<string, string>>;
nodeView({ portalContainer }: SchemaNodeTypeParams): (node: import("prosemirror-model").Node<import("prosemirror-model").Schema<string, string>>, view: import("prosemirror-view").EditorView<import("prosemirror-model").Schema<string, string>>, getPosition: import("@remirror/react").GetPosition) => ReactNodeView<{
plugin({ type }: ExtensionManagerNodeTypeParams): import("prosemirror-state").Plugin<any, import("prosemirror-model").Schema<string, string>>;
nodeView({ portalContainer }: ExtensionManagerNodeTypeParams): (node: import("prosemirror-model").Node<import("prosemirror-model").Schema<string, string>>, view: import("prosemirror-view").EditorView<import("prosemirror-model").Schema<string, string>>, getPosition: import("@remirror/react").GetPosition) => ReactNodeView<{
set: import("emoji-mart").EmojiSet;

@@ -29,0 +29,0 @@ size: string | number;

@@ -12,3 +12,3 @@ {

},
"version": "0.4.2-canary.0",
"version": "0.4.2-canary.1",
"main": "lib/index.js",

@@ -34,4 +34,4 @@ "module": "lib/dist/extension-emoji.esm.js",

"@emotion/core": "^10.0.14",
"@remirror/core": "0.4.2-canary.0",
"@remirror/react": "0.4.2-canary.0",
"@remirror/core": "0.4.2-canary.1",
"@remirror/react": "0.4.2-canary.1",
"@types/emoji-mart": "^2.8.4",

@@ -55,3 +55,3 @@ "@types/prosemirror-model": "^1.7.2",

"devDependencies": {
"jest-remirror": "0.4.2-canary.0"
"jest-remirror": "0.4.2-canary.1"
},

@@ -63,3 +63,3 @@ "publishConfig": {

"sideEffects": false,
"gitHead": "e6500c65aecbffad1b0f9bb2c0b8d4891ba764d3"
"gitHead": "0330899c87713ed1398df695715d1fed87267462"
}

@@ -6,2 +6,3 @@ import {

EDITOR_CLASS_NAME,
ExtensionManagerNodeTypeParams,
isElementDOMNode,

@@ -11,3 +12,2 @@ NodeExtension,

replaceText,
SchemaNodeTypeParams,
} from '@remirror/core';

@@ -20,3 +20,3 @@ import { ReactNodeView } from '@remirror/react';

export class EmojiExtension extends NodeExtension<EmojiExtensionOptions, 'emoji', {}> {
export class EmojiExtension extends NodeExtension<EmojiExtensionOptions> {
/**

@@ -113,3 +113,3 @@ * The name is dynamically generated based on the passed in type.

public plugin({ type }: SchemaNodeTypeParams) {
public plugin({ type }: ExtensionManagerNodeTypeParams) {
const { emojiData } = this.options;

@@ -123,3 +123,3 @@ return createEmojiPlugin({

public nodeView({ portalContainer }: SchemaNodeTypeParams) {
public nodeView({ portalContainer }: ExtensionManagerNodeTypeParams) {
const { set, size, emojiData, EmojiComponent, style } = this.options;

@@ -126,0 +126,0 @@

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