Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/workers-shared

Package Overview
Dependencies
Maintainers
35
Versions
415
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-62082aa75 to 0.0.0-6380d864d

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;

@@ -21,1 +21,5 @@ import { z } from "zod";

export type AssetConfig = z.infer<typeof AssetConfigSchema>;
export interface UnsafePerformanceTimer {
readonly timeOrigin: number;
now: () => number;
}
{
"name": "@cloudflare/workers-shared",
"version": "0.0.0-62082aa75",
"version": "0.0.0-6380d864d",
"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.20241022.0",
"@types/mime": "^3.0.4",

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

"toucan-js": "^3.3.1",
"typescript": "^5.5.4",
"vitest": "~2.1.1",
"typescript": "~5.6.3",
"vitest": "~2.1.3",
"@cloudflare/eslint-config-worker": "1.1.0",

@@ -68,5 +68,5 @@ "@cloudflare/workers-tsconfig": "0.0.0"

"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

Sorry, the diff of this file is not supported yet

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