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

@atproto/common

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto/common - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

6

CHANGELOG.md
# @atproto/common
## 0.4.2
### Patch Changes
- [#2464](https://github.com/bluesky-social/atproto/pull/2464) [`98711a147`](https://github.com/bluesky-social/atproto/commit/98711a147a8674337f605c6368f39fc10c2fae93) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Minor optimization
## 0.4.1

@@ -4,0 +10,0 @@

10

dist/streams.js

@@ -6,8 +6,6 @@ "use strict";

const forwardStreamErrors = (...streams) => {
for (let i = 0; i < streams.length; ++i) {
const stream = streams[i];
const next = streams[i + 1];
if (next) {
stream.once('error', (err) => next.emit('error', err));
}
for (let i = 1; i < streams.length; ++i) {
const prev = streams[i - 1];
const next = streams[i];
prev.once('error', (err) => next.emit('error', err));
}

@@ -14,0 +12,0 @@ };

2

package.json
{
"name": "@atproto/common",
"version": "0.4.1",
"version": "0.4.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Shared web-platform-friendly code for atproto libraries",

@@ -10,8 +10,7 @@ import {

export const forwardStreamErrors = (...streams: Stream[]) => {
for (let i = 0; i < streams.length; ++i) {
const stream = streams[i]
const next = streams[i + 1]
if (next) {
stream.once('error', (err) => next.emit('error', err))
}
for (let i = 1; i < streams.length; ++i) {
const prev = streams[i - 1]
const next = streams[i]
prev.once('error', (err) => next.emit('error', err))
}

@@ -18,0 +17,0 @@ }

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