Socket
Socket
Sign inDemoInstall

@codemirror/text

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/text - npm Package Compare versions

Comparing version 0.19.1 to 0.19.2

6

CHANGELOG.md

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

## 0.19.2 (2021-08-25)
### New features
`Text.children` is now public, and can be used to iterate over the `Text` objects in a tree.
## 0.19.1 (2021-08-23)

@@ -2,0 +8,0 @@

6

dist/index.d.ts

@@ -79,3 +79,2 @@ /**

abstract readonly lines: number;
[Symbol.iterator]: () => Iterator<string>;
/**

@@ -135,2 +134,7 @@ Get the line description around the given position.

/**
If this is a branch node, `children` will hold the `Text`
objects that it is made up of. For leaf nodes, this holds null.
*/
abstract readonly children: readonly Text[] | null;
/**
Create a `Text` instance for the given array of lines.

@@ -137,0 +141,0 @@ */

2

package.json
{
"name": "@codemirror/text",
"version": "0.19.1",
"version": "0.19.2",
"description": "Document data structure for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

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