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

@codemirror/comment

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/comment - npm Package Compare versions

Comparing version 0.17.2 to 0.17.3

6

CHANGELOG.md

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

## 0.17.3 (2021-02-25)
### Bug fixes
Don't change lines that have the end of a range selection directly at their start when line commenting.
## 0.17.2 (2021-02-18)

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

2

dist/index.js

@@ -119,3 +119,3 @@ import { EditorSelection } from '@codemirror/state';

let line = state.doc.lineAt(pos);
if (line.from > prevLine) {
if (line.from > prevLine && (from == to || to > line.from)) {
prevLine = line.from;

@@ -122,0 +122,0 @@ let token = getConfig(state, pos).line;

{
"name": "@codemirror/comment",
"version": "0.17.2",
"version": "0.17.3",
"description": "Commenting and uncommenting commands for the CodeMirror code editor",

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

Sorry, the diff of this file is not supported yet

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