Socket
Socket
Sign inDemoInstall

react-modal-dialog

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-modal-dialog - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

index.js

4

lib/useSheet.js

@@ -11,2 +11,4 @@ 'use strict';

var _jss2 = _interopRequireDefault(_jss);
var _reactJss = require('react-jss');

@@ -32,3 +34,3 @@

var jss = (0, _jss.create)();
var jss = _jss2['default'].create();
jss.use((0, _jssVendorPrefixer2['default'])());

@@ -35,0 +37,0 @@ jss.use((0, _jssPx2['default'])());

{
"name": "react-modal-dialog",
"version": "2.0.0",
"version": "3.0.0",
"description": "A simple, idiomatic, and declarative way to launch modal dialogs in ReactJS",

@@ -9,3 +9,3 @@ "repository": {

},
"main": "lib/index.js",
"main": "src/index.js",
"scripts": {

@@ -15,3 +15,3 @@ "prepublish": "npm run build",

"github": "./scripts/publishStaticSite.sh",
"build": "babel src --out-dir lib",
"build": "./scripts/publishToNPM.sh",
"test": "echo \"Error: no test specified\" && exit 1"

@@ -37,4 +37,4 @@ },

"peerDependencies": {
"react": "^0.14.2",
"react-dom": "^0.14.2"
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
},

@@ -41,0 +41,0 @@ "devDependencies": {

@@ -129,1 +129,5 @@ # React Modal Dialog

Feel free to send pull requests, or help document this project more.
# A Note on `package.json`
package.json points to `src/index.js`, so that it is easy to develop against. However, this folder does not exist in the npm distribution, so the whole thing falls back to the `/index.js` at the root, which points to the compiled `/lib/index.js`.
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