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

@hirosystems/clarinet-sdk

Package Overview
Dependencies
Maintainers
4
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hirosystems/clarinet-sdk - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

7

dist/cjs/vfs.js

@@ -25,5 +25,9 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.vfs = void 0;
const fs = __importStar(require("node:fs/promises"));
const node_path_1 = __importDefault(require("node:path"));
function fileArrayToString(bufferArray) {

@@ -80,2 +84,5 @@ return Array.from(bufferArray)

throw new Error("invalid write event");
const dir = node_path_1.default.dirname(event.path);
if (dir !== ".")
await fs.mkdir(dir, { recursive: true });
return fs.writeFile(event.path, Uint8Array.from(event.content));

@@ -82,0 +89,0 @@ }

4

dist/esm/vfs.js
import * as fs from "node:fs/promises";
import path from "node:path";
function fileArrayToString(bufferArray) {

@@ -53,2 +54,5 @@ return Array.from(bufferArray)

throw new Error("invalid write event");
const dir = path.dirname(event.path);
if (dir !== ".")
await fs.mkdir(dir, { recursive: true });
return fs.writeFile(event.path, Uint8Array.from(event.content));

@@ -55,0 +59,0 @@ }

2

package.json
{
"name": "@hirosystems/clarinet-sdk",
"version": "1.0.3",
"version": "1.0.4",
"description": "A SDK to interact with Clarity Smart Contracts",

@@ -5,0 +5,0 @@ "homepage": "https://docs.hiro.so/clarinet/feature-guides/clarinet-js-sdk",

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