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

@noir-lang/noir_wasm

Package Overview
Dependencies
Maintainers
1
Versions
394
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/noir_wasm - npm Package Compare versions

Comparing version 0.5.1-9740f54 to 0.5.1-c3bdec2

2

nodejs/noir_wasm_bg.wasm.d.ts
/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function compile(a: number): number;
export function acir_read_bytes(a: number, b: number): number;

@@ -9,2 +8,3 @@ export function acir_write_bytes(a: number, b: number): void;

export function build_info(): number;
export function compile(a: number): number;
export function __wbindgen_export_0(a: number): number;

@@ -11,0 +11,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number;

/* tslint:disable */
/* eslint-disable */
/**
* @param {any} args
* @returns {any}
*/
export function compile(args: any): any;
/**
* @param {Uint8Array} bytes

@@ -26,1 +21,6 @@ * @returns {any}

export function build_info(): any;
/**
* @param {any} args
* @returns {any}
*/
export function compile(args: any): any;

@@ -120,10 +120,2 @@ let imports = {};

}
/**
* @param {any} args
* @returns {any}
*/
module.exports.compile = function(args) {
const ret = wasm.compile(addHeapObject(args));
return takeObject(ret);
};

@@ -185,2 +177,11 @@ function passArray8ToWasm0(arg, malloc) {

/**
* @param {any} args
* @returns {any}
*/
module.exports.compile = function(args) {
const ret = wasm.compile(addHeapObject(args));
return takeObject(ret);
};
function handleError(f, args) {

@@ -194,2 +195,6 @@ try {

module.exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_is_undefined = function(arg0) {

@@ -205,6 +210,2 @@ const ret = getObject(arg0) === undefined;

module.exports.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
module.exports.__wbindgen_string_new = function(arg0, arg1) {

@@ -211,0 +212,0 @@ const ret = getStringFromWasm0(arg0, arg1);

@@ -6,3 +6,3 @@ {

],
"version": "0.5.1-9740f54",
"version": "0.5.1-c3bdec2",
"files": [

@@ -25,4 +25,4 @@ "nodejs",

"compiler": {
"versionHash": "9740f54c28f30ea9367897fa986d8aea1aba79f2"
"versionHash": "c3bdec294234e92a73f39720ec7202fbb17ddc79"
}
}
# Noir Lang WASM JavaScript Package
## Tracks
Noir lang Repository [noir-lang/noir@9740f54](https://github.com/noir-lang/noir/tree/9740f54c28f30ea9367897fa986d8aea1aba79f2)
Noir lang Repository [noir-lang/noir@c3bdec2](https://github.com/noir-lang/noir/tree/c3bdec294234e92a73f39720ec7202fbb17ddc79)
/* tslint:disable */
/* eslint-disable */
export const memory: WebAssembly.Memory;
export function compile(a: number): number;
export function acir_read_bytes(a: number, b: number): number;

@@ -9,2 +8,3 @@ export function acir_write_bytes(a: number, b: number): void;

export function build_info(): number;
export function compile(a: number): number;
export function __wbindgen_export_0(a: number): number;

@@ -11,0 +11,0 @@ export function __wbindgen_export_1(a: number, b: number, c: number): number;

/* tslint:disable */
/* eslint-disable */
/**
* @param {any} args
* @returns {any}
*/
export function compile(args: any): any;
/**
* @param {Uint8Array} bytes

@@ -26,2 +21,7 @@ * @returns {any}

export function build_info(): any;
/**
* @param {any} args
* @returns {any}
*/
export function compile(args: any): any;

@@ -32,3 +32,2 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;

readonly memory: WebAssembly.Memory;
readonly compile: (a: number) => number;
readonly acir_read_bytes: (a: number, b: number) => number;

@@ -38,2 +37,3 @@ readonly acir_write_bytes: (a: number, b: number) => void;

readonly build_info: () => number;
readonly compile: (a: number) => number;
readonly __wbindgen_export_0: (a: number) => number;

@@ -40,0 +40,0 @@ readonly __wbindgen_export_1: (a: number, b: number, c: number) => number;

@@ -118,10 +118,2 @@ import { read_file } from '@noir-lang/noir-source-resolver';

}
/**
* @param {any} args
* @returns {any}
*/
export function compile(args) {
const ret = wasm.compile(addHeapObject(args));
return takeObject(ret);
}

@@ -183,2 +175,11 @@ function passArray8ToWasm0(arg, malloc) {

/**
* @param {any} args
* @returns {any}
*/
export function compile(args) {
const ret = wasm.compile(addHeapObject(args));
return takeObject(ret);
}
function handleError(f, args) {

@@ -226,2 +227,5 @@ try {

imports.wbg = {};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_is_undefined = function(arg0) {

@@ -235,5 +239,2 @@ const ret = getObject(arg0) === undefined;

};
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
takeObject(arg0);
};
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {

@@ -240,0 +241,0 @@ const ret = getStringFromWasm0(arg0, arg1);

Sorry, the diff of this file is not supported yet

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