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
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@monaco-editor/react - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

5

CHANGELOG.md
### Versions
## 4.3.1
###### *Oct 3, 2021*
- types: update types according to the new `loader` version and the new `wrapperProps` property
## 4.3.0

@@ -4,0 +9,0 @@ ###### *Oct 3, 2021*

19

lib/types.d.ts

@@ -127,5 +127,5 @@ // TODO: the whole content should be improved in the next version.

/**
* Class name for the editor container wrapper
* Props applied to the wrapper element
*/
wrapperClassName?: string;
wrapperProps?: object;

@@ -267,5 +267,5 @@ /**

/**
* Class name for the editor container wrapper
* Props applied to the wrapper element
*/
wrapperClassName?: string;
wrapperProps?: object;

@@ -299,4 +299,10 @@ /**

// loader
// TODO (Suren): import loader namespace from @monaco-editor/loader
interface CancelablePromise<T> extends Promise<T> {
cancel: () => void;
}
declare namespace loader {
function init(): Promise<Monaco>;
function init(): CancelablePromise<Monaco>;
function config(params: {

@@ -309,5 +315,6 @@ paths?: {

},
}): void
}): void;
function __getMonacoInstance(): Monaco | null;
}
export { loader };
{
"name": "@monaco-editor/react",
"version": "4.3.0",
"version": "4.3.1",
"description": "Monaco Editor for React - use the monaco-editor in any React application without needing to use webpack (or rollup/parcel/etc) configuration files / plugins",

@@ -5,0 +5,0 @@ "author": "Suren Atoyan <contact@surenatoyan.com>",

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