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

zmp-ui

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zmp-ui - npm Package Compare versions

Comparing version 1.5.3-rc.1 to 1.5.3-rc.2

10

cjs/components/sheet/hooks/useElementSize.js

@@ -16,8 +16,10 @@ "use strict";

var handleResize = function handleResize(entries) {
var _entries$;
var _entries$0$borderBoxS;
if (entries && (_entries$ = entries[0]) != null && _entries$.borderBoxSize) {
var _entries$0$borderBoxS;
if (((_entries$0$borderBoxS = entries[0].borderBoxSize) == null ? void 0 : _entries$0$borderBoxS.length) > 0) {
var _entries$0$borderBoxS2;
setSize((_entries$0$borderBoxS = entries[0].borderBoxSize[0]) == null ? void 0 : _entries$0$borderBoxS.blockSize);
setSize((_entries$0$borderBoxS2 = entries[0].borderBoxSize[0]) == null ? void 0 : _entries$0$borderBoxS2.blockSize);
} else {
setSize(entries[0].contentRect.height);
}

@@ -24,0 +26,0 @@ };

@@ -11,8 +11,10 @@ import { useLayoutEffect, useState } from "react";

var handleResize = function handleResize(entries) {
var _entries$;
var _entries$0$borderBoxS;
if (entries && (_entries$ = entries[0]) != null && _entries$.borderBoxSize) {
var _entries$0$borderBoxS;
if (((_entries$0$borderBoxS = entries[0].borderBoxSize) == null ? void 0 : _entries$0$borderBoxS.length) > 0) {
var _entries$0$borderBoxS2;
setSize((_entries$0$borderBoxS = entries[0].borderBoxSize[0]) == null ? void 0 : _entries$0$borderBoxS.blockSize);
setSize((_entries$0$borderBoxS2 = entries[0].borderBoxSize[0]) == null ? void 0 : _entries$0$borderBoxS2.blockSize);
} else {
setSize(entries[0].contentRect.height);
}

@@ -19,0 +21,0 @@ };

2

index.d.ts
/**
* Zaui 1.5.3-rc.1
* Zaui 1.5.3-rc.2
* Zalo Mini App framework

@@ -4,0 +4,0 @@ * undefined

{
"name": "zmp-ui",
"version": "1.5.3-rc.1",
"version": "1.5.3-rc.2",
"description": "Zalo Mini App framework ",

@@ -5,0 +5,0 @@ "main": "esm/index.js",

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