Url-loader is a webpack loader that transforms files into base64 URIs, offering a convenient way to embed assets directly into your JavaScript or CSS bundles. Version 1.1.2 presents subtle but potentially beneficial updates compared to version 1.1.1. Both versions share the same core dependencies, including loader-utils, mime, and schema-utils, ensuring consistent handling of file processing, MIME type determination, and options validation. The development dependencies also remain the same, suggesting a focus on internal improvements and bug fixes rather than significant feature additions.
A key difference lies in the defined peer dependency for webpack. Version 1.1.1 declares webpack: ^4.0.0 while 1.1.2 declares webpack: ^3.0.0 || ^4.0.0. This difference indicates that version 1.1.2 has broadened compatibility to include webpack version 3.0.0, whereas the 1.1.1 version was exclusively for webpack version 4.0.0 and later.
Another notable difference is the unpackedSize of dist files, which is 16704 bytes for v1.1.2 and 15769 bytes for v1.1.1, slightly bigger, which could point to internal optimizations, dependency updates, or even the inclusion of additional documentation or metadata. Developers should note the release date discrepancy, with v1.1.2 released later, indicating potential bug fixes or minor improvements addressed in the interim. Users employing versions of webpack prior to version 4 should upgrade to url-loader v1.1.2 to guarantee support.
The are not vulnerabilities for the version 1.1.2 of the package url-loader