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

augur-ui-react-components

Package Overview
Dependencies
Maintainers
5
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augur-ui-react-components - npm Package Compare versions

Comparing version 3.0.55 to 3.0.56

2

package.json
{
"name": "augur-ui-react-components",
"version": "3.0.55",
"version": "3.0.56",
"description": "Augur UI React Components",

@@ -5,0 +5,0 @@ "author": "Augur Project",

@@ -81,13 +81,27 @@ import React from 'react';

case COMMIT_REPORT:
nodes.description = (
<span className="description">
<span>Report</span>
<strong>{p.data.outcome.name.substring(0, 35) + (p.data.outcome.name.length > 35 && '...' || '')}</strong>
{!!p.data.isUnethical &&
<strong className="unethical"> and Unethical</strong>
}
<br />
<span className="market-description" title={p.data.market.description}>{p.data.market.description.substring(0, 100) + (p.data.market.description.length > 100 && '...' || '')}</span>
</span>
);
if (p.data.market.type === 'scalar') {
nodes.description = (
<span className="description">
<span>Report</span>
<strong>{p.data.market.reportedOutcome || ''}</strong>
{!!p.data.isUnethical &&
<strong className="unethical"> and Unethical</strong>
}
<br />
<span className="market-description" title={p.data.market.description}>{p.data.market.description.substring(0, 100) + (p.data.market.description.length > 100 && '...' || '')}</span>
</span>
);
} else {
nodes.description = (
<span className="description">
<span>Report</span>
<strong>{p.data.outcome.name && p.data.outcome.name.substring(0, 35) + (p.data.outcome.name.length > 35 && '...' || '')}</strong>
{!!p.data.isUnethical &&
<strong className="unethical"> and Unethical</strong>
}
<br />
<span className="market-description" title={p.data.market.description}>{p.data.market.description.substring(0, 100) + (p.data.market.description.length > 100 && '...' || '')}</span>
</span>
);
}
break;

@@ -94,0 +108,0 @@ case GENERATE_ORDER_BOOK:

Sorry, the diff of this file is too big to display

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