vue-monaco
Advanced tools
Comparing version 0.3.1 to 0.3.2
{ | ||
"name": "vue-monaco", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "MonacoEditor component for Vue.js", | ||
@@ -25,3 +25,3 @@ "repository": { | ||
"dependencies": { | ||
"monaco-editor": "^0.15.6", | ||
"monaco-editor": "^0.17.0", | ||
"nano-assign": "^1.0.0" | ||
@@ -28,0 +28,0 @@ }, |
@@ -21,7 +21,7 @@ # vue-monaco | ||
// webpack.config.js | ||
const MonocoEditorPlugin = require('monaco-editor-webpack-plugin') | ||
const MonacoEditorPlugin = require('monaco-editor-webpack-plugin') | ||
module.exports = { | ||
plugins: [ | ||
new MonocoEditorPlugin({ | ||
new MonacoEditorPlugin({ | ||
// https://github.com/Microsoft/monaco-editor-webpack-plugin#options | ||
@@ -80,6 +80,3 @@ // Include a subset of languages support | ||
<body> | ||
<div | ||
id="container" | ||
style="width:800px;height:600px;border:1px solid grey" | ||
></div> | ||
<div id="app"></div> | ||
@@ -93,3 +90,10 @@ <script src="monaco-editor/min/vs/loader.js"></script> | ||
new Vue({ | ||
template: `<monaco-editor v-model="code" language="javascript" :amdRequire="amdRequire" />`, | ||
el: '#app', | ||
template: ` | ||
<monaco-editor | ||
style="width:800px;height:600px;border:1px solid grey" | ||
v-model="code" | ||
language="javascript" | ||
:amdRequire="amdRequire" | ||
/>`, | ||
data: { | ||
@@ -141,3 +145,3 @@ code: 'const noop = () => {}' | ||
| `contextMenu` | onContextMenu | IEditorMouseEvent | | ||
| `blur` | onDidBlurEditor | | | ||
| `blur` | onDidBlurEditorWidget | | | ||
| `blurText` | onDidBlurEditorText | | | ||
@@ -153,3 +157,3 @@ | `configuration` | onDidBlurEditorText | IConfigurationChangedEvent | | ||
| `afterDispose` | onDidDispose | | | ||
| `focus` | onDidFocusEditor | | | ||
| `focus` | onDidFocusEditorWidget | | | ||
| `focusText` | onDidFocusEditorText | | | ||
@@ -156,0 +160,0 @@ | `layout` | onDidLayoutChange | EditorLayoutInfo | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
19499
184
0
+ Addedmonaco-editor@0.17.1(transitive)
- Removedmonaco-editor@0.15.6(transitive)
Updatedmonaco-editor@^0.17.0