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

@ionic/react

Package Overview
Dependencies
Maintainers
19
Versions
2914
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic/react - npm Package Compare versions

Comparing version 4.12.0-dev.201910281628.f70e71a to 4.12.0-dev.201910301839.70fefb5

10

dist/index.esm.js

@@ -408,13 +408,7 @@ import React, { useContext } from 'react';

const _a = this.props, { isOpen, onDidDismiss } = _a, cProps = __rest(_a, ["isOpen", "onDidDismiss"]);
let overlay = this.overlay;
if (!overlay) {
overlay = this.overlay = await controller.create(Object.assign({}, cProps));
}
const overlay = this.overlay = await controller.create(Object.assign({}, cProps));
attachProps(overlay, {
[dismissEventName]: onDidDismiss
}, prevProps);
// Check isOpen again since the value could of changed during the async call to controller.create
if (this.props.isOpen === true) {
await overlay.present();
}
await overlay.present();
}

@@ -421,0 +415,0 @@ render() {

@@ -414,13 +414,7 @@ 'use strict';

const _a = this.props, { isOpen, onDidDismiss } = _a, cProps = tslib_1.__rest(_a, ["isOpen", "onDidDismiss"]);
let overlay = this.overlay;
if (!overlay) {
overlay = this.overlay = await controller.create(Object.assign({}, cProps));
}
const overlay = this.overlay = await controller.create(Object.assign({}, cProps));
attachProps(overlay, {
[dismissEventName]: onDidDismiss
}, prevProps);
// Check isOpen again since the value could of changed during the async call to controller.create
if (this.props.isOpen === true) {
await overlay.present();
}
await overlay.present();
}

@@ -427,0 +421,0 @@ render() {

4

package.json
{
"name": "@ionic/react",
"version": "4.12.0-dev.201910281628.f70e71a",
"version": "4.12.0-dev.201910301839.70fefb5",
"description": "React specific wrapper for @ionic/core",

@@ -42,3 +42,3 @@ "keywords": [

"dependencies": {
"@ionic/core": "4.12.0-dev.201910281628.f70e71a",
"@ionic/core": "4.12.0-dev.201910301839.70fefb5",
"tslib": "*"

@@ -45,0 +45,0 @@ },

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