Schemes is a valuable npm package providing an extensive list of IANA Uniform Resource Identifier (URI) schemes, enriched with community-sourced unofficial entries, making it a comprehensive resource for developers needing to validate or utilize URIs. Version 1.2.0, released in March 2021, represents a notable update from the previous stable version 1.1.1, released in May 2016.
The core functionality remains consistent. Both versions share the same fundamental purpose and the extend dependency. However, several development dependencies have been updated. cheerio sees an upgrade from version 0.20.0 to 0.22.0, suggesting improvements or bug fixes in HTML parsing for the package's internal tooling. lodash.keyby has a minor version bump from 4.3.0 to 4.4.0, implying enhanced object manipulation capabilities during development. simple-get jumps from 2.1.0 to 2.2.0, potentially indicating more robust or efficient HTTP requests within the build or testing processes. Noticeable no change in dependencies like chalk, deep-equal, jshint or simple-array-diff.
The most significant difference is the release date, a nearly five-year gap. This indicates that version 1.2.0 likely incorporates cumulative improvements, bug fixes, and scheme additions accumulated over time. Developers upgrading to version 1.2.0 can expect an up-to-date and more robust URI scheme list, benefiting from the improvements in the updated development dependencies. Size went from not specified to 51KB unpacked size.
For developers using Schemes, the package provides a simple way to check if a given string is a valid URI scheme. This is particularly useful for data validation, input sanitization, and creating URI-aware applications. The MIT license ensures flexibility in integrating Schemes into various projects, both open-source and commercial.
The are not vulnerabilities for the version 1.2.0 of the package schemes