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

monaco-editor

Package Overview
Dependencies
Maintainers
0
Versions
843
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monaco-editor - npm Package Versions

1
85

0.22.2

Diff

Changelog

Source

[0.22.2] (01.02.2021)

Fixes a regression where under certain webpack configurations process.nextTick could be used without explicitly checking for it being defined (see https://github.com/microsoft/monaco-editor/issues/2328).

alexandrudima
published 0.22.1 •

Changelog

Source

[0.22.1] (29.01.2021)

Fixes a regression where format commands would no longer work (see https://github.com/microsoft/monaco-editor/issues/2327).

alexandrudima
published 0.22.0 •

Changelog

Source

[0.22.0] (29.01.2021)

New & Noteworthy

  • new grammars for Modula-3 and ECL (Enterprise Control Language).
  • added monaco.editor.onDidChangeMarkers to listen for marker changes.
  • added monaco.editor.registerCommand to register global commands.
  • added monaco.languages.setColorMap to allow defining the color map used for tokenization.
  • added IMonarchLanguage.includeLF to allow matching against the \n at the end of each line.
  • new editor option stickyTabStops to make interacting with spaces in indentation behave more like interacting with tabs.

Breaking changes

  • The ESM version of the editor will no longer define a global monaco object. You can define global.MonacoEnvironment = { globalAPI: true } if you want for the editor to define this global object.
  • Renamed OnTypeRenameProvider to LinkedEditingRangeProvider and related methods like the editor option renameOnType (now linkedEditing), registerOnTypeRenameProvider (now registerLinkedEditingRangeProvider), etc.
  • Renamed OnEnterRule.oneLineAboveText to OnEnterRule.previousLineText

Thank you

Contributions to monaco-editor:

  • @Gittenburg: Fix comment in sample PR #2161
  • @luminaxster (David Gonzalez): Missing breaking change PR #2186
  • @svick (Petr Onderka): Fixed indentation in C# sample PR #2250

Contributions to monaco-languages:

Contributions to monaco-typescript:

Contributions to monaco-css:

  • @jpett: Fix error Cannot read property 'getModeId' of null PR #10
alexandrudima
published 0.21.3 •

Changelog

Source

[0.21.3] (18.01.2021)

Fixes a regression in suggestions where the browser clipboard API would be accessed by incomplete suggestion lists (see https://github.com/microsoft/vscode/commit/96d61842bae1e5dd11f9ff6139fad9e3e5141401).

alexandrudima
published 0.21.2 •

Changelog

Source

[0.21.2] (27.09.2020)

Fixes a regression in monaco-css.

Breaking changes

  • monaco.uri methods file, from, isUri, joinPath, parse, revive are now static. Changing new monaco.uri.method to monaco.uri.method resolves 'TypeError: monaco.Uri.file is not a constructor at...' errors.
alexandrudima
published 0.21.1 •

Changelog

Source

[0.21.1] (24.09.2020)

Fixes a few regressions.

Thank you

Contributions to monaco-html:

Contributions to monaco-languages:

Contributions to monaco-typescript:

alexandrudima
published 0.21.0 •

Changelog

Source

[0.21.0] (21.09.2020)

New & Noteworthy

  • Added Paste in the context menu in browsers which support the clipboard API.
  • Many improvements in monaco-typescript: support for "deprecated" tags, API to participate in the web worker, improved lib.d.ts resolving.
  • New tokenization support for: Julia, Scala, Lexon, Terraform HCL, Dart, Systemverilog.
  • New semantic tokens provider sample on the playground.
  • New shadow dom sample
  • New overflowWidgetsDomNode constructor option to pass in a parent for overflowing widgets.
  • New minimap.size option: proportional, fill, fit.
  • New OnTypeRename provider and option renameOnType.
  • Fixed issue where cross-origin web workers were not working on Safari.
  • Fixed many issues around embedding the editor in iframes or in shadow dom.
  • Fixed issue with automaticLayout.
  • Fixed issue with scrolling speed on Firefox.
  • New options: tabIndex, scrollPredominantAxis, columnSelection, padding, unfoldOnClickAfterEndOfLine, renderLineHighlightOnlyWhenFocus, definitionLinkOpensInPeek, showDeprecated, comments.ignoreEmptyLines, find.cursorMoveOnType, find.loop.
  • New diff editor options: originalCodeLens, modifiedCodeLens.
  • Changed options: rulers can now define different colors, renderWhitespace can now be trailing.

Breaking changes

  • CompletionItemLabel.signature has been renamed to CompletionItemLabel.parameters.
  • The signature of CompletionItemProvider.resolveCompletionItem has changed.
  • IMarker.code.link was renamed to IMarker.code.target.
  • IMarkerData.code.link was renamed to IMarkerData.code.target.
  • EditorLayoutInfo has been restructured.

Thank you

Contributions to monaco-editor:

Contributions to monaco-typescript:

Contributions to monaco-json:

Contributions to monaco-languages:

alexandrudima
published 0.20.0 •

Changelog

Source

[0.20.0] (11.02.2020)

New & Noteworthy

  • The editor can now be hosted inside a Shadow Root.
  • There is new API to read the editor's content width and height.
  • New editor options:
    • renderValidationDecorations - render validation decorations even in read only editors
    • wrappingStrategy - delegate wrapping points computation to the browser
    • comments.insertSpace - insert a space around comments when running commenting commands
    • foldingHighlight - highlight folded regions
    • peekWidgetDefaultFocus - focus the inline editor or the tree when opening peek view

Breaking changes

  • Renamed onCompositionStart, onCompositionEnd to onDidCompositionStart, onDidCompositionEnd
  • Changed the argument passed in to onDidPaste
  • WorkspaceEdit.edits has now changed its shape such that edits must no longer be grouped by resource.
  • The Monaco Editor no longer supports IE 11. The last version that was tested in IE 11 is 0.18.1.

Thank you

Contributions to monaco-editor:

Contributions to monaco-typescript:

Contributions to monaco-languages:

alexandrudima
published 0.19.3 •

Changelog

Source

[0.19.3] (14.01.2020)

  • brings back a way to get resolved editor options - #1734

Thank you

Contributions to monaco-editor:

Contributions to monaco-languages:

alexandrudima
published 0.19.2 •

Changelog

Source

[0.19.2] (06.01.2020)

  • fixes issue with default value of autoIndent - #1726
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