Socket
Socket
Sign inDemoInstall

@dfinity/candid

Package Overview
Dependencies
Maintainers
12
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfinity/candid - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

lib/cjs/idl.js

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

const max = BigInt(2) ** BigInt(this.bits);
if (typeof x === 'bigint' && x > BigInt(0)) {
if (typeof x === 'bigint' && x >= BigInt(0)) {
return x < max;

@@ -514,0 +514,0 @@ }

@@ -491,3 +491,3 @@ // tslint:disable:max-classes-per-file

const max = BigInt(2) ** BigInt(this.bits);
if (typeof x === 'bigint' && x > BigInt(0)) {
if (typeof x === 'bigint' && x >= BigInt(0)) {
return x < max;

@@ -494,0 +494,0 @@ }

{
"name": "@dfinity/candid",
"version": "0.9.0",
"version": "0.9.1",
"author": "DFINITY Stiftung <sdk@dfinity.org>",

@@ -34,3 +34,3 @@ "license": "Apache-2.0",

"lint:fix": "npm run lint -- --fix",
"make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/principal --excludeInternal",
"make:docs/reference": "typedoc src/index.ts --out ../../docs/generated/candid --excludeInternal",
"prettier": "prettier --check \"src/**/*.ts\"",

@@ -37,0 +37,0 @@ "prettier:write": "npm run prettier -- --write",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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