New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hazae41/glacier

Package Overview
Dependencies
Maintainers
0
Versions
75
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.2.0 to 2.2.1

8

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

@@ -5,3 +5,3 @@ import { Ok, Err, Result } from '@hazae41/result';

import { FailInit, Fail } from './fail.js';
import { Timed, Cached, TimedInit, CachedInit } from './times.js';
import { TimedInit, CachedInit } from './times.js';

@@ -16,5 +16,5 @@ type FetchedInit<D, F> = DataInit<D> | FailInit<F>;

function from<T extends FetchedInit.Infer<T>>(init: T): Fetched<DataInit.Inner<T>, FailInit.Inner<T>>;
function rewrap<T extends Ok.Infer<T>>(result: T & Timed & Cached, init?: TimedInit & CachedInit): Data<Ok.Inner<T>>;
function rewrap<T extends Err.Infer<T>>(result: T & Timed & Cached, init?: TimedInit & CachedInit): Fail<Err.Inner<T>>;
function rewrap<T extends Result.Infer<T>>(result: T & Timed & Cached, init?: TimedInit & CachedInit): Fetched<Ok.Inner<T>, Err.Inner<T>>;
function rewrap<T extends Ok.Infer<T>>(result: T & TimedInit & CachedInit, init?: TimedInit & CachedInit): Data<Ok.Inner<T>>;
function rewrap<T extends Err.Infer<T>>(result: T & TimedInit & CachedInit, init?: TimedInit & CachedInit): Fail<Err.Inner<T>>;
function rewrap<T extends Result.Infer<T>>(result: T & TimedInit & CachedInit, init?: TimedInit & CachedInit): Fetched<Ok.Inner<T>, Err.Inner<T>>;
/**

@@ -21,0 +21,0 @@ * Run a callback and wrap any returned value in Ok<T> and any thrown error in Err<unknown>

{
"type": "module",
"name": "@hazae41/glacier",
"version": "2.2.0",
"version": "2.2.1",
"author": "hazae41",

@@ -6,0 +6,0 @@ "license": "MIT",

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