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

@neocodemirror/svelte

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neocodemirror/svelte - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

./dist/index.js

@@ -126,4 +126,4 @@ import { defaultKeymap, indentWithTab } from '@codemirror/commands';

diagnosticsModule = await import('@codemirror/lint');
const tr = diagnosticsModule.setDiagnostics(editor.state, diagnostics ?? []);
editor.dispatch(tr);
const tr = diagnosticsModule.setDiagnosticsEffect.of(diagnostics ?? []);
editor.dispatch({ effects: tr });
}

@@ -130,0 +130,0 @@ async function make_extensions(lang, langMap, setup, useTabs = false, tabSize = 2, theme, styles, extensions) {

@@ -126,4 +126,4 @@ import { defaultKeymap, indentWithTab } from '@codemirror/commands';

diagnosticsModule = await import('@codemirror/lint');
const tr = diagnosticsModule.setDiagnostics(editor.state, diagnostics ?? []);
editor.dispatch(tr);
const tr = diagnosticsModule.setDiagnosticsEffect.of(diagnostics ?? []);
editor.dispatch({ effects: tr });
}

@@ -130,0 +130,0 @@ async function make_extensions(lang, langMap, setup, useTabs = false, tabSize = 2, theme, styles, extensions) {

{
"name": "@neocodemirror/svelte",
"version": "0.0.3",
"version": "0.0.4",
"description": "Svelte Action to add codemirro to your apps 😉",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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