You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

signature_pad

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

signature_pad - npm Package Versions

Previous
1
6
Next

4.0.3

Diff

Changelog

Source

4.0.3 (2022-03-18)

Bug Fixes

  • emit endStroke on pointerup outside of canvas (#604) (29b80dd)
szimek
published 4.0.2 •

Changelog

Source

4.0.2 (2022-01-21)

Bug Fixes

szimek
published 4.0.1 •

Changelog

Source

4.0.1 (2022-01-08)

Bug Fixes

  • fix iOS <= 13 (#581)
szimek
published 4.0.0 •

Changelog

Source

4.0.0

Bug fixes
  • Added Anonymous to crossOrigin prop (#542)
  • Set SVG viewBox size from canvas width and height (#411)
  • Save line Properties in point group (#571)
  • Don't throw error when Coordinates are strings (#573)
  • Update Dependencies
Features
  • Allow offsets when loading image via fromDataURL (#538)
  • Add clear option to fromData (#570)
  • Capture pressure when signing (#566)
Breaking changes
  • dotSize only accepts a number now and no longer accepts a function (#571)

  • SignaturePad is an event emitter. (#567) onBegin and onEnd options have been moved to events.

    The following events were added:

    • beginStroke
    • endStroke
    • beforeUpdateStroke
    • afterUpdateStroke
szimek
published 3.0.0-beta.4 •

Changelog

Source

3.0.0-beta.4

Bug fixes
Breaking changes
  • Remove CommonJS build
  • Updated development dependencies (TS 4.x; tslint -> eslint)
szimek
published 3.0.0-beta.3 •

Changelog

Source

3.0.0-beta.3

Features
  • Add initial support for pointer events
szimek
published 3.0.0-beta.2 •

Changelog

Source

3.0.0-beta.2

Bug fixes
  • Fix error in touchend event handler.
  • Make both params in #toDataURL optional to match Canvas#toDataURL.
Features
  • Add optional callback param to #fromDataURL.
  • Add basic unit tests for SignaturePad class.
szimek
published 3.0.0-beta.1 •

Changelog

Source

3.0.0-beta.1

Breaking changes
  • Rewrite library using TypeScript. TypeScript declaration files are now provided by the library. Hopefully, it should be a bit easier to refactor now...
  • Rename generated build files. The new files are:
dist/signature_pad.js         # unminified CommonJS
dist/signature_pad.min.js     # minified CommonJS
dist/signature_pad.umd.js     # unminified UMD
dist/signature_pad.umd.min.js # minified UMD
dist/signature_pad.m.js       # unminified ES module
dist/signature_pad.m.min.js   # minified ES module
  • Change structure of data returned from SignaturePad#toData method. Each point group now has 2 fields: color and points. Individual points no longer have color field.
Bug Fixes
Features
  • Add very basic unit tests for Point and Bezier classes.
szimek
published 2.3.2 •

Changelog

Source

2.3.2

Bug Fixes
  • Fix fromData to properly handle color changes. (szimek closes #302).
szimek
published 2.3.1 •

Changelog

Source

2.3.1

Bug Fixes
  • Fix minDistance not being correctly initialized when set to zero. (remomueller closes #299).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc