@cloudflare/workers-shared
Advanced tools
Comparing version 0.0.0-7a8bb17a5 to 0.0.0-7ad152ea3
@@ -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-7a8bb17a5", | ||
"version": "0.0.0-7ad152ea3", | ||
"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,6 +37,6 @@ "concurrently": "^8.2.2", | ||
"toucan-js": "^3.3.1", | ||
"typescript": "^5.5.4", | ||
"vitest": "~2.0.5", | ||
"@cloudflare/workers-tsconfig": "0.0.0", | ||
"@cloudflare/eslint-config-worker": "1.1.0" | ||
"typescript": "~5.6.3", | ||
"vitest": "~2.1.3", | ||
"@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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1042237
628
2