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

@dao-xyz/borsh

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dao-xyz/borsh - npm Package Compare versions

Comparing version 5.1.7 to 5.1.8

2

lib/cjs/index.js

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

else if (index === otherVariant || (Array.isArray(index) && Array.isArray(otherVariant) && (index.length !== otherVariant.length || index.every((value, index) => value === otherVariant[index])))) {
throw new error_js_1.BorshError(`Variant of ${ctor.name}: ${exports.variant} is the same as for ${dependency.name} which is not allowed (non-determinism)`);
throw new error_js_1.BorshError(`Variant of ${ctor.name}: ${JSON.stringify(index)} is the same as for ${dependency.name} which is not allowed (non-determinism)`);
}

@@ -570,0 +570,0 @@ }

@@ -545,3 +545,3 @@ import { FixedArrayKind, OptionKind, StructKind, VecKind, getOffset, StringType, } from "./types.js";

else if (index === otherVariant || (Array.isArray(index) && Array.isArray(otherVariant) && (index.length !== otherVariant.length || index.every((value, index) => value === otherVariant[index])))) {
throw new BorshError(`Variant of ${ctor.name}: ${variant} is the same as for ${dependency.name} which is not allowed (non-determinism)`);
throw new BorshError(`Variant of ${ctor.name}: ${JSON.stringify(index)} is the same as for ${dependency.name} which is not allowed (non-determinism)`);
}

@@ -548,0 +548,0 @@ }

{
"name": "@dao-xyz/borsh",
"version": "5.1.7",
"version": "5.1.8",
"readme": "README.md",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/dao-xyz/borsh-ts#README",

@@ -677,3 +677,3 @@ import {

else if (index === otherVariant || (Array.isArray(index) && Array.isArray(otherVariant) && (index.length !== otherVariant.length || index.every((value, index) => value === (otherVariant as number[])[index])))) {
throw new BorshError(`Variant of ${ctor.name}: ${variant} is the same as for ${dependency.name} which is not allowed (non-determinism)`)
throw new BorshError(`Variant of ${ctor.name}: ${JSON.stringify(index)} is the same as for ${dependency.name} which is not allowed (non-determinism)`)

@@ -680,0 +680,0 @@ }

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