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

@hazae41/glacier

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hazae41/glacier - npm Package Compare versions

Comparing version 2.0.12 to 2.0.13

10

dist/types/mods/fetched/fetched.d.ts

@@ -1,2 +0,2 @@

import { Ok, Err, Result, Catched } from '@hazae41/result';
import { Ok, Err, Result } from '@hazae41/result';
import { Awaitable } from '../../libs/promises/promises.js';

@@ -38,3 +38,3 @@ import { DataInit, Data } from './data.js';

*/
function runAndDoubleWrap<T>(callback: () => Awaitable<T>, times?: TimesInit): Promise<Fetched<T, Catched>>;
function runAndDoubleWrap<T>(callback: () => Awaitable<T>, times?: TimesInit): Promise<Fetched<T, Error>>;
/**

@@ -45,3 +45,3 @@ * Run a callback and wrap any returned value in Ok<T> and any thrown error in Err<Catched>

*/
function runAndDoubleWrapSync<T>(callback: () => T, times?: TimesInit): Fetched<T, Catched>;
function runAndDoubleWrapSync<T>(callback: () => T, times?: TimesInit): Fetched<T, Error>;
/**

@@ -64,3 +64,3 @@ * Run a callback and wrap any thrown error in Err<unknown>

*/
function runOrDoubleWrap<F extends Fetched.Infer<F>>(callback: () => Awaitable<F>, times?: TimesInit): Promise<F | Fail<Catched>>;
function runOrDoubleWrap<F extends Fetched.Infer<F>>(callback: () => Awaitable<F>, times?: TimesInit): Promise<F | Fail<Error>>;
/**

@@ -71,5 +71,5 @@ * Run a callback and wrap any thrown error in Err<unknown>

*/
function runOrDoubleWrapSync<F extends Result.Infer<F>>(callback: () => F, times?: TimesInit): F | Fail<Catched>;
function runOrDoubleWrapSync<F extends Result.Infer<F>>(callback: () => F, times?: TimesInit): F | Fail<Error>;
}
export { Fetched, FetchedInit };
{
"type": "module",
"name": "@hazae41/glacier",
"version": "2.0.12",
"version": "2.0.13",
"author": "hazae41",

@@ -30,4 +30,4 @@ "license": "MIT",

"@hazae41/option": "^1.0.27",
"@hazae41/plume": "^2.2.3",
"@hazae41/result": "^1.1.16"
"@hazae41/plume": "^2.4.1",
"@hazae41/result": "^1.2.0"
},

@@ -40,9 +40,9 @@ "peerDependencies": {

"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^20.11.16",
"@types/react": "^18.2.55",
"@types/node": "^20.11.25",
"@types/react": "^18.2.64",
"rimraf": "^5.0.5",
"rollup": "^4.9.6",
"rollup": "^4.12.1",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-node-externals": "^7.0.1",
"typescript": "^5.3.3"
"typescript": "^5.4.2"
},

@@ -49,0 +49,0 @@ "exports": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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