New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blockprotocol/type-system

Package Overview
Dependencies
Maintainers
8
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockprotocol/type-system - npm Package Compare versions

Comparing version 0.0.3-canary-20230111084611 to 0.0.3

LICENSE.md

1

dist/cjs-slim/index-slim.d.ts
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";

@@ -101,10 +101,2 @@ let wasm;

let stack_pointer = 32;
function addBorrowedObject(obj) {
if (stack_pointer == 1) throw new Error('out of js stack');
heap[--stack_pointer] = obj;
return stack_pointer;
}
function dropObject(idx) {

@@ -122,2 +114,80 @@ if (idx < 36) return;

/**
* @param {string} uri
* @returns {any}
*/
function validateBaseUri(uri) {
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.validateBaseUri(ptr0, len0);
return takeObject(ret);
}
/**
* @param {string} uri
* @returns {any}
*/
function validateVersionedUri(uri) {
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
const ret = wasm.validateVersionedUri(ptr0, len0);
return takeObject(ret);
}
/**
* @param {string} uri
* @returns {string}
*/
function extractBaseUri(uri) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
wasm.extractBaseUri(retptr, ptr0, len0);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var r2 = getInt32Memory0()[retptr / 4 + 2];
var r3 = getInt32Memory0()[retptr / 4 + 3];
var ptr1 = r0;
var len1 = r1;
if (r3) {
ptr1 = 0; len1 = 0;
throw takeObject(r2);
}
return getStringFromWasm0(ptr1, len1);
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
wasm.__wbindgen_free(ptr1, len1);
}
}
/**
* @param {string} uri
* @returns {number}
*/
function extractVersion(uri) {
try {
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
const len0 = WASM_VECTOR_LEN;
wasm.extractVersion(retptr, ptr0, len0);
var r0 = getInt32Memory0()[retptr / 4 + 0];
var r1 = getInt32Memory0()[retptr / 4 + 1];
var r2 = getInt32Memory0()[retptr / 4 + 2];
if (r2) {
throw takeObject(r1);
}
return r0 >>> 0;
} finally {
wasm.__wbindgen_add_to_stack_pointer(16);
}
}
let stack_pointer = 32;
function addBorrowedObject(obj) {
if (stack_pointer == 1) throw new Error('out of js stack');
heap[--stack_pointer] = obj;
return stack_pointer;
}
/**
* @param {any} data_type_obj

@@ -268,121 +338,2 @@ * @returns {any}

/**
* Checks if a given URL string is a valid base URL.
*
* @param {BaseUri} uri - The URL string.
* @returns {(Result<BaseUri, ParseBaseUriError>)} - an Ok with an inner of the string as a
* BaseUri if valid, or an Err with an inner ParseBaseUriError
*/
const validateBaseUri = (uri) => {
try {
void new URL(uri);
if (uri.endsWith("/")) {
return {
type: "Ok",
inner: uri,
};
}
else {
return {
type: "Err",
inner: { reason: "MissingTrailingSlash" },
};
}
}
catch (err) {
return {
type: "Err",
inner: { reason: "UrlParseError", inner: JSON.stringify(err) },
};
}
};
const versionedUriRegExp = /(.+\/)v\/(\d+)(.*)/;
/**
* Checks if a given URL string is a Block Protocol compliant Versioned URI.
*
* @param {string} uri - The URL string.
* @returns {(Result<VersionedUri, ParseVersionedUriError>)} - an Ok with an inner of the string
as
* a VersionedUri if valid, or an Err with an inner ParseVersionedUriError
*/
const validateVersionedUri = (uri) => {
const groups = versionedUriRegExp.exec(uri);
if (groups === null) {
return {
type: "Err",
inner: { reason: "IncorrectFormatting" },
};
}
else {
const [_match, baseUri, version, trailingContent] = groups;
if (trailingContent) {
return {
type: "Err",
inner: { reason: "AdditionalEndContent" },
};
}
if (!version) {
return {
type: "Err",
inner: { reason: "MissingVersion" },
};
}
if (!baseUri) {
return {
type: "Err",
inner: { reason: "MissingBaseUri" },
};
}
const validBaseUriResult = validateBaseUri(baseUri);
if (validBaseUriResult.type === "Err") {
return {
type: "Err",
inner: { reason: "InvalidBaseUri", inner: validBaseUriResult.inner },
};
}
const versionNumber = Number(version);
if (!Number.isInteger(versionNumber) || versionNumber < 0) {
return {
type: "Err",
inner: {
reason: "InvalidVersion",
inner: `\`${version}\` is not a valid non-negative integer`,
},
};
}
return { type: "Ok", inner: uri };
}
};
/**
* Extracts the base URI from a Versioned URI.
*
* @param {VersionedUri} uri - The versioned URI.
* @throws if the versioned URI is invalid.
*/
const extractBaseUri = (uri) => {
const groups = versionedUriRegExp.exec(uri);
if (groups === null) {
throw new Error(`Not a valid VersionedUri: ${uri}`);
}
const [_match, baseUri, _version] = groups;
if (baseUri === undefined) {
throw new Error(`Not a valid VersionedUri: ${uri}`);
}
return baseUri;
};
/**
* Extracts the version from a Versioned URI.
*
* @param {VersionedUri} uri - The versioned URI.
* @throws if the versioned URI is invalid.
*/
const extractVersion = (uri) => {
const groups = versionedUriRegExp.exec(uri);
if (groups === null) {
throw new Error(`Not a valid VersionedUri: ${uri}`);
}
const [_match, _baseUri, version] = groups;
return Number(version);
};
export { TypeSystemInitializer, extractBaseUri, extractVersion, initSync, validateBaseUri, validateDataType, validateEntityType, validatePropertyType, validateVersionedUri };
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
export * from "../wasm/type-system";
export { TypeSystemInitializer } from "./common";
export * from "./native";
/* tslint:disable */
/* eslint-disable */
export type ValueOrArray<T> = T | Array<T>;
export type VersionedUri = `${string}/v/${number}`;
export interface Array<T> {
type: 'array';
items: T;
minItems?: number;
maxItems?: number;
}
/**
* Checks if a given URL string is a valid base URL.
*
* @param {BaseUri} uri - The URL string.
* @returns {(Result.Ok|Result.Err<ParseBaseUriError>)} - an Ok with an inner of the string as a
* BaseUri if valid, or an Err with an inner ParseBaseUriError
*/
export function validateBaseUri(uri: string): Result<BaseUri, ParseBaseUriError>;
/**
* Checks if a given Data Type is correctly formed
* Checks if a given URL string is a Block Protocol compliant Versioned URI.
*
* @param {DataType} dataType - The Data Type object to validate.
* @returns {(Result.Ok|Result.Err<ParseDataTypeError>)} - an Ok with null inner if valid, or an Err with an inner ParseDataTypeError
* @param {string} uri - The URL string.
* @returns {(Result.Ok|Result.Err<ParseVersionedUriError>)} - an Ok with an inner of the string as
* a VersionedUri if valid, or an Err with an inner ParseVersionedUriError
*/
export function validateDataType(dataType: DataType): Result<undefined, ParseDataTypeError>;
export function validateVersionedUri(uri: string): Result<VersionedUri, ParseVersionedUriError>;

