šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
DemoInstallSign in
Socket

nfsfu234-form-validation

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nfsfu234-form-validation - npm Package Versions

2

3.0.0-beta

Diff
nforshifu234dev
published 3.0.0-beta •

Changelog

Source

[3.0.0-beta] - 2024-08-25

Important Notes

  • 🚨 Repository Transfer: This repository has been moved from nforshifu234dev's personal account to the NFSFU234FormValidation organization. Access it under the NFSFU234FormValidation organization by clicking here.

Added

  • Framework Compatibility: Added support for React JS and Vite, allowing seamless integration with these frameworks.
  • TypeScript Upgrade: The library has been upgraded from Vanilla JavaScript to TypeScript for enhanced code efficiency and debugging.
  • Error Handling Enhancements: Introduced the ErrorMessage and ErrorHandler interfaces for clearer error insights, allowing errors to be handled as HTML elements, text, or null.
  • Revamped Methods: Redesigned submit and validate methods to return a Promise resolving to an ErrorMessageInterface, providing detailed feedback on validation results.

Updated

  • Class and ID Renaming: Updated the js-required class to nfsfu234-fv-required and the jsSubmit ID to nfsfu234-fv-form to maintain a consistent naming convention.
  • Website Improvements: Ongoing work to enhance the website for a more user-friendly experience, with final changes expected by the stable release.

Removed

  • None
nforshifu234dev
published 2.4.4 •

Changelog

Source

[2.4.4] - 2024-03-01

IMPORTANT INFORMATION

🚨 Repository Transfer: This repository has been moved from nforshifu234dev's personal account to the NFSFU234FormValidation organization. You can now access it under the NFSFU234FormValidation organization by clicking here.

Added

  • Added a new CODE_OF_CONDUCT file to promote a welcoming and inclusive community.

Updated

  • Modified the CONTRIBUTING.md file to provide updated guidelines for contributors.
  • Updated the LICENSE file to reflect the project's license.
  • Modified the Package Information file to ensure accurate information.

Removed

  • The web folder has been removed and transferred to its own repository. You can now find it in its dedicated repository here.
nforshifu234dev
published 2.4.3 •

Changelog

Source

[2.4.3] - 2024-01-25

Important Note

  • When utilizing the JsDelivr CDN URL to access the NFSFU234FormValidation Library with the @latest tag, be aware that, in some instances, it might not include the latest updates. To ensure the inclusion of the most recent code, consider using the specific version number (e.g., 2.4.3).

  • This observation was made during the release of version 2.4.2.

Added

  • Added redirect() function, used for redirecting a user to a specific url or path

Updated

  • Website UI has been updated.
  • copy-webpack-plugin was updated to v12.0.2 from v11.0.0
  • css-minimizer-webpack-plugin was updated to v6.0.0 from 5.0.1

Changed

  • Modified the _getFormDetails() function

    • Fixed the bug, formValidator.getFormDetails is not a function. This was due to a bundling error during the rlease of v2.3.2
    • Had to add index variable when selcting textareas, and select tags. It was returning errors in previous versions.
  • Modified the _loading() function

    • Here I added the ability for the loading() function to select inut feilds with the type search
  • Modified the submit() function

    • Modfied this function in the else part when checking if a button exists. The console error was a mess.
  • Modified the validateInput() function

    • Modifed this function to be able to check for date type in any input feild.
    • Modified this function to display the prorper error message if an input is of type url and is required

Removed

  • None
nforshifu234dev
published 2.4.3-alpha-2 •
nforshifu234dev
published 2.4.3-alpha-1 •
nforshifu234dev
published 2.4.3-alpha •
nforshifu234dev
published 2.4.2 •
nforshifu234dev
published 2.3.2 •

Changelog

Source

[2.3.2] - 2023-11-27

Added

  • none

Changed

  • Modified the ReadMe.md file
  • Modified the function call attribute for verifyPassword() function.
  • Modified the _togglePasswordVisibility() function to ensure more flexiblity to icon display during toggling more than one password input feild
  • Updated the _getFormDetails(). In the previous version, only inputs feilds were affected with the updates but now all for elements inputs, textareas, select.

Removed

  • none
nforshifu234dev
published 2.3.1 •

Changelog

Source

[2.3.1] - 2023-11-25

Information šŸ„³šŸ„‚

  • You can now follow NFSFU234 Form Validation Library on X (Formerly Twitter) and Instagram. The username is nf_validator234.

  • Also you can send an email to nf.validator234@gmail.com

Added

  • verifyPassword(). Asynchronously compares two passwords, supporting both hashed and plaintext formats. More information in the ReadMe file.

  • getFormDetails(). It gets the values of all form elements in a form. Be it inputs, textareas, selects or even checkboks & radio elements. Find More information in the ReadMe file num

Changed

  • Updated the babel, jest and webpack packages to versions 7.23.3, 29.7.0, and 5.89.0 respectively

  • New instructions to install NFSFU234 Form Validation Library via npm, yarn in the Installation Section

  • Updated the documentation for the illustration for how to use the generateRandomPassword() function . Removed the parameters from the illustration because this function does not allow parameters yet.

  • Updated the isURL() function to properly check and validate URLS.

  • Updated the private function , _getFormDetails() function. The function could only get form data based on only if the form element has the data-attr-name attribute. Then i thought to myself since a lot of forms use the name attribute why not add that attribute to the list. Find out more information in the getFormDetails() function that has been made visible

Removed

  • Removed the Independence Day Banner.
nforshifu234dev
published 2.3.0-patch •

Changelog

Source

[2.3.0-patch] - 2023-10-01

Fixed

  • Fixed the error of the new features isOnline() and reset() is not working in the initial v2.3.0.
2