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

@based/functions

Package Overview
Dependencies
Maintainers
7
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@based/functions - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1-alpha

2

dist/stream.d.ts

@@ -6,3 +6,3 @@ /// <reference types="node" resolution-mode="require"/>

import { Duplex, Readable } from 'stream';
import util from 'node:util';
import util from 'util';
export declare class BasedDataStream extends Duplex {

@@ -9,0 +9,0 @@ size: number;

import { Duplex, Readable } from 'stream';
import util from 'node:util';
import util from 'util';
// prob want to move this to based functions

@@ -4,0 +4,0 @@ export class BasedDataStream extends Duplex {

{
"name": "@based/functions",
"version": "3.0.0",
"version": "3.0.1-alpha",
"license": "MIT",

@@ -5,0 +5,0 @@ "type": "module",

import { Duplex, Readable } from 'stream'
import util from 'node:util'
import util from 'util'

@@ -16,3 +16,3 @@ // prob want to move this to based functions

override _read() {}
override _read() { }

@@ -74,17 +74,17 @@ override _write(chunk, encoding, callback) {

| {
contents: Readable | Duplex
payload?: any
size: number
mimeType?: string
fileName?: string
extension?: string
}
contents: Readable | Duplex
payload?: any
size: number
mimeType?: string
fileName?: string
extension?: string
}
| {
contents: BasedDataStream
payload?: any
size?: number
mimeType?: string
fileName?: string
extension?: string
}
contents: BasedDataStream
payload?: any
size?: number
mimeType?: string
fileName?: string
extension?: string
}

@@ -91,0 +91,0 @@ export type StreamFunctionOpts = StreamFunctionContents | StreamFunctionStream

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