Socket
Socket
Sign inDemoInstall

cidar

Package Overview
Dependencies
104
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

9

index.js

@@ -19,2 +19,9 @@ /************************************************

}
module.exports = { file }
async folder (content) {
let lastCid
for await (const entry of importer(content, block, { onlyHash: true, cidVersion: 1, rawLeaves: true, wrapWithDirectory: true })) {
lastCid = entry.cid
}
return `${lastCid}`
}
module.exports = { file, folder }

2

package.json
{
"name": "cidar",
"version": "0.0.2",
"version": "0.0.3",
"description": "",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc