Socket
Socket
Sign inDemoInstall

@reach/alert

Package Overview
Dependencies
6
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.5 to 0.8.6

8

dist/alert.cjs.development.js

@@ -58,5 +58,3 @@ 'use strict';

var Alert =
/*#__PURE__*/
React.forwardRef(function Alert(_ref, forwardedRef) {
var Alert = /*#__PURE__*/React.forwardRef(function Alert(_ref, forwardedRef) {
var children = _ref.children,

@@ -84,5 +82,3 @@ _ref$type = _ref.type,

children: PropTypes.node,
type:
/*#__PURE__*/
PropTypes.oneOf(["assertive", "polite"])
type: /*#__PURE__*/PropTypes.oneOf(["assertive", "polite"])
};

@@ -89,0 +85,0 @@ }

@@ -51,5 +51,3 @@ import React, { forwardRef, useRef, useMemo, useEffect } from 'react';

var Alert =
/*#__PURE__*/
forwardRef(function Alert(_ref, forwardedRef) {
var Alert = /*#__PURE__*/forwardRef(function Alert(_ref, forwardedRef) {
var children = _ref.children,

@@ -77,5 +75,3 @@ _ref$type = _ref.type,

children: PropTypes.node,
type:
/*#__PURE__*/
PropTypes.oneOf(["assertive", "polite"])
type: /*#__PURE__*/PropTypes.oneOf(["assertive", "polite"])
};

@@ -82,0 +78,0 @@ }

{
"name": "@reach/alert",
"version": "0.8.5",
"version": "0.8.6",
"description": "Screen-reader-friendly alert messages.",

@@ -18,4 +18,4 @@ "author": "React Training <hello@reacttraining.com>",

"dependencies": {
"@reach/utils": "^0.8.5",
"@reach/visually-hidden": "^0.8.2",
"@reach/utils": "^0.8.6",
"@reach/visually-hidden": "^0.8.6",
"prop-types": "^15.7.2",

@@ -35,3 +35,3 @@ "tslib": "^1.10.0"

],
"gitHead": "ac419cf63d0827016ca448bf95482bcd4c5f879e"
"gitHead": "0c71a018a11055b17815f0fb127cdcd981cd760e"
}

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc