@based/functions
Advanced tools
Comparing version 3.0.0 to 3.0.1-alpha
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
93563
2
1