+55
| # Blue Oak Model License | ||
| Version 1.0.0 | ||
| ## Purpose | ||
| This license gives everyone as much permission to work with | ||
| this software as possible, while protecting contributors | ||
| from liability. | ||
| ## Acceptance | ||
| In order to receive this license, you must agree to its | ||
| rules. The rules of this license are both obligations | ||
| under that agreement and conditions to your license. | ||
| You must not do anything with this software that triggers | ||
| a rule that you cannot or will not follow. | ||
| ## Copyright | ||
| Each contributor licenses you to do everything with this | ||
| software that would otherwise infringe that contributor's | ||
| copyright in it. | ||
| ## Notices | ||
| You must ensure that everyone who gets a copy of | ||
| any part of this software from you, with or without | ||
| changes, also gets the text of this license or a link to | ||
| <https://blueoakcouncil.org/license/1.0.0>. | ||
| ## Excuse | ||
| If anyone notifies you in writing that you have not | ||
| complied with [Notices](#notices), you can keep your | ||
| license by taking all practical steps to comply within 30 | ||
| days after the notice. If you do not do so, your license | ||
| ends immediately. | ||
| ## Patent | ||
| Each contributor licenses you to do everything with this | ||
| software that would otherwise infringe any patent claims | ||
| they can license or become able to license. | ||
| ## Reliability | ||
| No contributor can revoke this license. | ||
| ## No Liability | ||
| ***As far as the law allows, this software comes as is, | ||
| without any warranty or condition, and no contributor | ||
| will be liable to anyone for any damages related to this | ||
| software or this license, under any kind of legal claim.*** |
+12
-16
@@ -1,5 +0,1 @@ | ||
| /// <reference types="node" /> | ||
| /// <reference types="node" /> | ||
| /// <reference types="node" /> | ||
| /// <reference types="node" /> | ||
| import { EventEmitter } from 'node:events'; | ||
@@ -18,13 +14,13 @@ import { StringDecoder } from 'node:string_decoder'; | ||
| */ | ||
| export declare const isStream: (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| export declare const isStream: (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }) | (EventEmitter<any> & { | ||
| pause(): any; | ||
| resume(): any; | ||
| pipe(...destArgs: any[]): any; | ||
| }) | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (NodeJS.WriteStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }); | ||
@@ -537,15 +533,15 @@ /** | ||
| */ | ||
| static get isStream(): (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| static get isStream(): (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }) | (EventEmitter<any> & { | ||
| pause(): any; | ||
| resume(): any; | ||
| pipe(...destArgs: any[]): any; | ||
| }) | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (NodeJS.WriteStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }); | ||
| } | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -25,3 +25,7 @@ "use strict"; | ||
| (0, exports.isReadable)(s) || | ||
| (0, exports.isWritable)(s)); | ||
| (0, exports.isWritable)(s)) | ||
| /** | ||
| * Return true if the argument is a valid {@link Minipass.Readable} | ||
| */ | ||
| ; | ||
| exports.isStream = isStream; | ||
@@ -36,3 +40,7 @@ /** | ||
| // node core Writable streams have a pipe() method, but it throws | ||
| s.pipe !== node_stream_1.default.Writable.prototype.pipe; | ||
| s.pipe !== node_stream_1.default.Writable.prototype.pipe | ||
| /** | ||
| * Return true if the argument is a valid {@link Minipass.Writable} | ||
| */ | ||
| ; | ||
| exports.isReadable = isReadable; | ||
@@ -134,3 +142,3 @@ /** | ||
| super(src, dest, opts); | ||
| this.proxyErrors = er => dest.emit('error', er); | ||
| this.proxyErrors = (er) => this.dest.emit('error', er); | ||
| src.on('error', this.proxyErrors); | ||
@@ -945,2 +953,3 @@ } | ||
| }, | ||
| [Symbol.asyncDispose]: async () => { }, | ||
| }; | ||
@@ -983,2 +992,3 @@ } | ||
| }, | ||
| [Symbol.dispose]: () => { }, | ||
| }; | ||
@@ -985,0 +995,0 @@ } |
+12
-16
@@ -1,5 +0,1 @@ | ||
| /// <reference types="node" resolution-mode="require"/> | ||
| /// <reference types="node" resolution-mode="require"/> | ||
| /// <reference types="node" resolution-mode="require"/> | ||
| /// <reference types="node" resolution-mode="require"/> | ||
| import { EventEmitter } from 'node:events'; | ||
@@ -18,13 +14,13 @@ import { StringDecoder } from 'node:string_decoder'; | ||
| */ | ||
| export declare const isStream: (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| export declare const isStream: (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }) | (EventEmitter<any> & { | ||
| pause(): any; | ||
| resume(): any; | ||
| pipe(...destArgs: any[]): any; | ||
| }) | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (NodeJS.WriteStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }); | ||
@@ -537,15 +533,15 @@ /** | ||
| */ | ||
| static get isStream(): (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| static get isStream(): (s: any) => s is Minipass<any, any, any> | NodeJS.ReadStream | NodeJS.WriteStream | (EventEmitter<any> & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }) | (EventEmitter<any> & { | ||
| pause(): any; | ||
| resume(): any; | ||
| pipe(...destArgs: any[]): any; | ||
| }) | (NodeJS.ReadStream & { | ||
| fd: number; | ||
| }) | (NodeJS.WriteStream & { | ||
| fd: number; | ||
| }) | (EventEmitter & { | ||
| end(): any; | ||
| write(chunk: any, ...args: any[]): any; | ||
| }); | ||
| } | ||
| //# sourceMappingURL=index.d.ts.map |
@@ -123,3 +123,3 @@ const proc = typeof process === 'object' && process | ||
| super(src, dest, opts); | ||
| this.proxyErrors = er => dest.emit('error', er); | ||
| this.proxyErrors = (er) => this.dest.emit('error', er); | ||
| src.on('error', this.proxyErrors); | ||
@@ -934,2 +934,3 @@ } | ||
| }, | ||
| [Symbol.asyncDispose]: async () => { }, | ||
| }; | ||
@@ -972,2 +973,3 @@ } | ||
| }, | ||
| [Symbol.dispose]: () => { }, | ||
| }; | ||
@@ -974,0 +976,0 @@ } |
+9
-14
| { | ||
| "name": "minipass", | ||
| "version": "7.1.2", | ||
| "version": "7.1.3", | ||
| "description": "minimal implementation of a PassThrough stream", | ||
| "main": "./dist/commonjs/index.js", | ||
| "types": "./dist/commonjs/index.d.ts", | ||
| "module": "./dist/esm/index.js", | ||
| "type": "module", | ||
| "tshy": { | ||
| "selfLink": false, | ||
| "main": true, | ||
| "compiler": "tsgo", | ||
| "exports": { | ||
@@ -57,10 +58,10 @@ "./package.json": "./package.json", | ||
| "@types/end-of-stream": "^1.4.2", | ||
| "@types/node": "^20.1.2", | ||
| "@types/node": "^25.2.3", | ||
| "end-of-stream": "^1.4.0", | ||
| "node-abort-controller": "^3.1.1", | ||
| "prettier": "^2.6.2", | ||
| "tap": "^19.0.0", | ||
| "prettier": "^3.8.1", | ||
| "tap": "^21.6.1", | ||
| "through2": "^2.0.3", | ||
| "tshy": "^1.14.0", | ||
| "typedoc": "^0.25.1" | ||
| "tshy": "^3.3.2", | ||
| "typedoc": "^0.28.17" | ||
| }, | ||
@@ -73,12 +74,6 @@ "repository": "https://github.com/isaacs/minipass", | ||
| "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
| "license": "ISC", | ||
| "license": "BlueOak-1.0.0", | ||
| "engines": { | ||
| "node": ">=16 || 14 >=14.17" | ||
| }, | ||
| "tap": { | ||
| "typecheck": true, | ||
| "include": [ | ||
| "test/*.ts" | ||
| ] | ||
| } | ||
| } |
-15
| The ISC License | ||
| Copyright (c) 2017-2023 npm, Inc., Isaac Z. Schlueter, and Contributors | ||
| Permission to use, copy, modify, and/or distribute this software for any | ||
| purpose with or without fee is hereby granted, provided that the above | ||
| copyright notice and this permission notice appear in all copies. | ||
| THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR | ||
| IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
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 too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
366791
28.16%3146
0.13%9
28.57%