Socket
Socket
Sign inDemoInstall

arbundles

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arbundles - npm Package Compare versions

Comparing version 0.9.7 to 0.9.8

2

build/node/cjs/index.d.ts
export * from "./src/index";
export * from "./src/stream";
export * as file from "./src/file";

@@ -13,7 +13,22 @@ "use strict";

}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.file = void 0;
__exportStar(require("./src/index"), exports);
__exportStar(require("./src/stream"), exports);
exports.file = __importStar(require("./src/file"));
//# sourceMappingURL=index.js.map

4

build/node/cjs/src/stream/index.d.ts

@@ -7,3 +7,3 @@ /// <reference types="node" />

import type { Signer } from "../signing/index";
export default function processStream(stream: Readable): Promise<Record<string, any>[]>;
export declare function processStream(stream: Readable): Promise<Record<string, any>[]>;
/**

@@ -19,2 +19,3 @@ * Signs a stream (requires two instances/read passes)

declare function getReader(s: Readable): AsyncGenerator<Buffer>;
export default processStream;
export declare const streamExportForTesting: {

@@ -24,2 +25,1 @@ readBytes: typeof readBytes;

};
export {};

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.streamExportForTesting = exports.streamSigner = void 0;
exports.streamExportForTesting = exports.streamSigner = exports.processStream = void 0;
const stream_1 = require("stream");

@@ -166,3 +166,3 @@ const utils_1 = require("../utils");

}
exports.default = processStream;
exports.processStream = processStream;
/**

@@ -232,2 +232,3 @@ * Signs a stream (requires two instances/read passes)

}
exports.default = processStream;
exports.streamExportForTesting = {

@@ -234,0 +235,0 @@ readBytes,

export * from "./src/index.js";
export * from "./src/stream/index.js";
export * as file from "./src/file/index.js";
export * from "./src/index.js";
export * from "./src/stream/index.js";
export * as file from "./src/file/index.js";
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ /// <reference types="node" />

import type { Signer } from "../signing/index.js";
export default function processStream(stream: Readable): Promise<Record<string, any>[]>;
export declare function processStream(stream: Readable): Promise<Record<string, any>[]>;
/**

@@ -19,2 +19,3 @@ * Signs a stream (requires two instances/read passes)

declare function getReader(s: Readable): AsyncGenerator<Buffer>;
export default processStream;
export declare const streamExportForTesting: {

@@ -24,2 +25,1 @@ readBytes: typeof readBytes;

};
export {};

@@ -11,3 +11,3 @@ import { PassThrough, Transform } from "stream";

import { createHash } from "crypto";
export default async function processStream(stream) {
export async function processStream(stream) {
const reader = getReader(stream);

@@ -169,2 +169,3 @@ let bytes = (await reader.next()).value;

}
export default processStream;
export const streamExportForTesting = {

@@ -171,0 +172,0 @@ readBytes,

export * from "./src/index";
export * from "./src/stream";
export * as file from "./src/file";

@@ -13,7 +13,22 @@ "use strict";

}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.file = void 0;
__exportStar(require("./src/index"), exports);
__exportStar(require("./src/stream"), exports);
exports.file = __importStar(require("./src/file"));
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ /// <reference types="node" />

import type { Signer } from "../signing/index";
export default function processStream(stream: Readable): Promise<Record<string, any>[]>;
export declare function processStream(stream: Readable): Promise<Record<string, any>[]>;
/**

@@ -19,2 +19,3 @@ * Signs a stream (requires two instances/read passes)

declare function getReader(s: Readable): AsyncGenerator<Buffer>;
export default processStream;
export declare const streamExportForTesting: {

@@ -24,2 +25,1 @@ readBytes: typeof readBytes;

};
export {};

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.streamExportForTesting = exports.streamSigner = void 0;
exports.streamExportForTesting = exports.streamSigner = exports.processStream = void 0;
const stream_1 = require("stream");

@@ -166,3 +166,3 @@ const utils_1 = require("../utils");

}
exports.default = processStream;
exports.processStream = processStream;
/**

@@ -232,2 +232,3 @@ * Signs a stream (requires two instances/read passes)

}
exports.default = processStream;
exports.streamExportForTesting = {

@@ -234,0 +235,0 @@ readBytes,

export * from "./src/index.js";
export * from "./src/stream/index.js";
export * as file from "./src/file/index.js";
export * from "./src/index.js";
export * from "./src/stream/index.js";
export * as file from "./src/file/index.js";
//# sourceMappingURL=index.js.map

@@ -7,3 +7,3 @@ /// <reference types="node" />

import type { Signer } from "../signing/index.js";
export default function processStream(stream: Readable): Promise<Record<string, any>[]>;
export declare function processStream(stream: Readable): Promise<Record<string, any>[]>;
/**

@@ -19,2 +19,3 @@ * Signs a stream (requires two instances/read passes)

declare function getReader(s: Readable): AsyncGenerator<Buffer>;
export default processStream;
export declare const streamExportForTesting: {

@@ -24,2 +25,1 @@ readBytes: typeof readBytes;

};
export {};

@@ -11,3 +11,3 @@ import { PassThrough, Transform } from "stream";

import { createHash } from "crypto";
export default async function processStream(stream) {
export async function processStream(stream) {
const reader = getReader(stream);

@@ -169,2 +169,3 @@ let bytes = (await reader.next()).value;

}
export default processStream;
export const streamExportForTesting = {

@@ -171,0 +172,0 @@ readBytes,

{
"name": "arbundles",
"version": "0.9.7",
"version": "0.9.8",
"description": "Arweave bundling library",
"author": "Josh Benaron <joshbenaron@gmail.com>",
"license": "Apache-2.0",
"repository": "https://github.com/Bundlr-Network/arbundles",
"main": "build/node/cjs/index.js",

@@ -8,0 +9,0 @@ "module": "build/node/esm/index.js",

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

Sorry, the diff of this file is too big to display

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

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