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

vue3-ace-editor

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-ace-editor - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

16

index.d.ts

@@ -28,15 +28,17 @@ import type { VAceEditorInstance } from './types';

}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, string[], string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
printMargin: number | boolean;
theme: string;
value: string;
lang: string;
theme: string;
readonly: boolean;
wrap: boolean;
printMargin: number | boolean;
} & {
readonly?: boolean | undefined;
wrap?: boolean | undefined;
options?: Record<string, any> | undefined;
placeholder?: string | undefined;
options?: Record<string, any> | undefined;
}>, {
lang: string;
theme: string;
readonly: boolean;
wrap: boolean;
printMargin: number | boolean;
theme: string;
lang: string;
}>;

@@ -65,3 +65,3 @@ import ace from 'ace-builds';

});
this._ro = new ResizeObserver(([entry]) => editor.resize());
this._ro = new ResizeObserver(() => editor.resize());
this._ro.observe(this.$el);

@@ -111,4 +111,7 @@ this.$emit('init', editor);

},
lang(val) {
this._editor.setOption('mode', 'ace/mode/' + val);
},
}
});
//# sourceMappingURL=index.js.map

@@ -70,3 +70,3 @@ import ace from 'ace-builds';

});
this._ro = new ResizeObserver(([entry]) => editor.resize());
this._ro = new ResizeObserver(() => editor.resize());
this._ro.observe(this.$el);

@@ -115,3 +115,6 @@ this.$emit('init', editor);

},
lang(this: VAceEditorInstance, val: string) {
this._editor.setOption('mode', 'ace/mode/' + val);
},
}
});
{
"name": "vue3-ace-editor",
"version": "2.0.1",
"version": "2.1.0",
"description": "Like vue2-ace-editor but more functional and supports Vue 3",

@@ -20,4 +20,4 @@ "main": "index.js",

"devDependencies": {
"typescript": "^4.1.3"
"typescript": "^4.2.2"
}
}

@@ -9,2 +9,3 @@ {

"esModuleInterop": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,

@@ -11,0 +12,0 @@ "resolveJsonModule": true,

Sorry, the diff of this file is not supported yet

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