Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arcjet/analyze

Package Overview
Dependencies
Maintainers
2
Versions
29
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.7 to 1.0.0-alpha.8

12

package.json
{
"name": "@arcjet/analyze",
"version": "1.0.0-alpha.7",
"version": "1.0.0-alpha.8",
"description": "Arcjet local analysis engine",

@@ -38,10 +38,10 @@ "license": "Apache-2.0",

"dependencies": {
"@arcjet/logger": "1.0.0-alpha.7"
"@arcjet/logger": "1.0.0-alpha.8"
},
"devDependencies": {
"@arcjet/eslint-config": "1.0.0-alpha.7",
"@arcjet/rollup-config": "1.0.0-alpha.7",
"@arcjet/tsconfig": "1.0.0-alpha.7",
"@arcjet/eslint-config": "1.0.0-alpha.8",
"@arcjet/rollup-config": "1.0.0-alpha.8",
"@arcjet/tsconfig": "1.0.0-alpha.8",
"@jest/globals": "29.7.0",
"@rollup/wasm-node": "4.9.1",
"@rollup/wasm-node": "4.9.6",
"@types/node": "18.18.0",

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

@@ -17,6 +17,5 @@ <a href="https://arcjet.com" target="_arcjet-home">

[Arcjet][arcjet] helps developers protect their apps. Installed as an SDK, it
provides a set of core primitives such as rate limiting and bot protection.
These can be used independently or combined to create a set of layered defenses,
such as signup form protection.
[Arcjet][arcjet] helps developers protect their apps in just a few lines of
code. Implement rate limiting, bot protection, email verification & defend
against common attacks.

@@ -23,0 +22,0 @@ This is the [Arcjet][arcjet] local analysis engine.

@@ -11,2 +11,1 @@ /* tslint:disable */

export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_exn_store(a: number): void;

@@ -17,3 +17,3 @@ /* tslint:disable */

* @param {string} candidate
* @param {EmailValidationConfig | undefined} options
* @param {EmailValidationConfig | undefined} [options]
* @returns {boolean}

@@ -50,3 +50,2 @@ */

readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_exn_store: (a: number) => void;
}

@@ -53,0 +52,0 @@

@@ -5,22 +5,2 @@ import { default as default1 } from '@arcjet/logger';

const heap = new Array(128).fill(undefined);
heap.push(undefined, null, true, false);
function getObject(idx) { return heap[idx]; }
let heap_next = heap.length;
function dropObject(idx) {
if (idx < 132) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );

@@ -44,2 +24,8 @@

const heap = new Array(128).fill(undefined);
heap.push(undefined, null, true, false);
let heap_next = heap.length;
function addHeapObject(obj) {

@@ -54,2 +40,16 @@ if (heap_next === heap.length) heap.push(heap.length + 1);

function getObject(idx) { return heap[idx]; }
function dropObject(idx) {
if (idx < 132) return;
heap[idx] = heap_next;
heap_next = idx;
}
function takeObject(idx) {
const ret = getObject(idx);
dropObject(idx);
return ret;
}
function isLikeNone(x) {

@@ -238,3 +238,3 @@ return x === undefined || x === null;

* @param {string} candidate
* @param {EmailValidationConfig | undefined} options
* @param {EmailValidationConfig | undefined} [options]
* @returns {boolean}

@@ -260,10 +260,2 @@ */

function handleError(f, args) {
try {
return f.apply(this, args);
} catch (e) {
wasm.__wbindgen_exn_store(addHeapObject(e));
}
}
async function __wbg_load(module, imports) {

@@ -303,2 +295,6 @@ if (typeof Response === 'function' && module instanceof Response) {

imports.wbg = {};
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
};
imports.wbg.__wbindgen_boolean_get = function(arg0) {

@@ -312,15 +308,2 @@ const v = getObject(arg0);

};
imports.wbg.__wbindgen_is_object = function(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
return ret;
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbindgen_in = function(arg0, arg1) {
const ret = getObject(arg0) in getObject(arg1);
return ret;
};
imports.wbg.__wbg_debug_7e9ed5702b51be77 = function(arg0, arg1) {

@@ -370,6 +353,15 @@ let deferred0_0;

};
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
const ret = new Error(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
imports.wbg.__wbindgen_is_object = function(arg0) {
const val = getObject(arg0);
const ret = typeof(val) === 'object' && val !== null;
return ret;
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {
const ret = getObject(arg0) === undefined;
return ret;
};
imports.wbg.__wbindgen_in = function(arg0, arg1) {
const ret = getObject(arg0) in getObject(arg1);
return ret;
};
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {

@@ -397,2 +389,10 @@ const ret = getObject(arg0);

};
imports.wbg.__wbindgen_number_new = function(arg0) {
const ret = arg0;
return addHeapObject(ret);
};
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
const ret = BigInt.asUintN(64, arg0);
return addHeapObject(ret);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {

@@ -402,6 +402,13 @@ const ret = getStringFromWasm0(arg0, arg1);

};
imports.wbg.__wbg_getwithrefkey_5e6d9547403deab8 = function(arg0, arg1) {
imports.wbg.__wbg_getwithrefkey_4a92a5eca60879b9 = function(arg0, arg1) {
const ret = getObject(arg0)[getObject(arg1)];
return addHeapObject(ret);
};
imports.wbg.__wbg_set_9182712abebf82ef = function(arg0, arg1, arg2) {
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
};
imports.wbg.__wbg_new_b51585de1b234aff = function() {
const ret = new Object();
return addHeapObject(ret);
};
imports.wbg.__wbg_instanceof_ArrayBuffer_39ac22089b74fddb = function(arg0) {

@@ -411,3 +418,3 @@ let result;

result = getObject(arg0) instanceof ArrayBuffer;
} catch {
} catch (_) {
result = false;

@@ -437,3 +444,3 @@ }

result = getObject(arg0) instanceof Uint8Array;
} catch {
} catch (_) {
result = false;

@@ -444,6 +451,2 @@ }

};
imports.wbg.__wbg_parse_670c19d4e984792e = function() { return handleError(function (arg0, arg1) {
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
return addHeapObject(ret);
}, arguments) };
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {

@@ -450,0 +453,0 @@ const ret = debugString(getObject(arg1));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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