Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@dangojs/digitforce-ui-utils

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dangojs/digitforce-ui-utils - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+2
-4
dist/index.cjs

@@ -47,8 +47,6 @@ 'use strict';

if (typeof defaultSlots === "function") {
slots = lodashEs.merge(defaultSlots(data, context), slots);
} else {
slots = lodashEs.merge(defaultSlots, slots);
defaultSlots(data, context);
}
}
return vue.h(tag, data, slots);
return vue.h(tag, data, { ...slots, ...defaultSlots });
};

@@ -55,0 +53,0 @@ }

import * as vue from 'vue';
import { VNode, Plugin } from 'vue';
import { VNode, Plugin, Component } from 'vue';

@@ -13,4 +13,4 @@ declare function isEmptyElement(c: VNode): boolean;

declare const transformComponent: <T extends Record<string, any>>(tag: any, defaultProps?: Partial<T> | undefined, defaultSlots?: any) => any;
declare const transformComponent: <T extends Record<string, any>>(tag: any, defaultProps?: Partial<T> | undefined, defaultSlots?: any) => Component<T, any, any, vue.ComputedOptions, vue.MethodOptions>;
export { filterEmpty, isEmptyElement, transformComponent, withInstall };

@@ -43,8 +43,6 @@ import { Comment, Fragment, Text, defineComponent, h } from 'vue';

if (typeof defaultSlots === "function") {
slots = merge(defaultSlots(data, context), slots);
} else {
slots = merge(defaultSlots, slots);
defaultSlots(data, context);
}
}
return h(tag, data, slots);
return h(tag, data, { ...slots, ...defaultSlots });
};

@@ -51,0 +49,0 @@ }

{
"name": "@dangojs/digitforce-ui-utils",
"type": "module",
"version": "0.0.2",
"version": "0.0.3",
"description": "UI 组件库的一些帮助方法和函数",

@@ -40,3 +40,3 @@ "author": "Digitforce Team",

"prepublishOnly": "nr build",
"release": "bumpp --tag=false && npm publish",
"release": "bumpp --no-tag && npm publish",
"start": "esno src/index.ts",

@@ -43,0 +43,0 @@ "test": "vitest",