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

@remirror/core

Package Overview
Dependencies
Maintainers
1
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remirror/core - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

3

dist/declarations/src/builtins/decorations-extension.d.ts

@@ -11,2 +11,5 @@ import type { AcceptUndefined, CommandFunction, CommandFunctionProps, EditorSchema, EditorState, EditorView, FromToProps, Handler, MakeRequired, Static } from '@remirror/core-types';

*
* You can set it as `'selection'` to match the default styles provided by
* `@remirror/styles`.
*
* @default undefined

@@ -13,0 +16,0 @@ */

4

dist/declarations/src/builtins/upload-extension/file-placeholder-actions.d.ts

@@ -7,3 +7,3 @@ export declare enum ActionType {

type: ActionType.ADD_PLACEHOLDER;
id: unknown;
id: string;
payload: any;

@@ -14,5 +14,5 @@ pos: number;

type: ActionType.REMOVE_PLACEHOLDER;
id: unknown;
id: string;
}
export declare type PlaceholderPluginAction = AddPlaceholderAction | RemovePlaceholderAction;
export {};

@@ -6,8 +6,20 @@ import { EditorState, Plugin, Transaction } from '@remirror/pm/state';

set: DecorationSet;
payloads: Map<unknown, any>;
payloads: Map<string, any>;
}
export declare function createUploadPlaceholderPlugin(): Plugin<UploadPlaceholderPluginData>;
export declare function findUploadPlaceholderPos(state: EditorState, id: unknown): number | undefined;
export declare function findUploadPlaceholderPayload(state: EditorState, id: unknown): any | undefined;
export declare function findUploadPlaceholderPos(state: EditorState, id: string): number | undefined;
export declare function findUploadPlaceholderPayload(state: EditorState, id: string): any | undefined;
/**
* Determine if there are active file uploads in the given state
*
* @remarks
* This utility is useful to warn users there are still active uploads before
* exiting or saving a document.
*
* @see https://remirror.vercel.app/?path=/story/extensions-file--with-upload-incomplete-warning
*
* @param state - the editor state
*/
export declare function hasUploadingFile(state: EditorState): boolean;
export declare function setUploadPlaceholderAction(tr: Transaction, action: PlaceholderPluginAction): Transaction;
export {};

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

export { findUploadPlaceholderPayload, findUploadPlaceholderPos, setUploadPlaceholderAction, } from './file-placeholder-plugin';
export { findUploadPlaceholderPayload, findUploadPlaceholderPos, hasUploadingFile, setUploadPlaceholderAction, } from './file-placeholder-plugin';
export type { UploadFileHandler, UploadPlaceholderPayload } from './file-upload';

@@ -3,0 +3,0 @@ export { uploadFile } from './file-upload';

{
"name": "@remirror/core",
"version": "1.1.3",
"version": "1.2.0",
"description": "Where your quest to create a world class editing experience begins.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/remirror__core",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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