🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@dat162/rete-vue-plugin

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dat162/rete-vue-plugin - npm Package Compare versions

Comparing version
2.0.7
to
2.0.8
+4
-3
package.json
{
"name": "@dat162/rete-vue-plugin",
"version": "2.0.7",
"version": "2.0.8",
"description": "",
"private": false,
"scripts": {

@@ -21,6 +22,6 @@ "build": "rete build -c rete.config.ts",

"type": "git",
"url": "https://github.com/retejs/vue-plugin.git"
"url": "https://github.com/SamhammerAG/retejs-vue-plugin"
},
"bugs": {
"url": "https://github.com/retejs/vue-plugin/issues"
"url": "https://github.com/SamhammerAG/retejs-vue-plugin/issues"
},

@@ -27,0 +28,0 @@ "peerDependencies": {

@@ -6,3 +6,2 @@ import { BaseSchemes, CanAssignSignal, Scope } from 'rete'

import { Position, RenderSignal } from './types'
import { Context, Instance } from './vuecompat/types'

@@ -35,3 +34,3 @@ export * as Presets from './presets'

*/
setup?: (context: Context) => Instance;
setup?: (context: object) => object;
}

@@ -38,0 +37,0 @@

import type VueNamespace from 'vue'
type Vue = typeof VueNamespace
export type Context = Vue extends { createApp: (arg: infer U) => any }
? U
: (Vue extends { new(options: infer U): any } ? U : any)
export type Instance = Vue extends { createApp: (arg: any) => infer U }
? U
: (Vue extends { new(options: any): infer U } ? U : any)