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

vue-monaco

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-monaco - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

package.json
{
"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 |

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