Socket
Socket
Sign inDemoInstall

signature_pad

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

signature_pad - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

2

dist/signature_pad.js
/*!
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
* (c) 2024 Szymon Nowak | Released under the MIT license

@@ -4,0 +4,0 @@ */

/*!
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
* (c) 2024 Szymon Nowak | Released under the MIT license

@@ -4,0 +4,0 @@ */

/*!
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
* (c) 2024 Szymon Nowak | Released under the MIT license

@@ -4,0 +4,0 @@ */

/*!
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
* (c) 2024 Szymon Nowak | Released under the MIT license

@@ -4,0 +4,0 @@ */

@@ -13,7 +13,2 @@ /**

import { SignatureEventTarget } from './signature_event_target';
declare global {
interface CSSStyleDeclaration {
msTouchAction: string | null;
}
}
export interface SignatureEvent {

@@ -20,0 +15,0 @@ event: MouseEvent | TouchEvent | PointerEvent;

/*!
* Signature Pad v5.0.1 | https://github.com/szimek/signature_pad
* Signature Pad v5.0.2 | https://github.com/szimek/signature_pad
* (c) 2024 Szymon Nowak | Released under the MIT license

@@ -4,0 +4,0 @@ */

{
"name": "signature_pad",
"description": "Library for drawing smooth signatures.",
"version": "5.0.1",
"version": "5.0.2",
"homepage": "https://github.com/szimek/signature_pad",

@@ -6,0 +6,0 @@ "author": {

@@ -17,8 +17,2 @@ /**

declare global {
interface CSSStyleDeclaration {
msTouchAction: string | null;
}
}
export interface SignatureEvent {

@@ -197,3 +191,3 @@ event: MouseEvent | TouchEvent | PointerEvent;

this.canvas.style.touchAction = 'none';
this.canvas.style.msTouchAction = 'none';
(this.canvas.style as CSSStyleDeclaration & { msTouchAction: string | null }).msTouchAction = 'none';
this.canvas.style.userSelect = 'none';

@@ -222,3 +216,3 @@

this.canvas.style.touchAction = 'auto';
this.canvas.style.msTouchAction = 'auto';
(this.canvas.style as CSSStyleDeclaration & { msTouchAction: string | null }).msTouchAction = 'auto';
this.canvas.style.userSelect = 'auto';

@@ -225,0 +219,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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