New:Socket for Asana Is Now Available.Learn more
Get Started

@arcjet/runtime

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/runtime - npm Package Compare versions

Comparing version
1.9.1
to
1.10.0-rc.0
+7
-7
dist/index.d.ts
//#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 };
{
"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": {