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

zmp-react

Package Overview
Dependencies
Maintainers
3
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zmp-react - npm Package Compare versions

Comparing version 2.8.0-0 to 2.8.0-1

3

cjs/zalo-ui-kits/tab-view.js

@@ -22,4 +22,3 @@ "use strict";

style?: React.CSSProperties;
COLOR_PROPS
CHILDREN_PROPS
CHILDREN_PROP
*/

@@ -26,0 +25,0 @@ var ZMPTabView = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {

@@ -96,3 +96,6 @@ "use strict";

var ZMPView = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
var browserHistory = props.browserHistory,
tab = props.tab;
var elRef = (0, _react.useRef)(null);
var pushState = browserHistory !== undefined ? browserHistory : !tab;
(0, _react.useImperativeHandle)(ref, function () {

@@ -104,2 +107,3 @@ return elRef.current;

}, props, {
browserHistory: pushState,
browserHistoryStoreHistory: false

@@ -106,0 +110,0 @@ }));

/**
* ZMP React 2.8.0-0
* ZMP React 2.8.0-1
* Build full featured iOS & Android apps using ZMP & React

@@ -10,3 +10,3 @@ * https://h5.zalo.me/react/

*
* Released on: June 6, 2022
* Released on: June 8, 2022
*/

@@ -13,0 +13,0 @@ "use strict";

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

style?: React.CSSProperties;
color?: string;
colorTheme?: string;
textColor?: string;
bgColor?: string;
borderColor?: string;
rippleColor?: string;
themeDark?: boolean;
children?: React.ReactNode;S;
children?: React.ReactNode;
}

@@ -20,0 +13,0 @@ declare const TabView: React.FunctionComponent<TabViewProps>;

@@ -8,4 +8,3 @@ import _extends from "@babel/runtime/helpers/extends";

style?: React.CSSProperties;
COLOR_PROPS
CHILDREN_PROPS
CHILDREN_PROP
*/

@@ -12,0 +11,0 @@

@@ -83,3 +83,6 @@ import _extends from "@babel/runtime/helpers/extends";

var ZMPView = /*#__PURE__*/forwardRef(function (props, ref) {
var browserHistory = props.browserHistory,
tab = props.tab;
var elRef = useRef(null);
var pushState = browserHistory !== undefined ? browserHistory : !tab;
useImperativeHandle(ref, function () {

@@ -91,2 +94,3 @@ return elRef.current;

}, props, {
browserHistory: pushState,
browserHistoryStoreHistory: false

@@ -93,0 +97,0 @@ }));

/**
* ZMP React 2.8.0-0
* ZMP React 2.8.0-1
* Build full featured iOS & Android apps using ZMP & React

@@ -10,3 +10,3 @@ * https://h5.zalo.me/react/

*
* Released on: June 6, 2022
* Released on: June 8, 2022
*/

@@ -13,0 +13,0 @@ /* eslint-disable no-proto */

{
"name": "zmp-react",
"version": "2.8.0-0",
"version": "2.8.0-1",
"description": "Build full featured iOS & Android apps using ZMP & React",

@@ -5,0 +5,0 @@ "main": "cjs/zmp-react.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