New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

codemirror-editor-vue3

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codemirror-editor-vue3 - npm Package Compare versions

Comparing version

to
1.1.0-beta16

dist/packages/src/types/index.d.ts

2

dist/packages/index.d.ts

@@ -322,3 +322,3 @@ import _CodeMirror from "codemirror";

refresh: () => void;
containerHeight: import("vue").Ref<string | null>;
containerHeight: import("vue").Ref<Nullable<string>>;
instanceName: string | undefined;

@@ -325,0 +325,0 @@ presetRef: import("vue").Ref<null>;

@@ -309,3 +309,3 @@ import type { Ref, PropType } from "vue";

refresh: () => void;
containerHeight: Ref<string | null>;
containerHeight: Ref<Nullable<string>>;
instanceName: string | undefined;

@@ -312,0 +312,0 @@ presetRef: Ref<null>;

@@ -21,3 +21,3 @@ import type { PropType } from "vue";

cminstance: {
type: PropType<Editor | null>;
type: PropType<Nullable<Editor>>;
default: () => null;

@@ -33,4 +33,4 @@ };

}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
ready: (instance: Editor) => Editor | null;
"update:cminstance": (instance: Editor) => Editor | null;
ready: (instance: Editor) => Nullable<Editor>;
"update:cminstance": (instance: Editor) => Nullable<Editor>;
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{

@@ -48,3 +48,3 @@ name?: unknown;

options: EditorConfiguration;
cminstance: Editor | null;
cminstance: Nullable<Editor>;
placeholder: string;

@@ -59,5 +59,5 @@ } & {}> & {

options: EditorConfiguration;
cminstance: Editor | null;
cminstance: Nullable<Editor>;
placeholder: string;
}>;
export default _default;

@@ -17,3 +17,3 @@ import type { PropType } from "vue";

cminstance: {
type: PropType<Editor | null>;
type: PropType<Nullable<Editor>>;
default: () => {};

@@ -38,3 +38,3 @@ };

options: Record<string, any>;
cminstance: Editor | null;
cminstance: Nullable<Editor>;
placeholder: string;

@@ -48,5 +48,5 @@ } & {}> & {

options: Record<string, any>;
cminstance: Editor | null;
cminstance: Nullable<Editor>;
placeholder: string;
}>;
export default _default;

@@ -9,3 +9,3 @@ import type { Editor, EditorConfiguration } from "codemirror";

cminstance: {
type: PropType<Editor | null>;
type: PropType<Nullable<Editor>>;
default: () => {};

@@ -20,3 +20,3 @@ };

options: EditorConfiguration;
cminstance: Editor | null;
cminstance: Nullable<Editor>;
} & {}> & {

@@ -27,4 +27,4 @@ onReady?: ((...args: any[]) => any) | undefined;

options: EditorConfiguration;
cminstance: Editor | null;
cminstance: Nullable<Editor>;
}>;
export default _default;
import type { Editor } from "codemirror";
import type { ComponentInternalInstance, Ref } from "vue";
import type { CmProps } from '../..src/codemirror-editor-vue3';
import type { CmProps } from '../..src/types/props';
declare type UseEventsParams = {

@@ -8,3 +8,3 @@ props: CmProps;

emit: ((event: "ready", cm: Editor) => void) & ((event: "update:value", value: string) => void) & ((event: "change", value: string, cm: Editor) => void) & ((event: "input", value: string) => void) & ((event: string, ...args: any[]) => void);
internalInstance: ComponentInternalInstance | null;
internalInstance: Nullable<ComponentInternalInstance>;
content: Ref<string>;

@@ -11,0 +11,0 @@ };

import type { Ref } from "vue";
import type { Editor } from "codemirror";
import { CmProps } from '../..src/codemirror-editor-vue3';
import type { CmProps } from '../..src/types/props';
export declare type UseViewControlParams = {
props: CmProps;
cminstance: Ref<Editor | null>;
presetRef: Ref<{
cminstance: Ref<Nullable<Editor>>;
presetRef: Ref<Nullable<{
initialize: () => void;
} | null>;
}>>;
};

@@ -16,4 +16,4 @@ export declare function useViewControl({ props, cminstance, presetRef, }: UseViewControlParams): {

destroy: () => void;
containerHeight: Ref<string | null>;
containerHeight: Ref<Nullable<string>>;
reviseStyle: () => void;
};
{
"name": "codemirror-editor-vue3",
"description": "CodeMirror component for Vue3",
"version": "1.1.0-beta15",
"version": "1.1.0-beta16",
"license": "MIT",

@@ -6,0 +6,0 @@ "files": [