@launchtray/hatch-util
Advanced tools
Comparing version 0.22.1 to 0.23.0-alpha.0
@@ -1,2 +0,2 @@ | ||
export declare type AnyJson = boolean | number | string | null | undefined | Array<Record<string, unknown>> | Record<string, unknown>; | ||
export declare type AnyJsonObject = Record<string, unknown>; | ||
export type AnyJson = boolean | number | string | null | undefined | Array<Record<string, unknown>> | Record<string, unknown>; | ||
export type AnyJsonObject = Record<string, unknown>; |
@@ -26,3 +26,3 @@ export declare const PREVENT_DEFAULT_RESPONSE_CODE: unique symbol; | ||
export declare const isApiError: (error: unknown) => error is ApiError; | ||
export declare type ApiDelegateResponse<T> = Promise<T | ApiAlternateAction> | T | ApiAlternateAction; | ||
export type ApiDelegateResponse<T> = Promise<T | ApiAlternateAction> | T | ApiAlternateAction; | ||
export declare const isStream: (value: unknown) => boolean; |
import 'reflect-metadata'; | ||
import { DependencyContainer } from '@launchtray/tsyringe-async'; | ||
export declare type TokenKey = string | symbol; | ||
export type TokenKey = string | symbol; | ||
export interface TokenMapping { | ||
@@ -12,3 +12,3 @@ tokenRegisteredByProject: TokenKey; | ||
} | ||
export declare type Class<T> = new (...args: any[]) => T; | ||
export type Class<T> = new (...args: any[]) => T; | ||
export declare const inject: (token: TokenKey) => (target: unknown, propertyKey: string | symbol, paramIndex: number) => any; | ||
@@ -15,0 +15,0 @@ export declare const injectAll: (token: TokenKey) => (target: unknown, propertyKey: string | symbol, paramIndex: number) => any; |
{ | ||
"name": "@launchtray/hatch-util", | ||
"version": "0.22.1", | ||
"version": "0.23.0-alpha.0", | ||
"description": "Utilities used by several other hatch modules", | ||
@@ -17,3 +17,3 @@ "main": "./dist/index.js", | ||
"@sentry/types": "^5", | ||
"@types/jest": "^27.5.2", | ||
"@types/jest": "^29.5.11", | ||
"@types/node": "^18", | ||
@@ -26,8 +26,8 @@ "@typescript-eslint/eslint-plugin": "^5", | ||
"eslint-plugin-jest": "^26", | ||
"jest": "^27.5.1", | ||
"jest": "^29.7.0", | ||
"rimraf": "3.0.0", | ||
"ts-jest": "^27.1.5", | ||
"typescript": "4.7.4", | ||
"@launchtray/hatch-eslint-config": "0.22.1", | ||
"@launchtray/hatch-test": "0.22.1" | ||
"ts-jest": "^29.1.2", | ||
"typescript": "4.9.5", | ||
"@launchtray/hatch-eslint-config": "0.23.0-alpha.0", | ||
"@launchtray/hatch-test": "0.23.0-alpha.0" | ||
}, | ||
@@ -62,4 +62,4 @@ "peerDependencies": { | ||
"build:watch": "tsc", | ||
"test": "jest --passWithNoTests" | ||
"test": "jest --passWithNoTests --verbose --runInBand --detectOpenHandles $JEST_CLI_OPTIONS 2>&1" | ||
} | ||
} |
@@ -13,3 +13,3 @@ import {Readable} from 'stream'; | ||
static convertNodeReadableToWebStream(readable: Readable): ReadableStream { | ||
return Readable.toWeb(readable); | ||
return Readable.toWeb(readable) as unknown as ReadableStream; | ||
} | ||
@@ -16,0 +16,0 @@ |
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
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
95205