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

@udecode/plate-link

Package Overview
Dependencies
Maintainers
2
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@udecode/plate-link - npm Package Compare versions

Comparing version 6.4.1 to 7.0.0

2

CHANGELOG.md
# @udecode/plate-link
## 7.0.0
## 6.4.1

@@ -4,0 +6,0 @@

4

dist/transforms/getAndUpsertLink.d.ts

@@ -1,4 +0,4 @@

import { SPEditor } from '@udecode/plate-core';
import { PlateEditor } from '@udecode/plate-core';
import { WithLinkOptions } from '../types';
export declare const getAndUpsertLink: <T extends SPEditor>(editor: T, getLinkUrl?: WithLinkOptions['getLinkUrl']) => Promise<void>;
export declare const getAndUpsertLink: <T = {}>(editor: PlateEditor<T>, getLinkUrl?: WithLinkOptions['getLinkUrl']) => Promise<void>;
//# sourceMappingURL=getAndUpsertLink.d.ts.map

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

import { SPEditor } from '@udecode/plate-core';
import { PlateEditor } from '@udecode/plate-core';
/**

@@ -7,3 +7,3 @@ * Unwrap link at a location (default: selection).

*/
export declare const upsertLinkAtSelection: (editor: SPEditor, { url, wrap, }: {
export declare const upsertLinkAtSelection: (editor: PlateEditor, { url, wrap, }: {
url: string;

@@ -10,0 +10,0 @@ /**

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

import { SPEditor } from '@udecode/plate-core';
import { PlateEditor } from '@udecode/plate-core';
import { Location } from 'slate';

@@ -6,3 +6,3 @@ /**

*/
export declare const wrapLink: (editor: SPEditor, { at, url }: {
export declare const wrapLink: (editor: PlateEditor, { at, url }: {
url: string;

@@ -9,0 +9,0 @@ at?: Location | undefined;

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

import { SPEditor, WithOverride } from '@udecode/plate-core';
import { ReactEditor } from 'slate-react';
import { WithOverride } from '@udecode/plate-core';
import { WithLinkOptions } from './types';

@@ -13,3 +12,3 @@ /**

*/
export declare const withLink: ({ isUrl, rangeBeforeOptions, }?: WithLinkOptions) => WithOverride<ReactEditor & SPEditor>;
export declare const withLink: ({ isUrl, rangeBeforeOptions, }?: WithLinkOptions) => WithOverride;
//# sourceMappingURL=withLink.d.ts.map
{
"name": "@udecode/plate-link",
"version": "6.4.1",
"version": "7.0.0",
"description": "Link plugin for Plate",

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

"dependencies": {
"@udecode/plate-common": "6.4.1",
"@udecode/plate-core": "6.4.1",
"@udecode/plate-normalizers": "6.4.1"
"@udecode/plate-common": "7.0.0",
"@udecode/plate-core": "7.0.0",
"@udecode/plate-normalizers": "7.0.0"
},

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

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