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

@rallie/vue

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rallie/vue - npm Package Compare versions

Comparing version 0.13.1 to 0.14.0

./dist/hooks.umd.js

8

dist/hooks.d.ts
import { UnwrapRef } from 'vue';
import type { Block, CreatedBlock } from '@rallie/block';
export declare function useBlockState<T extends Block<any>, U>(block: T, getter: (state: T['state']) => U): import("vue").Ref<UnwrapRef<U>>;
export declare function useBlockEvents<T extends Block<any>>(block: T, events: Partial<T['events']>): void;
export declare function useBlockMethods<T extends CreatedBlock<any>>(block: T, methods: Partial<T['methods']>): void;
import type { BaseBlock, CreatedBlock } from '@rallie/block';
export declare function useBlockState<T extends BaseBlock<unknown>, U>(block: T, getter: (state: T['state']) => U): import("vue").Ref<UnwrapRef<U>>;
export declare function useBlockEvents<T extends BaseBlock<unknown>>(block: T, events: Partial<T['events']>): void;
export declare function useBlockMethods<T extends CreatedBlock<unknown>>(block: T, methods: Partial<T['methods']>): void;

@@ -1,3 +0,3 @@

import type { Block, CreatedBlock } from '@rallie/block';
export declare function mixinBlockState<T extends Block<any>, U>(block: T, mapStateToComputed: (state: T['state']) => U): {
import type { BaseBlock, CreatedBlock } from '@rallie/block';
export declare function mixinBlockState<T extends BaseBlock<unknown>, U>(block: T, mapStateToComputed: (state: T['state']) => U): {
data(): {

@@ -11,3 +11,3 @@ [x: string]: U;

};
export declare function mixinBlockEvents<T extends Block<any>>(block: T, events: Partial<T['events']>): {
export declare function mixinBlockEvents<T extends BaseBlock<unknown>>(block: T, events: Partial<T['events']>): {
methods: Partial<T["events"]>;

@@ -18,3 +18,3 @@ mounted(): void;

};
export declare function mixinBlockMethods<T extends CreatedBlock<any>>(block: T, methods: Partial<T['methods']>): {
export declare function mixinBlockMethods<T extends CreatedBlock<unknown>>(block: T, methods: Partial<T['methods']>): {
methods: Partial<T["methods"]>;

@@ -21,0 +21,0 @@ created(): void;

{
"name": "@rallie/vue",
"version": "0.13.1",
"version": "0.14.0",
"description": "vue binding for rallie",

@@ -8,5 +8,17 @@ "author": "runnan <1608272694@qq.com>",

"license": "MIT",
"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"main": "./dist/hooks.umd.js",
"module": "./dist/hooks.es.js",
"types": "./dist/hooks.d.ts",
"exports": {
".": {
"import": "./dist/hooks.es.js",
"require": "./dist/hooks.umd.js",
"types": "./dist/hooks.d.ts"
},
"./mixins": {
"import": "./dist/mixins.es.js",
"require": "./dist/mixins.umd.js",
"types": "./dist/mixins.d.ts"
}
},
"repository": {

@@ -30,5 +42,5 @@ "type": "git",

"devDependencies": {
"@rallie/block": "0.13.0"
"@rallie/block": "0.14.0"
},
"gitHead": "c2af1f1044869fe6f9263c26378ed1f8ed02b424"
"gitHead": "82e05f6b9be0e90ddffbcaccd72960c0a9b7bcb0"
}
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