Socket
Socket
Sign inDemoInstall

@cloudflare/workers-shared

Package Overview
Dependencies
Maintainers
35
Versions
253
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.0.0-76ece7549 to 0.0.0-7a3a6b4cb

6

dist/utils/helpers.d.ts

@@ -1,5 +0,3 @@

/** normalises sep for windows, and encodes each segment */
export declare const encodeFilePath: (filePath: string, sep: string) => string;
/** reverses encodeFilePath for accessing from file system */
export declare const decodeFilePath: (filePath: string, sep: string) => string;
/** normalises sep for windows and prefix with `/` */
export declare const normalizeFilePath: (relativeFilepath: string) => string;
export declare const getContentType: (absFilePath: string) => string;
{
"name": "@cloudflare/workers-shared",
"version": "0.0.0-76ece7549",
"version": "0.0.0-7a3a6b4cb",
"description": "Package that is used at Cloudflare to power some internal features of Cloudflare Workers.",

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

"devDependencies": {
"@cloudflare/workers-types": "^4.20240909.0",
"@cloudflare/workers-types": "^4.20240925.0",
"@types/mime": "^3.0.4",

@@ -39,4 +39,4 @@ "concurrently": "^8.2.2",

"vitest": "~2.1.1",
"@cloudflare/workers-tsconfig": "0.0.0",
"@cloudflare/eslint-config-worker": "1.1.0"
"@cloudflare/eslint-config-worker": "1.1.0",
"@cloudflare/workers-tsconfig": "0.0.0"
},

@@ -68,5 +68,5 @@ "engines": {

"test": "vitest",
"test:ci": "pnpm run test",
"test:ci": "vitest run",
"types:emit": "tsc index.ts --declaration --emitDeclarationOnly --declarationDir ./dist"
}
}

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