Socket
Socket
Sign inDemoInstall

@cloudflare/workers-shared

Package Overview
Dependencies
Maintainers
35
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/workers-shared - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/router-worker.mjs

10

package.json
{
"name": "@cloudflare/workers-shared",
"version": "0.2.0",
"version": "0.3.0",
"description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workers.",

@@ -25,3 +25,3 @@ "keywords": [

"devDependencies": {
"@cloudflare/workers-types": "^4.20240806.0",
"@cloudflare/workers-types": "^4.20240821.1",
"concurrently": "^8.2.2",

@@ -44,10 +44,12 @@ "esbuild": "0.17.19",

"scripts": {
"build": "pnpm run clean && pnpm run bundle:asset-server:prod",
"build": "pnpm run clean && pnpm run bundle:asset-server:prod && pnpm run bundle:router:prod",
"bundle:asset-server": "esbuild asset-server-worker/src/index.ts --format=esm --bundle --outfile=dist/asset-server-worker.mjs --sourcemap=external",
"bundle:asset-server:prod": "pnpm run bundle:asset-server --minify",
"bundle:router": "esbuild router-worker/src/index.ts --format=esm --bundle --outfile=dist/router-worker.mjs --sourcemap=external",
"bundle:router:prod": "pnpm run bundle:router --minify",
"check:lint": "eslint . --max-warnings=0",
"check:type": "tsc",
"clean": "rimraf dist",
"dev": "pnpm run clean && concurrently -n bundle:asset-server -c blue \"pnpm run bundle:asset-server --watch\""
"dev": "pnpm run clean && concurrently -n bundle:asset-server,bundle:router -c blue,magenta \"pnpm run bundle:asset-server --watch\" \"pnpm run bundle:router --watch\""
}
}

@@ -11,4 +11,10 @@ # `@cloudflare/workers-shared`

## `router-worker`
Router Worker.
For more details please refer to the dedicated README file.
> [!NOTE]
> Since code in this package is used by the Workers infrastructure, it is important that PRs are given careful review with regards to how they could cause a failure in production.
> Ideally, there should be comprehensive tests for changes being made to give extra confidence about the behavior.
dist/asset-server-worker.mjs

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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