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

@progress/kendo-editor-common

Package Overview
Dependencies
Maintainers
0
Versions
376
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-editor-common - npm Package Compare versions

Comparing version 1.11.9-dev.202411180546 to 1.11.9-dev.202411210753

2

dist/es/lists.js

@@ -195,3 +195,3 @@ import { __assign } from "tslib";

if (!range || sel.$from.parent.type !== state.schema.nodes[options.listItem]) {
return false;
return;
}

@@ -198,0 +198,0 @@ var target = range && liftTarget(range);

import { setAttribute } from './utils';
export class DOMSerializer {
/// Create a serializer. `nodes` should map node names to functions
/// that take a node and return a description of the corresponding
/// DOM. `marks` does the same for mark names, but also gets an
/// argument that tells it whether the mark's content is block or
/// inline content (for typical use, it'll always be inline). A mark
/// serializer may be `null` to indicate that marks of that type
/// should not be serialized.
constructor(
/// The node serialization functions.
nodes,
/// The mark serialization functions.
marks) {
this.nodes = nodes;
this.marks = marks;
}
/// Render an [output spec](#model.DOMOutputSpec) to a DOM node. If

@@ -78,17 +93,2 @@ /// the spec has a hole (zero) in it, `contentDOM` will point at the

}
/// Create a serializer. `nodes` should map node names to functions
/// that take a node and return a description of the corresponding
/// DOM. `marks` does the same for mark names, but also gets an
/// argument that tells it whether the mark's content is block or
/// inline content (for typical use, it'll always be inline). A mark
/// serializer may be `null` to indicate that marks of that type
/// should not be serialized.
constructor(
/// The node serialization functions.
nodes,
/// The mark serialization functions.
marks) {
this.nodes = nodes;
this.marks = marks;
}
/// Serialize the content of this fragment to a DOM fragment. When

@@ -95,0 +95,0 @@ /// not in the browser, the `document` option, containing a DOM

@@ -194,3 +194,3 @@ import { Fragment, Slice, NodeRange } from 'prosemirror-model';

if (!range || sel.$from.parent.type !== state.schema.nodes[options.listItem]) {
return false;
return;
}

@@ -197,0 +197,0 @@ const target = range && liftTarget(range);

import { DOMOutputSpec, Fragment, Mark, Node, Schema } from 'prosemirror-model';
type DOMNode = InstanceType<typeof window.Node>;
declare type DOMNode = InstanceType<typeof window.Node>;
export declare class DOMSerializer {

@@ -4,0 +4,0 @@ readonly nodes: {

@@ -5,3 +5,3 @@ import { NodeType, Node } from 'prosemirror-model';

import { Command } from './types/command';
type ListOptions = {
declare type ListOptions = {
listType: string;

@@ -8,0 +8,0 @@ orderedList: string;

@@ -198,3 +198,3 @@ "use strict";

if (!range || sel.$from.parent.type !== state.schema.nodes[options.listItem]) {
return false;
return;
}

@@ -201,0 +201,0 @@ var target = range && (0, prosemirror_transform_1.liftTarget)(range);

import { EditorState } from 'prosemirror-state';
import { EditorView } from 'prosemirror-view';
import { DispatchFn } from './dispatchFn';
export type Command = (state: EditorState, dispatch: DispatchFn, view?: EditorView) => boolean | void;
export declare type Command = (state: EditorState, dispatch: DispatchFn, view?: EditorView) => boolean | void;
import { Transaction } from 'prosemirror-state';
export type DispatchFn = (tr: Transaction) => void;
export declare type DispatchFn = (tr: Transaction) => void;

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

export type Predicate<T = any> = (condition: T) => boolean;
export declare type Predicate<T = any> = (condition: T) => boolean;
{
"name": "@progress/kendo-editor-common",
"description": "Kendo UI TypeScript package exporting functions for Editor component",
"version": "1.11.9-dev.202411180546",
"version": "1.11.9-dev.202411210753",
"keywords": [

@@ -59,3 +59,2 @@ "Kendo UI"

"ts-jest": "^29.1.2",
"typescript": "~5.1.3",
"typescript-eslint": "^7.0.1",

@@ -62,0 +61,0 @@ "validate-commit-msg": "^1.1.1"

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