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

roosterjs-editor-types

Package Overview
Dependencies
Maintainers
2
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roosterjs-editor-types - npm Package Compare versions

Comparing version 6.3.0 to 6.3.1

18

lib/editor/ContentPosition.d.ts

@@ -0,6 +1,24 @@

/**
* The position. Mostly used for content insertion and traversing
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside)
* On content traversing, we will need to specify the start position of traversing
*/
declare const enum ContentPosition {
/**
* Begin of the container
*/
Begin = 0,
/**
* End of the container
*/
End = 1,
/**
* Selection start
*/
SelectionStart = 2,
/**
* Outside of editor
*/
Outside = 3,
}
export default ContentPosition;

24

lib/editor/ContentPosition.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
// The position. Mostly used for content insertion and traversing
// On insertion, we will need to specify where we want the content to be placed (begin, end or selection)
// On content traversing, we will need to specify the start position of traversing
/**
* The position. Mostly used for content insertion and traversing
* On insertion, we will need to specify where we want the content to be placed (begin, end, selection or outside)
* On content traversing, we will need to specify the start position of traversing
*/
var ContentPosition;
(function (ContentPosition) {
// Begin of the container
/**
* Begin of the container
*/
ContentPosition[ContentPosition["Begin"] = 0] = "Begin";
// End of the container
/**
* End of the container
*/
ContentPosition[ContentPosition["End"] = 1] = "End";
// Selection start
/**
* Selection start
*/
ContentPosition[ContentPosition["SelectionStart"] = 2] = "SelectionStart";
/**
* Outside of editor
*/
ContentPosition[ContentPosition["Outside"] = 3] = "Outside";
})(ContentPosition || (ContentPosition = {}));
exports.default = ContentPosition;
//# sourceMappingURL=ContentPosition.js.map

@@ -6,3 +6,3 @@ {

"main": "./lib/index.js",
"version": "6.3.0",
"version": "6.3.1",
"typings": "./lib/index.d.ts",

@@ -9,0 +9,0 @@ "license": "MIT",

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