Skip to content

Replace readable-stream usage with Web Streams in the Vaults and Git Domains #523

@tegefaulkes

Description

@tegefaulkes

Specification

Some parts of the code are still using readable-stream. these need to be replaced with webstreams and the readable-stream dependency removed from the package.json.

These usages can be found at


[nix-shell:~/Projects/Polykey]$ ag "from 'readable"
src/vaults/VaultManager.ts
24:import { PassThrough } from 'readable-stream';

src/git/types.ts
1:import type { PassThrough } from 'readable-stream';

src/git/utils.ts
22:import { PassThrough } from 'readable-stream';

Additional context

Tasks

  1. [ ] 1. Replace any readable-stream usage with stream/web. - replacing with async generator
  2. 2. Remove readable-stream as a dependency from the package.json.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions