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

@noir-lang/backend_barretenberg

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noir-lang/backend_barretenberg - npm Package Compare versions

Comparing version 0.19.4 to 0.20.0-64fcb71.nightly

4

lib/cjs/public_inputs.js

@@ -5,3 +5,3 @@ "use strict";

function flattenPublicInputs(publicInputs) {
const publicInputIndices = [...publicInputs.keys()].sort();
const publicInputIndices = [...publicInputs.keys()].sort((a, b) => a - b);
const flattenedPublicInputs = publicInputIndices.map((index) => publicInputs.get(index));

@@ -29,3 +29,3 @@ return flattenedPublicInputs;

// The elements of this array should correspond to the elements of `flattenedPublicInputs` so that we can build up a `WitnessMap`.
const public_input_witnesses = [...new Set(public_parameter_witnesses.concat(return_value_witnesses))].sort();
const public_input_witnesses = [...new Set(public_parameter_witnesses.concat(return_value_witnesses))].sort((a, b) => a - b);
const publicInputs = new Map();

@@ -32,0 +32,0 @@ public_input_witnesses.forEach((witness_index, index) => {

export function flattenPublicInputs(publicInputs) {
const publicInputIndices = [...publicInputs.keys()].sort();
const publicInputIndices = [...publicInputs.keys()].sort((a, b) => a - b);
const flattenedPublicInputs = publicInputIndices.map((index) => publicInputs.get(index));

@@ -23,3 +23,3 @@ return flattenedPublicInputs;

// The elements of this array should correspond to the elements of `flattenedPublicInputs` so that we can build up a `WitnessMap`.
const public_input_witnesses = [...new Set(public_parameter_witnesses.concat(return_value_witnesses))].sort();
const public_input_witnesses = [...new Set(public_parameter_witnesses.concat(return_value_witnesses))].sort((a, b) => a - b);
const publicInputs = new Map();

@@ -26,0 +26,0 @@ public_input_witnesses.forEach((witness_index, index) => {

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

],
"version": "0.19.4",
"version": "0.20.0-64fcb71.nightly",
"packageManager": "yarn@3.5.1",

@@ -29,2 +29,3 @@ "license": "(MIT OR Apache-2.0)",

"clean": "rm -rf ./lib",
"test": "mocha --timeout 25000 --exit --config ./.mocharc.json",
"prettier": "prettier 'src/**/*.ts'",

@@ -38,3 +39,3 @@ "prettier:fix": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",

"@aztec/bb.js": "0.16.0",
"@noir-lang/types": "0.19.4",
"@noir-lang/types": "0.20.0-64fcb71.nightly",
"fflate": "^0.8.0"

@@ -45,7 +46,10 @@ },

"@types/prettier": "^3",
"chai": "^4.3.8",
"eslint": "^8.50.0",
"eslint-plugin-prettier": "^5.0.0",
"mocha": "^10.2.0",
"prettier": "3.0.3",
"ts-node": "^10.9.1",
"typescript": "5.1.5"
}
}
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