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

slate

Package Overview
Dependencies
Maintainers
6
Versions
750
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slate - npm Package Compare versions

Comparing version 0.111.1-20241126185440 to 0.112.0-20241207072658

9

dist/interfaces/text.d.ts

@@ -15,2 +15,9 @@ import { Range } from '..';

}
export type DecoratedRange = Range & {
/**
* Customize how another decoration is merged into a text node. If not specified, `Object.assign` would be used.
* It is useful for overlapping decorations with the same key but different values.
*/
merge?: (leaf: Text, decoration: object) => void;
};
export interface TextInterface {

@@ -46,5 +53,5 @@ /**

*/
decorations: (node: Text, decorations: Range[]) => Text[];
decorations: (node: Text, decorations: DecoratedRange[]) => Text[];
}
export declare const Text: TextInterface;
//# sourceMappingURL=text.d.ts.map

2

package.json
{
"name": "slate",
"description": "A completely customizable framework for building rich text editors.",
"version": "0.111.1-20241126185440",
"version": "0.112.0-20241207072658",
"license": "MIT",

@@ -6,0 +6,0 @@ "repository": "git://github.com/ianstormtaylor/slate.git",

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

Sorry, the diff of this file is not supported yet

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

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 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