Socket
Socket
Sign inDemoInstall

react-redux-toastr

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-redux-toastr - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

11

package.json
{
"name": "react-redux-toastr",
"version": "3.0.2",
"version": "3.0.3",
"description": "react-redux-toastr is a React toastr message implemented with Redux",

@@ -10,4 +10,4 @@ "main": "lib/index.js",

"build": "better-npm-run build",
"less": "node_modules/.bin/lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" lib/css/react-redux-toastr.css",
"less:m": "node_modules/.bin/lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" --clean-css lib/css/react-redux-toastr.min.css",
"less": "lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" lib/css/react-redux-toastr.css",
"less:m": "lessc src/toastr/less/index.less --autoprefix=\"last 2 versions\" --clean-css lib/css/react-redux-toastr.min.css",
"clean": "better-npm-run clean",

@@ -49,3 +49,3 @@ "lint": "better-npm-run lint",

"type": "git",
"url": "https://github.com/diegoddox/react-redux-toastr"
"url": "git+https://github.com/diegoddox/react-redux-toastr.git"
},

@@ -142,3 +142,4 @@ "bugs": {

"uuid": "^2.0.1"
}
},
"homepage": "https://github.com/diegoddox/react-redux-toastr#readme"
}

@@ -58,8 +58,8 @@ 'use strict';

<div className="content">
<button type="button" onClick={this.add.bind(this)}>success</button>
<button type="button" onClick={() => toastr.info('## Info', loremIpsum())}>info</button>
<button type="button" onClick={() => toastr.error('## Error', {timeOut: 4000, component: comp})}>error</button>
<button type="button" onClick={() => toastr.warning('## Warning', loremIpsum())}>warning</button>
<button type="button" onClick={() => toastr.message('## Message', {component: messageComp})}>message</button>
<button type="button" onClick={() => toastr.confirm('## confirm')}>confirm</button>
<button type="button" className="btn btn-success" onClick={this.add.bind(this)}>success</button>
<button type="button" className="btn btn-primary" onClick={() => toastr.info('## Info', loremIpsum())}>info</button>
<button type="button" className="btn btn-danger" onClick={() => toastr.error('## Error', {timeOut: 4000, component: comp})}>error</button>
<button type="button" className="btn btn-warning" onClick={() => toastr.warning('## Warning', loremIpsum())}>warning</button>
<button type="button" className="btn btn-default" onClick={() => toastr.message('## Message', {component: messageComp})}>message</button>
<button type="button" className="btn btn-default" onClick={() => toastr.confirm('## confirm')}>confirm</button>
</div>

@@ -66,0 +66,0 @@ {this.renderDev()}

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