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

circuitscan

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

circuitscan - npm Package Compare versions

Comparing version 0.0.1-alpha to 0.0.2-alpha

8

index.js

@@ -9,7 +9,6 @@ import {relative, dirname} from 'node:path';

const defaultCircomPath = 'circom-v2.1.8';
// TODO create a cloudformation template for the pkg_association service
const serverURL = 'http://localhost:9000/2015-03-31/functions/function/invocations';
const serverURL = 'https://rekwakezbjsulha5ypzpjk3c7u0rfcgp.lambda-url.us-west-2.on.aws/';
// Default running on AWS Lambda max 10GB ram
const circomCompilerURL = 'https://uvopzbfbfz5i5m4i3tsgq7rjeu0glwdl.lambda-url.us-west-2.on.aws/';
const statusURL = 'https://circuitscan-blobs.s3.us-west-002.backblazeb2.com/status/';
const statusURL = 'https://blob.circuitscan.org/status/';
const stackStarterURL = 'https://fydvjclemuhxdzsv2treynl32q0rwtpp.lambda-url.us-west-2.on.aws/';

@@ -163,3 +162,2 @@

if('errorType' in body) {
console.error(body.errorMessage);
throw new Error('Invalid compilation result');

@@ -190,3 +188,3 @@ }

});
if (!response.ok) {
if (!response.ok && response.status !== 400) {
throw new Error('Network response was not ok');

@@ -193,0 +191,0 @@ }

{
"name": "circuitscan",
"version": "0.0.1-alpha",
"version": "0.0.2-alpha",
"main": "index.js",

@@ -9,2 +9,6 @@ "type": "module",

"private": false,
"repository": {
"type": "git",
"url": "https://github.com/circuitscan/cli.git"
},
"bin": {

@@ -11,0 +15,0 @@ "circuitscan": "./cli.js"

@@ -54,3 +54,3 @@ import https from 'https';

} catch (error) {
if(error.message !== 'not_found') {
if(!error.message.startsWith('Unexpected token')) {
console.error('Error fetching data:', error);

@@ -57,0 +57,0 @@ }

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