@@ -24,8 +29,8 @@

/**
* Checks if a given Entity Type is correctly formed
* Extracts the base URI from a Versioned URI.
*
* @param {EntityType} entityType - The Entity Type object to validate.
* @returns {(Result.Ok|Result.Err<ParseEntityTypeError>)} - an Ok with null inner if valid, or an Err with an inner ParseEntityTypeError
* @param {VersionedUri} uri - The versioned URI.
* @throws {ParseVersionedUriError} if the versioned URI is invalid.
*/
export function validateEntityType(entityType: EntityType): Result<undefined, ParseEntityTypeError>;
export function extractBaseUri(uri: VersionedUri): BaseUri;

@@ -35,16 +40,47 @@

/**
* Checks if a given Property Type is correctly formed
* Extracts the version from a Versioned URI.
*
* @param {PropertyType} propertyType - The Property Type object to validate.
* @returns {(Result.Ok|Result.Err<ParsePropertyTypeError>)} - an Ok with null inner if valid, or an Err with an inner ParsePropertyTypeError
* @param {VersionedUri} uri - The versioned URI.
* @throws {ParseVersionedUriError} if the versioned URI is invalid.
*/
export function validatePropertyType(propertyType: PropertyType): Result<undefined, ParsePropertyTypeError>;
export function extractVersion(uri: VersionedUri): number;
export type VersionedUri = `${string}/v/${number}`;
export interface DataTypeReference {
$ref: VersionedUri;
}
export type ParseLinksError = { reason: "InvalidLinkKey"; inner: ParseVersionedUriError } | { reason: "InvalidArray"; inner: ParseEntityTypeReferenceArrayError } | { reason: "InvalidRequiredKey"; inner: ParseVersionedUriError } | { reason: "ValidationError"; inner: ValidationError } | { reason: "InvalidJson"; inner: string };
export type DataType = { kind: 'dataType'; $id: VersionedUri; title: string; description?: string; type: string } & Record<string, any>;
export type ParseDataTypeError = { reason: "InvalidVersionedUri"; inner: ParseVersionedUriError } | { reason: "InvalidJson"; inner: string };
export type BaseUri = string;
export type ParseVersionedUriError = { reason: "IncorrectFormatting" } | { reason: "MissingBaseUri" } | { reason: "MissingVersion" } | { reason: "InvalidVersion"; inner: string } | { reason: "AdditionalEndContent" } | { reason: "InvalidBaseUri"; inner: ParseBaseUriError } | { reason: "InvalidJson"; inner: string };
export type ParseBaseUriError = { reason: "MissingTrailingSlash" } | { reason: "UrlParseError"; inner: string } | { reason: "CannotBeABase" };
export interface Object<T> {
type: 'object';
properties: Record<BaseUri, T>;
required?: BaseUri[];
}
export type ParseEntityTypeReferenceArrayError = { reason: "InvalidReference"; inner: ParseOneOfError } | { reason: "InvalidJson"; inner: string };
export type ParsePropertyTypeReferenceArrayError = { reason: "InvalidReference"; inner: ParseVersionedUriError } | { reason: "InvalidJson"; inner: string };
export type ParseOneOfArrayError = { reason: "InvalidItems"; inner: ParseOneOfError } | { reason: "InvalidJson"; inner: string };
export interface OneOf<T> {
oneOf: [T, ...T[]];
}
export type ValueOrArray<T> = T | Array<T>;
export interface Array<T> {
type: 'array';
items: T;
minItems?: number;
maxItems?: number;
}
export interface PropertyType extends OneOf<PropertyValues> {

@@ -63,8 +99,25 @@ kind: 'propertyType';

export type BaseUri = string;
export type ValidationError = { type: "MissingRequiredProperty"; inner: BaseUri } | { type: "BaseUriMismatch"; inner: { base_uri: BaseUri; versioned_uri: VersionedUri } } | { type: "MissingRequiredLink"; inner: VersionedUri } | { type: "MismatchedPropertyCount"; inner: { actual: number; expected: number } } | { type: "EmptyOneOf" };
export type ParseVersionedUriError = { reason: "IncorrectFormatting" } | { reason: "MissingBaseUri" } | { reason: "MissingVersion" } | { reason: "InvalidVersion"; inner: string } | { reason: "AdditionalEndContent" } | { reason: "InvalidBaseUri"; inner: ParseBaseUriError } | { reason: "InvalidJson"; inner: string };
export type ParseOneOfError = { reason: "EntityTypeReferenceError"; inner: ParseVersionedUriError } | { reason: "PropertyValuesError"; inner: ParsePropertyTypeError } | { reason: "ValidationError"; inner: ValidationError };
export type ParseBaseUriError = { reason: "MissingTrailingSlash" } | { reason: "UrlParseError"; inner: string } | { reason: "CannotBeABase" };
export type ParseEntityTypeError = { reason: "InvalidPropertyTypeObject"; inner: ParsePropertyTypeObjectError } | { reason: "InvalidAllOf"; inner: ParseAllOfError } | { reason: "InvalidLinks"; inner: ParseLinksError } | { reason: "InvalidDefaultKey"; inner: ParseBaseUriError } | { reason: "InvalidExamplesKey"; inner: ParseBaseUriError } | { reason: "InvalidVersionedUri"; inner: ParseVersionedUriError } | { reason: "InvalidJson"; inner: string };
export type Result<T, E> = { type: "Ok"; inner: T } | { type: "Err"; inner: E };
export type ParsePropertyTypeObjectError = { reason: "InvalidPropertyTypeReference"; inner: ParseVersionedUriError } | { reason: "InvalidArray"; inner: ParsePropertyTypeReferenceArrayError } | { reason: "InvalidPropertyKey"; inner: ParseBaseUriError } | { reason: "InvalidRequiredKey"; inner: ParseBaseUriError } | { reason: "ValidationError"; inner: ValidationError } | { reason: "InvalidJson"; inner: string };
export type ParseAllOfError = { reason: "EntityTypeReferenceError"; inner: ParseVersionedUriError };
export type ParsePropertyTypeError = { reason: "InvalidVersionedUri"; inner: ParseVersionedUriError } | { reason: "InvalidDataTypeReference"; inner: ParseVersionedUriError } | { reason: "InvalidPropertyTypeObject"; inner: ParsePropertyTypeObjectError } | { reason: "InvalidOneOf"; inner: ParseOneOfError } | { reason: "InvalidArrayItems"; inner: ParseOneOfArrayError } | { reason: "InvalidJson"; inner: string };
export interface Links {
links?: Record<VersionedUri, MaybeOrderedArray<MaybeOneOfEntityTypeReference>>;
requiredLinks?: VersionedUri[];
}
export interface MaybeOrderedArray<T> extends Array<T> {
ordered: boolean;
}
export interface EntityTypeReference {

@@ -83,54 +136,43 @@ $ref: VersionedUri;

export type MaybeOneOfEntityTypeReference = OneOf<EntityTypeReference> | {};
export type ParseLinksError = { reason: "InvalidLinkKey"; inner: ParseVersionedUriError } | { reason: "InvalidArray"; inner: ParseEntityTypeReferenceArrayError } | { reason: "InvalidRequiredKey"; inner: ParseVersionedUriError } | { reason: "ValidationError"; inner: ValidationError } | { reason: "InvalidJson"; inner: string };
export type ParseEntityTypeReferenceArrayError = { reason: "InvalidReference"; inner: ParseOneOfError } | { reason: "InvalidJson"; inner: string };
export type ParsePropertyTypeReferenceArrayError = { reason: "InvalidReference"; inner: ParseVersionedUriError } | { reason: "InvalidJson"; inner: string };
/**
* Checks if a given Data Type is correctly formed
*
* @param {DataType} dataType - The Data Type object to validate.
* @returns {(Result.Ok|Result.Err<ParseDataTypeError>)} - an Ok with null inner if valid, or an Err with an inner ParseDataTypeError
*/
export function validateDataType(dataType: DataType): Result<undefined, ParseDataTypeError>;
export type ParseOneOfArrayError = { reason: "InvalidItems"; inner: ParseOneOfError } | { reason: "InvalidJson"; inner: string };
export interface Links {
links?: Record<VersionedUri, MaybeOrderedArray<MaybeOneOfEntityTypeReference>>;
requiredLinks?: VersionedUri[];
}
export interface MaybeOrderedArray<T> extends Array<T> {
ordered: boolean;
}
/**
* Checks if a given Entity Type is correctly formed
*
* @param {EntityType} entityType - The Entity Type object to validate.
* @returns {(Result.Ok|Result.Err<ParseEntityTypeError>)} - an Ok with null inner if valid, or an Err with an inner ParseEntityTypeError
*/
export function validateEntityType(entityType: EntityType): Result<undefined, ParseEntityTypeError>;
export type Result<T, E> = { type: "Ok"; inner: T } | { type: "Err"; inner: E };
export interface AllOf<T> {
allOf?: T[];
}
export type ValidationError = { type: "MissingRequiredProperty"; inner: BaseUri } | { type: "BaseUriMismatch"; inner: { base_uri: BaseUri; versioned_uri: VersionedUri } } | { type: "MissingRequiredLink"; inner: VersionedUri } | { type: "MismatchedPropertyCount"; inner: { actual: number; expected: number } } | { type: "EmptyOneOf" };
/**
* Checks if a given Property Type is correctly formed
*
* @param {PropertyType} propertyType - The Property Type object to validate.
* @returns {(Result.Ok|Result.Err<ParsePropertyTypeError>)} - an Ok with null inner if valid, or an Err with an inner ParsePropertyTypeError
*/
export function validatePropertyType(propertyType: PropertyType): Result<undefined, ParsePropertyTypeError>;
export type ParseOneOfError = { reason: "EntityTypeReferenceError"; inner: ParseVersionedUriError } | { reason: "PropertyValuesError"; inner: ParsePropertyTypeError } | { reason: "ValidationError"; inner: ValidationError };
export type ParseEntityTypeError = { reason: "InvalidPropertyTypeObject"; inner: ParsePropertyTypeObjectError } | { reason: "InvalidAllOf"; inner: ParseAllOfError } | { reason: "InvalidLinks"; inner: ParseLinksError } | { reason: "InvalidDefaultKey"; inner: ParseBaseUriError } | { reason: "InvalidExamplesKey"; inner: ParseBaseUriError } | { reason: "InvalidVersionedUri"; inner: ParseVersionedUriError } | { reason: "InvalidJson"; inner: string };
export interface DataTypeReference {
$ref: VersionedUri;
export interface AllOf<T> {
allOf?: T[];
}
export type DataType = { kind: 'dataType'; $id: VersionedUri; title: string; description?: string; type: string } & Record<string, any>;
export type MaybeOneOfEntityTypeReference = OneOf<EntityTypeReference> | {};
export interface OneOf<T> {
oneOf: [T, ...T[]];
}
export type ParseDataTypeError = { reason: "InvalidVersionedUri"; inner: ParseVersionedUriError } | { reason: "InvalidJson"; inner: string };
export interface Object<T> {
type: 'object';
properties: Record<BaseUri, T>;
required?: BaseUri[];
}
export type ParsePropertyTypeObjectError = { reason: "InvalidPropertyTypeReference"; inner: ParseVersionedUriError } | { reason: "InvalidArray"; inner: ParsePropertyTypeReferenceArrayError } | { reason: "InvalidPropertyKey"; inner: ParseBaseUriError } | { reason: "InvalidRequiredKey"; inner: ParseBaseUriError } | { reason: "ValidationError"; inner: ValidationError } | { reason: "InvalidJson"; inner: string };
export type ParseAllOfError = { reason: "EntityTypeReferenceError"; inner: ParseVersionedUriError };
export type ParsePropertyTypeError = { reason: "InvalidVersionedUri"; inner: ParseVersionedUriError } | { reason: "InvalidDataTypeReference"; inner: ParseVersionedUriError } | { reason: "InvalidPropertyTypeObject"; inner: ParsePropertyTypeObjectError } | { reason: "InvalidOneOf"; inner: ParseOneOfError } | { reason: "InvalidArrayItems"; inner: ParseOneOfArrayError } | { reason: "InvalidJson"; inner: string };
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;

@@ -140,2 +182,6 @@

readonly memory: WebAssembly.Memory;
readonly validateBaseUri: (a: number, b: number) => number;
readonly validateVersionedUri: (a: number, b: number) => number;
readonly extractBaseUri: (a: number, b: number, c: number) => void;
readonly extractVersion: (a: number, b: number, c: number) => void;
readonly validateDataType: (a: number) => number;

@@ -146,2 +192,4 @@ readonly validateEntityType: (a: number) => number;

readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
readonly __wbindgen_free: (a: number, b: number) => void;
}

@@ -148,0 +196,0 @@

/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function validateBaseUri(a: number, b: number): number;
export function validateVersionedUri(a: number, b: number): number;
export function extractBaseUri(a: number, b: number, c: number): void;
export function extractVersion(a: number, b: number, c: number): void;
export function validateDataType(a: number): number;

@@ -9,1 +13,3 @@ export function validateEntityType(a: number): number;

export function __wbindgen_realloc(a: number, b: number, c: number): number;
export function __wbindgen_add_to_stack_pointer(a: number): number;
export function __wbindgen_free(a: number, b: number): void;
{
"name": "@blockprotocol/type-system",
"version": "0.0.3-canary-20230111084611",
"version": "0.0.3",
"description": "Definitions of types within the Block Protocol Type System",

@@ -9,3 +9,3 @@ "homepage": "https://blockprotocol.org",

"url": "git@github.com:blockprotocol/blockprotocol.git",
"directory": "packages/@blockprotocol/type-system"
"directory": "libs/@blockprotocol/type-system"
},

@@ -51,3 +51,3 @@ "license": "MIT",

"build:bundle": "rollup -c --bundleConfigAsCjs",
"build:wasm": "(cd ../../../crates/type-system && cargo make build)",
"build:wasm": "cd crate && cargo make build",
"clean": "rimraf ./dist/",

@@ -67,11 +67,11 @@ "compressed-size": "yarn build && find dist -iname '*.js' -exec npx terser@latest --compress --mangle --output {} -- {} \\;",

"@rollup/plugin-wasm": "6.0.1",
"@types/jest": "29.2.3",
"@types/node": "18.11.10",
"eslint": "8.28.0",
"@types/jest": "29.2.5",
"eslint": "8.31.0",
"fs-extra": "^10.1.0",
"jest": "29.3.1",
"rollup": "3.5.1",
"ts-jest": "29.0.3",
"ts-jest": "29.0.4",
"tslib": "2.4.1",
"typescript": "4.9.3"
"typescript": "4.9.4"
}
}
# Block Protocol Type System
An in-development package that provides TypeScript typings and implementations for the Block Protocol Type-System. See the [RFC](https://github.com/blockprotocol/blockprotocol/blob/main/rfcs/text/0352-graph-type-system.md) for more details
An in-development package that provides Typescript typings and implementations for the Block Protocol Type-System. See the [RFC](https://github.com/blockprotocol/blockprotocol/blob/main/rfcs/text/0352-graph-type-system.md) for more details

@@ -9,3 +9,3 @@ ## Development

Ensure you've installed the dependencies required for the `type-system` _crate_, outlined in the respective [README](/crates/type-system/README.md).
Ensure you've installed the dependencies required for the `type-system` _crate_, outlined in the respective [README](./crate/README.md).

@@ -12,0 +12,0 @@ Run:

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

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