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

@dfinity/candid

Package Overview
Dependencies
Maintainers
11
Versions
68
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.15.7 to 0.16.0

13

lib/cjs/idl.js

@@ -1566,5 +1566,14 @@ "use strict";

rawTable.forEach((entry, i) => {
const t = buildType(entry);
table[i].fill(t);
// Process function type first, so that we can construct the correct service type
if (entry[0] === -22 /* IDLTypeIds.Func */) {
const t = buildType(entry);
table[i].fill(t);
}
});
rawTable.forEach((entry, i) => {
if (entry[0] !== -22 /* IDLTypeIds.Func */) {
const t = buildType(entry);
table[i].fill(t);
}
});
const types = rawTypes.map(t => getType(t));

@@ -1571,0 +1580,0 @@ const output = retTypes.map((t, i) => {

@@ -1537,5 +1537,14 @@ // tslint:disable:max-classes-per-file

rawTable.forEach((entry, i) => {
const t = buildType(entry);
table[i].fill(t);
// Process function type first, so that we can construct the correct service type
if (entry[0] === -22 /* IDLTypeIds.Func */) {
const t = buildType(entry);
table[i].fill(t);
}
});
rawTable.forEach((entry, i) => {
if (entry[0] !== -22 /* IDLTypeIds.Func */) {
const t = buildType(entry);
table[i].fill(t);
}
});
const types = rawTypes.map(t => getType(t));

@@ -1542,0 +1551,0 @@ const output = retTypes.map((t, i) => {

10

package.json
{
"name": "@dfinity/candid",
"version": "0.15.7",
"version": "0.16.0",
"author": "DFINITY Stiftung <sdk@dfinity.org>",

@@ -55,6 +55,6 @@ "license": "Apache-2.0",

"esbuild": "^0.15.16",
"eslint-plugin-jsdoc": "^39.3.3",
"eslint": "^8.19.0",
"eslint-plugin-jsdoc": "^39.3.3",
"jest-diff": "^27.3.1",
"jest": "^28.1.2",
"jest-diff": "^27.3.1",
"prettier": "^2.0.5",

@@ -64,2 +64,3 @@ "size-limit": "^8.1.0",

"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"tslint": "^5.20.0",

@@ -70,5 +71,2 @@ "typedoc": "^0.22.11",

},
"dependencies": {
"ts-node": "^10.8.2"
},
"size-limit": [

@@ -75,0 +73,0 @@ {

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