🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@arcjet/bun

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/bun - npm Package Compare versions

Comparing version
1.3.1
to
1.4.0
+1
-1
index.js

@@ -29,3 +29,3 @@ import * as core from 'arcjet';

const sdkStack = "BUN";
const sdkVersion = "1.3.1";
const sdkVersion = "1.4.0";
return createClient({

@@ -32,0 +32,0 @@ transport,

{
"name": "@arcjet/bun",
"version": "1.3.1",
"version": "1.4.0",
"description": "Arcjet runtime security SDK for Bun — bot protection, rate limiting, prompt injection detection, PII blocking, and WAF",

@@ -54,14 +54,14 @@ "keywords": [

"dependencies": {
"@arcjet/body": "1.3.1",
"@arcjet/env": "1.3.1",
"@arcjet/headers": "1.3.1",
"@arcjet/ip": "1.3.1",
"@arcjet/logger": "1.3.1",
"@arcjet/protocol": "1.3.1",
"@arcjet/transport": "1.3.1",
"arcjet": "1.3.1"
"@arcjet/body": "1.4.0",
"@arcjet/env": "1.4.0",
"@arcjet/headers": "1.4.0",
"@arcjet/ip": "1.4.0",
"@arcjet/logger": "1.4.0",
"@arcjet/protocol": "1.4.0",
"@arcjet/transport": "1.4.0",
"arcjet": "1.4.0"
},
"devDependencies": {
"@arcjet/eslint-config": "1.3.1",
"@arcjet/rollup-config": "1.3.1",
"@arcjet/eslint-config": "1.4.0",
"@arcjet/rollup-config": "1.4.0",
"@rollup/wasm-node": "4.59.0",

@@ -68,0 +68,0 @@ "bun-types": "1.3.10",

@@ -136,3 +136,3 @@ <a href="https://arcjet.com" target="_arcjet-home">

model's instructions — before they reach your model. Pass the user's message
via `detectPromptInjectionMessage` on each `protect()` call. Tune sensitivity with the `threshold` parameter (0.0–1.0, default 0.5) — higher values are more conservative.
via `detectPromptInjectionMessage` on each `protect()` call.

@@ -148,3 +148,2 @@ ```ts

mode: "LIVE", // Blocks requests. Use "DRY_RUN" to log only
threshold: 0.5, // Score above which requests are blocked (default: 0.5)
}),

@@ -151,0 +150,0 @@ ],