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

nutui-uniapp

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nutui-uniapp - npm Package Compare versions

Comparing version 1.5.4 to 1.5.5

5

components/_utils/props.ts

@@ -17,2 +17,7 @@ /**

export const nullableBooleanProp = {
type: Boolean as PropType<boolean | undefined>,
default: undefined,
}
export function makeRequiredProp<T>(type: T) {

@@ -19,0 +24,0 @@ return {

4

components/formitem/formitem.ts
import type { ExtractPropTypes } from 'vue'
import { commonProps, makeArrayProp, makeNumericProp, makeStringProp, truthProp } from '../_utils'
import { commonProps, makeArrayProp, makeNumericProp, makeStringProp, nullableBooleanProp, truthProp } from '../_utils'
import type { FormItemRule } from './types'

@@ -10,3 +10,3 @@

*/
required: Boolean,
required: nullableBooleanProp,

@@ -13,0 +13,0 @@ /**

@@ -10,7 +10,7 @@ import type { ExtractPropTypes } from 'vue'

*/
width: makeNumericProp(uni.getSystemInfoSync().windowWidth),
width: makeNumericProp(''),
/**
* @description 轮播卡片的高度
*/
height: makeNumericProp(0),
height: makeNumericProp(''),
/**

@@ -17,0 +17,0 @@ * @description 轮播方向,可选值 `horizontal`, `vertical`

{
"name": "nutui-uniapp",
"displayName": "nutui-uniapp",
"version": "1.5.4",
"version": "1.5.5",
"description": "京东风格的轻量级移动端 Uniapp、Vue3 组件库(支持小程序开发)",

@@ -6,0 +6,0 @@ "author": "yang1206 <y1149221897@outlook.com>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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