Ulid, the universally-unique lexicographically-sortable identifier generator, has a significant update with version 3.0.0 compared to the previous stable version 2.4.0. Both versions share the same core functionality of generating sortable IDs and are licensed under MIT, ensuring developer-friendly usage. However, several key differences stand out.
Version 3.0.0 boasts a more modern development environment, leveraging updated tooling like Rollup (^4.36.0), Vitest (^3.0.9) for testing, and Prettier (^3.5.3) for code formatting. The introduction of Vitest signals a shift towards potentially faster and more efficient testing workflows compared to the older Mocha setup in version 2.4.0. Furthermore, specific Rollup plugins appear updated, reflecting a dedication to leveraging the latest features of the bundling tool.
From the point of view of a developer, the newer version includes updated and possibly refactored build process. While both packages have the same dependencies, the newer one includes benchmark in devDependencies while the older has c8, lolex, matcher and typedoc. The dist object in the newer version also includes more files than the old one, which can signal a change in the compilation process and/or more features. All these point to a more modern codebase, with better performance and more features.
The are not vulnerabilities for the version 3.0.0 of the package ulid