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

@reach/dialog

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reach/dialog - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

LICENSE

4

dist/dialog.cjs.development.js

@@ -272,5 +272,7 @@ 'use strict';

return new Error("You provided both `aria-label` and `aria-labelledby` props to a <" + compName + ">. If the a label for this component is visible on the screen, that label's component should be given a unique ID prop, and that ID should be passed as the `aria-labelledby` prop into <" + compName + ">. If the label cannot be determined programmatically from the content of the element, an alternative label should be provided as the `aria-label` prop, which will be used as an `aria-label` on the HTML tag." + details);
} else if (props[propName] != null && typeof props[propName] !== "string") {
return new Error("Invalid prop `" + propName + "` supplied to `" + compName + "`. Expected `string`, received `" + (Array.isArray(propFullName) ? "array" : typeof propFullName) + "`.");
}
return PropTypes.string(props, propName, compName, location, propFullName);
return null;
}

@@ -277,0 +279,0 @@

@@ -265,5 +265,7 @@ import { __rest, __assign } from 'tslib';

return new Error("You provided both `aria-label` and `aria-labelledby` props to a <" + compName + ">. If the a label for this component is visible on the screen, that label's component should be given a unique ID prop, and that ID should be passed as the `aria-labelledby` prop into <" + compName + ">. If the label cannot be determined programmatically from the content of the element, an alternative label should be provided as the `aria-label` prop, which will be used as an `aria-label` on the HTML tag." + details);
} else if (props[propName] != null && typeof props[propName] !== "string") {
return new Error("Invalid prop `" + propName + "` supplied to `" + compName + "`. Expected `string`, received `" + (Array.isArray(propFullName) ? "array" : typeof propFullName) + "`.");
}
return PropTypes.string(props, propName, compName, location, propFullName);
return null;
}

@@ -270,0 +272,0 @@

{
"name": "@reach/dialog",
"version": "0.7.1",
"version": "0.7.2",
"description": "Accessible React Modal Dialog.",
"author": "React Training <hello@reacttraining.com>",
"license": "MIT",
"repository": {

@@ -10,18 +12,10 @@ "type": "git",

},
"author": "React Training <hello@reacttraining.com>",
"license": "MIT",
"main": "dist/index.js",
"umd:main": "dist/dialog.umd.production.js",
"module": "dist/dialog.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"styles.css"
],
"scripts": {
"build": "cross-env NODE_ENV=production tsdx build --format=cjs,esm,umd"
"build": "yarn clean && cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json",
"clean": "rm -rf ./dist",
"compile": "cross-env NODE_ENV=production tsdx build --format=cjs,esm --tsconfig tsconfig.build.json"
},
"dependencies": {
"@reach/portal": "^0.7.1",
"@reach/utils": "^0.7.1",
"@reach/portal": "^0.7.2",
"@reach/utils": "^0.7.2",
"prop-types": "^15.7.2",

@@ -34,3 +28,11 @@ "react-focus-lock": "^2.2.1",

"react-dom": "^16.8.0"
}
},
"main": "dist/index.js",
"module": "dist/dialog.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"styles.css"
],
"gitHead": "96cf6c191cca0f2cbcb7ff578f15e289efeda1e2"
}

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