New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hattip/bundler-cloudflare-workers

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hattip/bundler-cloudflare-workers - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

dist/chunk-I3KVOW7M.js

28

dist/cli.js
import {
bundle
} from "./chunk-4E2ZYWIH.js";
} from "./chunk-I3KVOW7M.js";

@@ -9,16 +9,24 @@ // src/cli.ts

// package.json
var version = "0.0.19";
var version = "0.0.20";
// src/cli.ts
var cli = cac("hattip-cloudflare-workers");
cli.command("<input> <output>", "Bundle the HatTip app in <input> into <output> as a Clourflare Workers module").option("-e, --entry", "Interpret <input> as a Cloudflare Workers module entry instead of a HatTip handler entry").option("--no-static", "Do not serve static files").action(async (input, output, options) => {
await bundle({
cfwEntry: options.entry ? input : void 0,
handlerEntry: options.entry ? void 0 : input,
serveStaticFiles: options.entry ? void 0 : options.static,
output
});
});
cli.command(
"<input> <output>",
"Bundle the HatTip app in <input> into <output> as a Clourflare Workers module"
).option(
"-e, --entry",
"Interpret <input> as a Cloudflare Workers module entry instead of a HatTip handler entry"
).option("--no-static", "Do not serve static files").action(
async (input, output, options) => {
await bundle({
cfwEntry: options.entry ? input : void 0,
handlerEntry: options.entry ? void 0 : input,
serveStaticFiles: options.entry ? void 0 : options.static,
output
});
}
);
cli.help();
cli.version(version);
cli.parse();
import {
bundle
} from "./chunk-4E2ZYWIH.js";
} from "./chunk-I3KVOW7M.js";
export {
bundle as default
};
{
"name": "@hattip/bundler-cloudflare-workers",
"version": "0.0.19",
"version": "0.0.20",
"type": "module",

@@ -18,12 +18,12 @@ "description": "Cloudflare Workers bundler for Hattip",

"devDependencies": {
"@cyco130/eslint-config": "^2.1.0",
"@types/node": "^18.0.0",
"eslint": "^8.18.0",
"@cyco130/eslint-config": "^2.1.2",
"@types/node": "^18.11.7",
"eslint": "^8.26.0",
"publint": "^0.1.1",
"tsup": "^6.1.2",
"typescript": "^4.7.4"
"tsup": "^6.3.0",
"typescript": "^4.8.4"
},
"dependencies": {
"cac": "^6.7.12",
"esbuild": "^0.14.47"
"cac": "^6.7.14",
"esbuild": "^0.15.12"
},

@@ -30,0 +30,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc