@arcjet/runtime
Advanced tools
+7
-7
| //#region src/index.d.ts | ||
| /** | ||
| * Runtime environment that can be detected. | ||
| */ | ||
| * Runtime environment that can be detected. | ||
| */ | ||
| type Runtime = "workerd" | "deno" | "node" | "bun" | "edge-light" | ""; | ||
| /** | ||
| * Detect the current runtime environment at runtime. | ||
| * | ||
| * @returns | ||
| * Runtime; empty string if not found. | ||
| */ | ||
| * Detect the current runtime environment at runtime. | ||
| * | ||
| * @returns | ||
| * Runtime; empty string if not found. | ||
| */ | ||
| declare function runtime(): Runtime; | ||
| //#endregion | ||
| export { Runtime, runtime }; |
+4
-4
| { | ||
| "name": "@arcjet/runtime", | ||
| "version": "1.9.1", | ||
| "version": "1.10.0-rc.0", | ||
| "description": "Arcjet runtime detection", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
| "build": "tsdown", | ||
| "typecheck": "tsgo --noEmit", | ||
| "typecheck": "tsc --noEmit", | ||
| "test-api": "node --experimental-vm-modules --test -- test/*.test.ts", | ||
@@ -60,4 +60,4 @@ "test-coverage": "node --experimental-test-coverage --experimental-vm-modules --test -- test/*.test.ts", | ||
| "devDependencies": { | ||
| "tsdown": "0.22.3", | ||
| "typescript": "6.0.3" | ||
| "tsdown": "0.22.7", | ||
| "typescript": "7.0.2" | ||
| }, | ||
@@ -64,0 +64,0 @@ "engines": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
17455
0.07%1
Infinity%