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

react-scrubbing-timeline

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scrubbing-timeline - npm Package Compare versions

Comparing version 0.1.9 to 0.2.0

2

package.json
{
"name": "react-scrubbing-timeline",
"version": "0.1.9",
"version": "0.2.0",
"author": "MahdiBZ",

@@ -5,0 +5,0 @@ "private": false,

@@ -21,2 +21,10 @@ import { arrayOf, exact, number, oneOf, string } from "prop-types";

};
const getColor = (actionType) => {
switch (actionType){
case "PASTE": return "red";
case "TYPE" : return "white";
case "TEST": return "blue"
default: return "white"
}
};
return (

@@ -40,4 +48,3 @@ <div className="timeline-wrapper">

className={`timeline-item ${
ta.actionType !== "PASTE" ? "white" : "red"
}`}
getColor(ta.actionType)}`}
key={`${ta.lang}-${i}`}

@@ -44,0 +51,0 @@ style={{ left: (ta.time / duration) * 100 + "%" }}

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