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.0.0 to 1.0.1

16

components/_utils/env.ts

@@ -101,17 +101,1 @@ /** 枚举EPlatform */

export const isQuickappWebviewHuawei = platform === EPlatform.QuickappWebviewHuawei
// utils
function toBoolean(val: any) {
return val ? val !== 'false' : false
}
function parseJSON<T>(val: any) {
let obj: T
try {
obj = JSON.parse(val || '{}') as T
}
catch (error) {
obj = {} as T
}
return obj
}

14

components/addresslist/addresslist.ts

@@ -29,9 +29,9 @@ import type { ExtractPropTypes } from 'vue'

export const addresslistEmits = {
delIcon: (val: Event, item: unknown) => true,
editIcon: (val: Event, item: unknown) => true,
clickItem: (val: Event, item: unknown) => true,
longCopy: (val: Event, item: unknown) => true,
longSet: (val: Event, item: unknown) => true,
longDel: (val: Event, item: unknown) => true,
swipeDel: (val: Event, item: unknown) => true,
delIcon: (val: Event, item: unknown, index: number | string) => true,
editIcon: (val: Event, item: unknown, index: number | string) => true,
clickItem: (val: Event, item: unknown, index: number | string) => true,
longCopy: (val: Event, item: unknown, index: number | string) => true,
longSet: (val: Event, item: unknown, index: number | string) => true,
longDel: (val: Event, item: unknown, index: number | string) => true,
swipeDel: (val: Event, item: unknown, index: number | string) => true,
add: (val: Event) => true,

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

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

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

@@ -13,3 +13,3 @@ <p align="center">

<a href="https://www.npmjs.com/package/nutui-uniapp">
<img alt="npm" src="https://img.shields.io/npm/v/uniapp-nutui?logo=npm&color=%234d80f0&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Funiapp-nutui">
<img alt="npm" src="https://img.shields.io/npm/v/nutui-uniapp?logo=npm&color=%234d80f0&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Funiapp-nutui">
</a>

@@ -16,0 +16,0 @@ <a href="https://www.npmjs.com/package/uniapp-nutui">

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

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