build: bump new versions
Publish to NPM / Check version changes and publish (push) Failing after 10m34s

This commit is contained in:
2026-06-18 02:57:03 +07:00
parent e73e8d2cdd
commit ab6d8f6ce0
198 changed files with 226 additions and 223 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const ASCII_ZERO = 0x30;
* luhn('4111 1111 1111 1111'); // true
* luhn('4111 1111 1111 1112'); // false
*
* @since 0.0.2
* @since 0.0.1
*/
export function luhn(value: string): boolean {
const digits = value.replaceAll(NON_DIGIT, '');
+3 -3
View File
@@ -128,7 +128,7 @@ import type { FetchExecuteMiddleware, FetchHook, FetchHooks, FetchOptions, Fetch
* });
* await billing('/invoices', { method: 'POST', body: { amount: 100 } });
*
* @since 0.1.0
* @since 0.0.1
*/
export function definePlugin<
const Name extends string,
@@ -228,7 +228,7 @@ function applyDefaults(
* Ordering: plugin defaults (in declaration order) → user defaults (user wins).
* Headers are merged independently through a single Headers instance.
*
* @since 0.1.0
* @since 0.0.1
*/
export function composePlugins(
plugins: readonly FetchPlugin[] | undefined,
@@ -331,7 +331,7 @@ function composeExecute(middlewares: readonly FetchExecuteMiddleware[]): FetchEx
* @description Runs all instance-level (plugin) hooks for a single phase, then the
* optional user per-request hook(s). Avoids allocating an intermediate array per call.
*
* @since 0.1.0
* @since 0.0.1
*/
export async function runHookPhase<C>(
instance: ReadonlyArray<FetchHook<C>> | undefined,
+1 -1
View File
@@ -44,7 +44,7 @@ function shouldRetryStatus(options: ResolvedFetchOptions, status: number): boole
*
* Auto-registered by `createFetch`; disable per-request via `retry: false`.
*
* @since 0.1.0
* @since 0.0.1
*/
export function retryPlugin() {
return definePlugin({
+1 -1
View File
@@ -20,7 +20,7 @@ const baseSignals = new WeakMap<object, AbortSignal | undefined>();
*
* Auto-registered by `createFetch`; no-op when `timeout` is unset.
*
* @since 0.1.0
* @since 0.0.1
*/
export function timeoutPlugin() {
return definePlugin({
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@robonen/platform",
"version": "0.0.4",
"version": "0.0.5",
"license": "Apache-2.0",
"description": "Platform dependent utilities for javascript development",
"keywords": [
+2 -2
View File
@@ -5,7 +5,7 @@
* @category Multi
* @description Global object that works in any environment
*
* @since 0.0.1
* @since 0.0.2
*/
export const _global
= typeof globalThis !== 'undefined'
@@ -23,6 +23,6 @@ export const _global
* @category Multi
* @description Check if the current environment is the client
*
* @since 0.0.1
* @since 0.0.2
*/
export const isClient = typeof window !== 'undefined' && typeof document !== 'undefined';
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@robonen/stdlib",
"version": "0.0.9",
"version": "0.0.10",
"license": "Apache-2.0",
"description": "A collection of tools, utilities, and helpers for TypeScript",
"keywords": [