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

react-scrubber

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-scrubber - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

1

lib/index.d.ts

@@ -12,2 +12,3 @@ import React, { Component } from 'react';

onScrubChange?: (value: number) => void;
[key: string]: any;
};

@@ -14,0 +15,0 @@ declare type Nullable<T> = T | null;

@@ -15,2 +15,13 @@ "use strict";

})();
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -126,3 +137,3 @@ if (mod && mod.__esModule) return mod;

classes.push(className);
return (react_1.default.createElement("div", { className: classes.join(' '), onMouseDown: this.handleSeekStart, onTouchStart: this.handleTouchStart, onTouchEnd: function (e) { return e.preventDefault(); }, onMouseOver: function () { return _this.setState({ hover: true }); }, onMouseLeave: function () { return _this.setState({ hover: false }); } },
return (react_1.default.createElement("div", __assign({ onMouseDown: this.handleSeekStart, onTouchStart: this.handleTouchStart, onTouchEnd: function (e) { return e.preventDefault(); }, onMouseOver: function () { return _this.setState({ hover: true }); }, onMouseLeave: function () { return _this.setState({ hover: false }); } }, this.props, { className: classes.join(' ') }),
react_1.default.createElement("div", { className: "bar", ref: this.barRef },

@@ -129,0 +140,0 @@ react_1.default.createElement("div", { className: "bar__buffer", style: { width: bufferPercent + "%" } }),

2

package.json
{
"name": "react-scrubber",
"version": "0.2.5",
"version": "0.2.6",
"description": "React scrubber component with touch controls, styling, and lots event handlers",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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