For customers who use Cloudsmith for Dart packages, Cloudsmith now supports caching from upstream repositories including pub.dev, the official package repository for Dart. This simplifies handling of public Dart packages and enables key improvements such as package vulnerability scanning to enhance and better secure your package workflows.
Prior to this release, Cloudsmith would proxy requests for Dart packages to configured upstreams when the package wasn’t present in Cloudsmith, for both the initial request and subsequent requests of the same package. Now, Cloudsmith will source the package from the upstream on the initial request, and serve subsequent requests from the cached package in Cloudsmith.
Direct proxying from pub.dev:
- Parse and fetch all Dart packages from pub.dev into Cloudsmith, giving your organization a single, secure source for Dart packages.
- Provide your organization and build systems with a single point of contact - no need to build and manage multiple upstream integrations.
Caching Packages:
- Ensure packages are available locally and protect against upstream availability issues.
- Scan your Dart packages for vulnerabilities, check dependency licensing, and monitor how and where packages are used.
- Speed up your development process.
See Dart Repository for more information and to get started today.