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

@types/prosemirror-transform

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/prosemirror-transform - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

65

prosemirror-transform/index.d.ts

@@ -182,2 +182,14 @@ // Type definitions for prosemirror-transform 1.1

constructor(from: number, to: number, mark: Mark<S>);
/**
* The start of the marked range.
*/
from: number;
/**
* The end of the marked range.
*/
to: number;
/**
* The mark to add.
*/
mark: Mark<S>;
}

@@ -189,2 +201,14 @@ /**

constructor(from: number, to: number, mark: Mark<S>);
/**
* The start of the unmarked range.
*/
from: number;
/**
* The end of the unmarked range.
*/
to: number;
/**
* The mark to remove.
*/
mark: Mark<S>;
}

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

*/
wrap(range: NodeRange<S>, wrappers: Array<{ type: NodeType<S>; attrs?: { [key: string]: any } | null | undefined }>): this;
wrap(
range: NodeRange<S>,
wrappers: Array<{ type: NodeType<S>; attrs?: { [key: string]: any } | null | undefined }>,
): this;
/**

@@ -365,2 +392,14 @@ * Set the type of all textblocks (partly) between `from` and `to` to

constructor(from: number, to: number, slice: Slice<S>, structure?: boolean);
/**
* The start position of the replaced range.
*/
from: number;
/**
* The end position of the replaced range.
*/
to: number;
/**
* The slice to insert.
*/
slice: Slice<S>;
}

@@ -388,2 +427,26 @@ /**

);
/**
* The start position of the replaced range.
*/
from: number;
/**
* The end position of the replaced range.
*/
to: number;
/**
* The start of preserved range.
*/
gapFrom: number;
/**
* The end of preserved range.
*/
gapTo: number;
/**
* The slice to insert.
*/
slice: Slice<S>;
/**
* The position in the slice where the preserved range should be inserted.
*/
insert: number;
}

@@ -390,0 +453,0 @@ /**

6

prosemirror-transform/package.json
{
"name": "@types/prosemirror-transform",
"version": "1.1.4",
"version": "1.1.5",
"description": "TypeScript definitions for prosemirror-transform",

@@ -40,4 +40,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prosemirror-transform",

},
"typesPublisherContentHash": "4d54bd1428332e044a3a4006c7e0a1e41927130b8ef021ef9cdd0b26d35efb03",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "a75c374125b9ca3840403578a2744dfe685ec69b6322f4d4961747341f0860d2",
"typeScriptVersion": "3.8"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:39 GMT
* Last updated: Tue, 14 Dec 2021 02:31:09 GMT
* Dependencies: [@types/prosemirror-model](https://npmjs.com/package/@types/prosemirror-model)

@@ -14,0 +14,0 @@ * Global values: none

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