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

restricted-input

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restricted-input - npm Package Versions

1345

3.0.4

Diff
braintree
published 3.0.4 •

Changelog

Source

3.0.4

  • Fix issue where some Mac OS input sources would not format correctly in Safari
braintree
published 3.0.3 •

Changelog

Source

3.0.3

  • Fix issue where pasting on Android Chrome would result in a double entry of the inputted value (Fixes braintree-web-drop-in#650)
braintree
published 3.0.2 •

Changelog

Source

3.0.2

  • Fixup usage of window for server-side rendering
braintree
published 3.0.1 •

Changelog

Source

3.0.1

  • Add missing supports-input-formatting module at top level
braintree
published 3.0.0 •

Changelog

Source

3.0.0

  • Add Typescript types

Breaking Changes

Private methods in Restricted Input are now private

braintree
published 2.1.1 •

Changelog

Source

2.1.1

  • convert global to window (closes braintree-web#401)
braintree
published 2.1.0 •

Changelog

Source

2.1.0

  • Add option to include a hook for the unformatted value of the input after pasting
braintree
published 2.0.2 •

Changelog

Source

2.0.2

  • Update browser-detection dependency to 1.8.0
  • Add ChromeOS detection and treat it like Android (fixes issue with malformed formatting in chrome books with soft keyboards)
braintree
published 2.0.1 •

Changelog

Source

2.0.1

  • Fix bug where input would be formatted when using setPattern even if input is empty
braintree
published 2.0.0 •

Changelog

Source

2.0.0

  • Fix bug in iOS Chrome where autofill may not format correctly

Breaking Changes

  • Inputs initialize in formatted state if input has a preset value