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

eslint-plugin-snarkyjs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-snarkyjs - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

1

build/src/index.js

@@ -12,3 +12,2 @@ "use strict";

'no-constructor-in-smart-contract',
'always-export-in-smart-contract',
];

@@ -15,0 +14,0 @@ // eslint-disable-next-line @typescript-eslint/no-explicit-any

6

build/src/types.d.ts
export declare const MAX_CONTRACT_STATES: 8;
declare const SnarkyJSPrimitives: readonly ["Field", "Bool", "UInt32", "Uint64", "Scalar", "PrivateKey", "Group", "PublicKey", "Signature"];
declare const SnarkyJSPrimitives: readonly ["Field", "Bool", "UInt32", "UInt64", "Scalar", "PrivateKey", "Group", "PublicKey", "Signature"];
export declare type SnarkyJSPrimitive = typeof SnarkyJSPrimitives[number];
export declare function getSnarkyJSPrimitive(s: string): "Field" | "Bool" | "UInt32" | "Uint64" | "Scalar" | "PrivateKey" | "Group" | "PublicKey" | "Signature" | undefined;
export declare const SnarkyJSPrimitiveSizeInfo: Record<"Field" | "Bool" | "UInt32" | "Uint64" | "Scalar" | "PrivateKey" | "Group" | "PublicKey" | "Signature", {
export declare function getSnarkyJSPrimitive(s: string): "Field" | "Bool" | "UInt32" | "UInt64" | "Scalar" | "PrivateKey" | "Group" | "PublicKey" | "Signature" | undefined;
export declare const SnarkyJSPrimitiveSizeInfo: Record<"Field" | "Bool" | "UInt32" | "UInt64" | "Scalar" | "PrivateKey" | "Group" | "PublicKey" | "Signature", {
size: number;

@@ -7,0 +7,0 @@ }>;

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

'UInt32',
'Uint64',
'UInt64',
'Scalar',

@@ -26,3 +26,3 @@ 'PrivateKey',

UInt32: { size: 1 },
Uint64: { size: 1 },
UInt64: { size: 1 },
PrivateKey: { size: 1 },

@@ -29,0 +29,0 @@ Group: { size: 2 },

{
"name": "eslint-plugin-snarkyjs",
"version": "0.2.0",
"version": "0.3.0",
"description": "SnarkyJS rules for ESLint",

@@ -5,0 +5,0 @@ "main": "build/src/index.js",

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