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

react-bootstrap-dialog

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-bootstrap-dialog - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

yarn.lock

2

.storybook/config.js

@@ -6,3 +6,3 @@ // IMPORTANT

import { configure } from '@kadira/storybook';
import { configure } from '@storybook/react';

@@ -9,0 +9,0 @@ function loadStories() {

@@ -0,1 +1,7 @@

# v0.9.2
- Update some libraries.
- Reduce dependencies.
- Stop using `this.refs`.
# v0.9.1

@@ -2,0 +8,0 @@

@@ -7,3 +7,3 @@ # Contributing to React Bootstrap Dialog Component

This component has been setup with [React CDK](https://github.com/kadirahq/react-cdk). Refer [React CDK documentation](https://github.com/kadirahq/react-cdk)) to get started with the development.
This component has been setup with [React CDK](https://github.com/kadirahq/react-cdk). Refer [React CDK documentation](https://github.com/kadirahq/react-cdk) to get started with the development.

@@ -10,0 +10,0 @@ ## Coding Style

@@ -37,5 +37,5 @@ 'use strict';

* The modal dialog which can be altenative to `window.confirm` and `window.alert`.
* @example <Dialog ref='dialog'/>
* @example this.refs.dialog.show({body: 'Hello!', actions: [Dialog.Action('do', () => console.log('ok'))]})
* @example this.refs.dialog.showAlert('Hello!')
* @example <Dialog ref={(el) => {this.dialog = el} />
* @example this.dialog.show({body: 'Hello!', actions: [Dialog.Action('do', () => console.log('ok'))]})
* @example this.dialog.showAlert('Hello!')
*/

@@ -104,3 +104,3 @@ var Dialog = function (_React$Component) {

var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

@@ -132,3 +132,3 @@ var keyBinds = {};

value: function showAlert(body) {
var bsSize = arguments.length <= 1 || arguments[1] === undefined ? undefined : arguments[1];
var bsSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;

@@ -135,0 +135,0 @@ var options = {

{
"name": "react-bootstrap-dialog",
"version": "0.9.1",
"version": "0.9.2",
"description": "The modal-dialog React component with React Bootstrap, alternates `window.confirm` and `window.alert`.",

@@ -32,11 +32,12 @@ "repository": {

"devDependencies": {
"@kadira/storybook": "^2.5.2",
"babel-cli": "^6.5.0",
"babel-core": "^6.5.0",
"@kadira/storybook-deployer": "^1.2.0",
"@storybook/addon-actions": "^3.2.6",
"@storybook/react": "3.2.8",
"babel-cli": "^6.23.0",
"babel-core": "^6.23.0",
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.5.0",
"babel-polyfill": "^6.5.0",
"babel-preset-es2015": "^6.5.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-2": "^6.5.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-runtime": "^6.23.0",
"bootstrap": "^3.3.7",

@@ -48,16 +49,14 @@ "chai": "^3.5.0",

"mocha": "^2.4.5",
"react": "^15.0.0",
"react": "^15.6.0",
"react-addons-test-utils": "^15.0.0",
"react-bootstrap": "^0.30.3",
"react-bootstrap": "^0.31.3",
"react-dom": "^15.0.0",
"sinon": "^1.17.3",
"standard": "^8.0.0"
"standard": "^8.0.0",
"webpack": "^2.0.0"
},
"peerDependencies": {
"react": "^0.14.7 || ^15.0.0"
"react-bootstrap": "^0.31.3"
},
"dependencies": {
"@kadira/storybook-deployer": "^1.2.0",
"babel-runtime": "^6.5.0"
},
"dependencies": {},
"main": "dist/index.js",

@@ -64,0 +63,0 @@ "engines": {

@@ -46,3 +46,3 @@ # React Bootstrap Dialog

```html
<Dialog ref="dialog" />
<Dialog ref={(el) => { this.dialog = el }} />
```

@@ -53,3 +53,3 @@

```js
this.refs.dialog.showAlert('Hello Dialog!')
this.dialog.showAlert('Hello Dialog!')
```

@@ -71,3 +71,3 @@

onClick () {
this.refs.dialog.showAlert('Hello Dialog!')
this.dialog.showAlert('Hello Dialog!')
}

@@ -79,3 +79,3 @@

<Button onClick={this.onClick}>Show alert</Button>
<Dialog ref='dialog' />
<Dialog ref={(el) => { this.dialog = el }} />
</div>

@@ -143,3 +143,3 @@ )

```js
this.refs.dialog.show({
this.dialog.show({
title: 'Greedings',

@@ -169,3 +169,3 @@ body: 'How are you?',

```js
this.refs.dialog.showAlert('Hello world!')
this.dialog.showAlert('Hello world!')
```

@@ -180,3 +180,3 @@

```js
this.refs.dialog.hide()
this.dialog.hide()
```

@@ -183,0 +183,0 @@

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