Socket
Socket
Sign inDemoInstall

@codemirror/lang-json

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lang-json - npm Package Compare versions

Comparing version 0.17.1 to 0.18.0

2

CHANGELOG.md

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

## 0.18.0 (2021-03-03)
## 0.17.1 (2021-01-06)

@@ -2,0 +4,0 @@

5

dist/index.js
import { parser } from 'lezer-json';
import { LezerLanguage, indentNodeProp, continuedIndent, foldNodeProp, LanguageSupport } from '@codemirror/language';
import { LezerLanguage, indentNodeProp, continuedIndent, foldNodeProp, foldInside, LanguageSupport } from '@codemirror/language';
import { styleTags, tags } from '@codemirror/highlight';

@@ -44,4 +44,3 @@

foldNodeProp.add({
Object(subtree) { return { from: subtree.from + 1, to: subtree.to - 1 }; },
Array(subtree) { return { from: subtree.from + 1, to: subtree.to - 1 }; }
"Object Array": foldInside
}),

@@ -48,0 +47,0 @@ styleTags({

{
"name": "@codemirror/lang-json",
"version": "0.17.1",
"version": "0.18.0",
"description": "JSON language support for the CodeMirror code editor",

@@ -29,6 +29,5 @@ "scripts": {

"dependencies": {
"@codemirror/highlight": "^0.17.0",
"@codemirror/language": "^0.17.0",
"lezer-json": "^0.13.0",
"lezer-tree": "^0.13.0"
"@codemirror/highlight": "^0.18.0",
"@codemirror/language": "^0.18.0",
"lezer-json": "^0.13.0"
},

@@ -35,0 +34,0 @@ "devDependencies": {

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