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

@boulevard/duration-select

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boulevard/duration-select - npm Package Compare versions

Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15

2

package.json
{
"name": "@boulevard/duration-select",
"version": "1.0.0-alpha.14",
"version": "1.0.0-alpha.15",
"description": "A component for intelligently selecting durations.",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -39,2 +39,4 @@ import { customElement, eventOptions, html, LitElement, property, PropertyValues, query } from 'lit-element';

wheelEventThrottle: number = 80;
@property()
preventWheelPropagation: boolean = true;
// TODO(Jeff) - add in optional formatting for hours and minutes

@@ -101,3 +103,2 @@ // This will also require additional logic to determine singular or plural

super.disconnectedCallback();
if ('ontouchstart' in document) {

@@ -231,5 +232,5 @@ document.removeEventListener('touchstart', this._touchstart);

// Get pasted data via clipboard API
const pastedData: string = e.clipboardData.getData('Text');
this._updateDurationSelect(pastedData, e);
if (e.clipboardData) {
this._updateDurationSelect(e.clipboardData.getData('Text'), e);
}
}

@@ -247,2 +248,4 @@

if (this._isFocused) {
this.preventWheelPropagation && this._preventDefaultAndProp(e);
if (Date.now() >= this._lastWheelTime + this.wheelEventThrottle) {

@@ -249,0 +252,0 @@ this._lastWheelTime = Date.now();

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