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

autonumeric

Package Overview
Dependencies
Maintainers
2
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autonumeric - npm Package Versions

1
15

4.5.0

Diff

Changelog

Source

4.5.0

  • Closes #542 Allow basic calculations when entering expressions like =12*78
    • Introduces the formula mode which allows a user to enter a math expression in the element using the = key, then evaluate it with the Enter one
    • Adds the formulaMode option, set to false by default, that controls if the formula mode is enabled
  • Adds the Lexer, Parser, Evaluator, ASTNode and Token classes for managing math expressions
  • Fixes #612 Dist files contain eval
    • The webpack devtool option for the development configuration has been changed from cheap-module-eval-source-map to cheap-source-map; This removes any eval() from the generated dist/autoNumeric.js file, and makes the source maps works in all cases in the browsers
  • Merge the changes from 4.4.1 while making sure there is no regression with #609; this adds the browser field alongside the main one in package.json
    • Note: The browser option points to the minified library dist/autoNumeric.min.js
  • Update the index.html test file to use the un-minified development library dist/autoNumeric.js This allows to temporarily use forbidden functions like console or wrong formatting while debugging, using yarn build:dev
  • Fixes a call to _reformatAltHovered() even when the unformatOnHover option was set to false
acd
published 4.4.3 •

Changelog

Source

4.4.3

  • Fixes #598 The unformatOnHover config value isn't used when set to false
acd
published 4.4.2 •

Changelog

Source

4.4.2

  • Fixes #609 Uncaught Error: Cannot find module 'autonumeric' on v4.4.1
  • Reverts the changes from 4.4.1 : "Modify the package.json configuration main field to browser"
acd
published 4.4.1 •

Changelog

Source

4.4.1

  • Modify the package.json configuration main field to browser
    • This is useful per npm's documentation when the module is using browser-specific features like the window object
acd
published 4.4.0 •

Changelog

Source

4.4.0

  • Closes #476 Add a feature where emptyInputBehavior could be set to the minimum or maximum value
    • emptyInputBehavior now accepts either a number (or a string representing a number), or the 'min' or 'max' option
  • Fix the emptyInputBehavior validation test when checking the value limits
  • Fixes #579 Allow emptyInputBehavior to be set to min, max, or a number
acd
published 4.3.7 •

Changelog

Source

4.3.7

  • Fixes #594 Currency at wrong position for empty fields with euro/french preset after typing minus sign
  • Fixes #565 Entering a single minus character in a negativeBracketsTypeOnBlur input invert the currency sign and that minus sign
acd
published 4.3.6 •

Changelog

Source

4.3.6

  • Fixes #219 'Bug on form reset' that was re-opened
  • AutoNumeric now listens to the reset event on the parent form, and react accordingly if detected
acd
published 4.3.5 •

Changelog

Source

4.3.5

  • Really fixes issue #596 this time
acd
published 4.3.4 •

Changelog

Source

4.3.4

  • Fixes #596 Change event not firing depending on cursor movement
acd
published 4.3.3 •

Changelog

Source

4.3.3

  • Fixes #593 Pasting a negative value over a negative value that as a currency symbol and its numbers selected throws an error
  • Refactor the _onPaste() handler by removing duplicated parts
  • Fix the initialization call new AutoNumeric() where using as arguments a string (element selector), a number (initial value) and an array (array of options), in that particular order, would not be recognized
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