🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

deploymentdelete

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

deploymentdelete

♻️ Deletes Cloudflare deployments older than 7 days.

unpublished
latest
Source
npmnpm
Version
0.1.11
Version published
Maintainers
1
Created
Source

DeploymentDelete ♻️

Deletes Cloudflare deployments older than 7 days.
https://developers.cloudflare.com/api/operations/pages-deployment-delete-deployment

Installation

npm install -g deploymentdelete

CLI Usage

DeploymentDelete -e example@account.com -i accountId -k accountKey

Note

This will not delete your last running deployment.

Options

  -V, --version        output the version number
  -e, --Email <Email>  Cloudflare Account E-mail.
  -i, --ID <ID>        Cloudflare Account ID.
  -k, --Key <Key>      Cloudflare API key.
  -h, --help           display help for command

Worker

You can also publish it as a worker:

wrangler publish

Deploy to Cloudflare Workers

Script

Source/Index.ts

import Delete from "deploymentdelete";

await Delete(Email, ID, Key);

.env

Email = "example@account.com";
ID = "accountId";
Key = "accountKey";

Changelog

See CHANGELOG.md for a history of changes to this utility.

Keywords

cloudflare

FAQs

Package last updated on 15 Aug 2023

Did you know?

Socket

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.

Install

Related posts