
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
payload-cloudinary-plugin
Advanced tools
Extends payloadcms
with Cloudinary integration
yarn add payload-cloudinary-plugin
import { mediaManagement } from "payload-cloudinary-plugin";
app.use(mediaManagement());
import cloudinaryPlugin from "payload-cloudinary-plugin/dist/plugins";
export default buildConfig({
....
plugins: [cloudinaryPlugin()]
....
})
function mediaManagement(
config?: ConfigOptions,
uploadApiOptions?: UploadApiOptions,
uploadResourceTypeHandler?: Function
)
The function may receive a ConfigOptions
and a UploadApiOptions
from cloudinary
package.
Additionally, you can specify a uploadResourceTypeHandler
to manage which resource_type
parameter must be passed to cloudinary.upload
(see here: https://cloudinary.com/documentation/image_upload_api_reference#upload_optional_parameters for additional information).
If the uploadResourceTypeHandler
is NOT specified, resource_type: auto
will be passed to upload method.
FAQs
Extends `payloadcms` with Cloudinary integration
The npm package payload-cloudinary-plugin receives a total of 42 weekly downloads. As such, payload-cloudinary-plugin popularity was classified as not popular.
We found that payload-cloudinary-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.