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

react-disqus-thread

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-disqus-thread - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

lib/components/__tests__/DisqusThread-test.js

31

package.json
{
"name": "react-disqus-thread",
"version": "0.2.2",
"version": "0.3.0",
"description": "React Disqus thread component",
"main": "index.js",
"scripts": {
"test": "scripts/test --browsers Firefox --single-run",
"build": "scripts/build",
"dev": "scripts/build-watch"
},
"browserify": {
"transform": [
"reactify"
]
},
"main": "lib/main.js",
"repository": {

@@ -32,18 +22,5 @@ "type": "git",

"peerDependencies": {
"react": "^0.13.3"
},
"devDependencies": {
"jsx-loader": "^0.13.2",
"karma": "^0.12.36",
"karma-chrome-launcher": "^0.1.12",
"karma-cli": "0.0.4",
"karma-firefox-launcher": "^0.1.6",
"karma-jasmine": "^0.3.5",
"karma-webpack": "^1.5.1",
"react": "^0.13.3",
"reactify": "^1.1.1",
"uglify-js": "^2.4.23",
"webpack": "^1.9.10",
"webpack-dev-server": "^1.9.0"
"react": "^0.14.0",
"react-dom": "^0.14.0"
}
}

@@ -21,8 +21,13 @@ # react-disqus-thread

var React = require('react');
var DisqusThread = require('react-disqus-thread');
var ReactDisqusThread = require('react-disqus-thread');
var App = createClass({
handleNewComment: function(comment) {
console.log(comment.text);
}
render: function () {
return (
<DisqusThread
<ReactDisqusThread
shortname="example"

@@ -32,3 +37,4 @@ identifier="something-unique-12345"

url="http://www.example.com/example-thread"
categoryId="123456"/>
category_id="123456"
onNewComment={this.handleNewComment}/>
);

@@ -35,0 +41,0 @@ }

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