update package version to 3.3.2

This commit is contained in:
Suren Atoyan 2020-06-20 17:43:42 +04:00
parent 9507194a6b
commit 10aaf643df
3 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,10 @@
### Versions
## 3.3.1
###### *June 20, 2020*
- utils: (monaco) add a possibility to pass src of config script
## 3.3.1
###### *May 30, 2020*

View File

@ -1,6 +1,6 @@
{
"name": "@monaco-editor/react",
"version": "3.3.1",
"version": "3.3.2",
"description": "Monaco editor wrapper for easy/one-line integration with React applications (e.g. powered by create-react-app) without need of webpack configuration files",
"main": "lib/index.js",
"module": "lib/index.js",

View File

@ -67,6 +67,8 @@ class Monaco {
const configScript = this.createScript();
if (this.configScriptSrc) {
// it will be helpfull in case of CSP, which doesn't allow
// inline script execution
configScript.src = this.configScriptSrc;
} else {
configScript.innerHTML = `