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

@monaco-editor/react

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monaco-editor/react - npm Package Versions

1
11

4.0.3

Diff

Changelog

Source

4.0.3

Jan 18, 2021
  • Editor: enable multi-model support
  • types: add path, defaultLanguage and saveViewState for multi-model support
surenat
published 4.0.2 •

Changelog

Source

4.0.2

Jan 18, 2021
  • types: declare and export useMonaco type
surenat
published 4.0.1 •

Changelog

Source

4.0.1

Jan 18, 2021
  • Editor: dispose the current model if the Editor component is unmounted
surenat
published 4.0.0 •

Changelog

Source

4.0.0

Jan 16, 2021
  • package.json: update dependency (@monaco-editor/loader) version to - v1.0.0
  • hooks: create useMonaco hook
  • lib: export (named) useMonaco from the entry file
  • monaco: rename the main utility: monaco -> loader
  • Editor/Diff: rename editorDidMount to onMount
  • Editor/Diff: expose monaco instance from onMount as a second argument (first is the editor instance)
  • Editor/Diff: add beforeMount prop: function with a single argument -> monaco instance
  • Editor: add defaultModelPath prop, use it as a default model path
  • Editor: add defaultValue prop and use it during default model creation
  • Editor: add subscription (onChange prop) to listen default model content change
  • Editor: remove _isControlledMode prop
  • Diff: add originalModelPath and modifiedModelPath props, use them as model paths for original/modified models
  • ControlledEditor: remove; the Editor component, now, handles both controlled and uncontrolled modes
  • package.json: move prop-types to dependencies
  • types: fix types according to changed
  • Editor: add onValidate prop: an event emitted when the length of the model markers of the current model isn't 0
surenat
published 4.0.0-rc.2 •

surenat
published 3.8.3 •

Changelog

Source

3.8.3

Jan 8, 2021
  • README: fix DiffEditor options prop type name
  • types: rename index.d.ts to types.d.ts
surenat
published 3.8.2 •

Changelog

Source

3.8.2

Jan 7, 2021
  • package.json: add @monaco-editor/loader as a dependency
  • Editor/Diff Editor components: use @monaco-editor/loader instead of monaco utility
  • utilities: remove utilities that were being replaced by the @monaco-editor/loader
  • utilities: collect remaining utilities all in the entry file / add some new ones for the next version
  • config: remove config as it's already replaced by the @monaco-editor/loader
  • hooks: create usePrevious hook
  • cs: coding style fixes
  • build: use Rollup as a build system; now, we have bundles for cjs/es/umd
surenat
published 3.8.1 •

surenat
published 3.8.0 •

surenat
published 3.7.5 •

Changelog

Source

3.7.5

Jan 3, 2021
  • utilities (monaco): fix state-local import
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