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

canpack

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canpack - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

4

lib/generate.js

@@ -88,4 +88,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const missingMembers = rustProjects
.filter(([name]) => { var _a, _b; return !((_b = (_a = cargoToml === null || cargoToml === void 0 ? void 0 : cargoToml.workspace) === null || _a === void 0 ? void 0 : _a.members) === null || _b === void 0 ? void 0 : _b.includes(name)); })
.map(([name]) => getMemberPath(name));
.map(([name]) => getMemberPath(name))
.filter((path) => { var _a, _b; return !((_b = (_a = cargoToml === null || cargoToml === void 0 ? void 0 : cargoToml.workspace) === null || _a === void 0 ? void 0 : _a.members) === null || _b === void 0 ? void 0 : _b.includes(path)); });
if (missingMembers.length) {

@@ -92,0 +92,0 @@ console.log(chalk.yellow(`Add the following \`workspace.members\` to ${resolve(cargoTomlPath)}: ${JSON.stringify(missingMembers)}`));

{
"name": "canpack",
"version": "0.2.1",
"version": "0.2.2",
"description": "Package multiple libraries into one ICP canister.",

@@ -5,0 +5,0 @@ "author": "Ryan Vandersmith (https://github.com/rvanasa)",

@@ -120,4 +120,4 @@ import TOML from '@iarna/toml';

const missingMembers = rustProjects
.filter(([name]) => !cargoToml?.workspace?.members?.includes(name))
.map(([name]) => getMemberPath(name));
.map(([name]) => getMemberPath(name))
.filter((path) => !cargoToml?.workspace?.members?.includes(path));
if (missingMembers.length) {

@@ -124,0 +124,0 @@ console.log(

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