Socket
Socket
Sign inDemoInstall

@arcjet/analyze

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcjet/analyze - npm Package Compare versions

Comparing version 1.0.0-alpha.12 to 1.0.0-alpha.13

13

index.js

@@ -12,4 +12,7 @@ import logger from '@arcjet/logger';

if (process.env["NEXT_RUNTIME"] === "edge") {
const wasmPrefix = "arcjet_analyze_js_req.component";
if (path === "arcjet_analyze_js_req.component.core.wasm") {
const mod = await import('./wasm/arcjet_analyze_js_req.component.core.wasm?module');
const mod = await import(
/* @vite-ignore */
`./wasm/${wasmPrefix}.core.wasm?module`);
wasmCache.set(path, mod.default);

@@ -19,3 +22,5 @@ return mod.default;

if (path === "arcjet_analyze_js_req.component.core2.wasm") {
const mod = await import('./wasm/arcjet_analyze_js_req.component.core2.wasm?module');
const mod = await import(
/* @vite-ignore */
`./wasm/${wasmPrefix}.core2.wasm?module`);
wasmCache.set(path, mod.default);

@@ -25,3 +30,5 @@ return mod.default;

if (path === "arcjet_analyze_js_req.component.core3.wasm") {
const mod = await import('./wasm/arcjet_analyze_js_req.component.core3.wasm?module');
const mod = await import(
/* @vite-ignore */
`./wasm/${wasmPrefix}.core3.wasm?module`);
wasmCache.set(path, mod.default);

@@ -28,0 +35,0 @@ return mod.default;

@@ -21,5 +21,7 @@ import logger from "@arcjet/logger";

if (process.env["NEXT_RUNTIME"] === "edge") {
const wasmPrefix = "arcjet_analyze_js_req.component";
if (path === "arcjet_analyze_js_req.component.core.wasm") {
const mod = await import(
"./wasm/arcjet_analyze_js_req.component.core.wasm?module"
/* @vite-ignore */
`./wasm/${wasmPrefix}.core.wasm?module`
);

@@ -31,3 +33,4 @@ wasmCache.set(path, mod.default);

const mod = await import(
"./wasm/arcjet_analyze_js_req.component.core2.wasm?module"
/* @vite-ignore */
`./wasm/${wasmPrefix}.core2.wasm?module`
);

@@ -39,3 +42,4 @@ wasmCache.set(path, mod.default);

const mod = await import(
"./wasm/arcjet_analyze_js_req.component.core3.wasm?module"
/* @vite-ignore */
`./wasm/${wasmPrefix}.core3.wasm?module`
);

@@ -42,0 +46,0 @@ wasmCache.set(path, mod.default);

{
"name": "@arcjet/analyze",
"version": "1.0.0-alpha.12",
"version": "1.0.0-alpha.13",
"description": "Arcjet local analysis engine",

@@ -49,11 +49,11 @@ "license": "Apache-2.0",

"dependencies": {
"@arcjet/logger": "1.0.0-alpha.12"
"@arcjet/logger": "1.0.0-alpha.13"
},
"devDependencies": {
"@arcjet/eslint-config": "1.0.0-alpha.12",
"@arcjet/rollup-config": "1.0.0-alpha.12",
"@arcjet/tsconfig": "1.0.0-alpha.12",
"@bytecodealliance/jco": "1.1.1",
"@arcjet/eslint-config": "1.0.0-alpha.13",
"@arcjet/rollup-config": "1.0.0-alpha.13",
"@arcjet/tsconfig": "1.0.0-alpha.13",
"@bytecodealliance/jco": "1.2.4",
"@jest/globals": "29.7.0",
"@rollup/wasm-node": "4.14.3",
"@rollup/wasm-node": "4.17.2",
"@types/node": "18.18.0",

@@ -60,0 +60,0 @@ "jest": "29.7.0",

@@ -48,2 +48,3 @@ function clampGuest(i, min, max) {

async function instantiate(getCoreModule, imports, instantiateCore = WebAssembly.instantiate) {

@@ -50,0 +51,0 @@ const module0 = getCoreModule('arcjet_analyze_js_req.component.core.wasm');

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