Socket
Socket
Sign inDemoInstall

@definitelytyped/utils

Package Overview
Dependencies
Maintainers
7
Versions
260
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@definitelytyped/utils - npm Package Compare versions

Comparing version 0.0.30-next.0 to 0.0.30-next.2

2

dist/async.d.ts

@@ -10,3 +10,3 @@ /** Progress options needed for `nAtATime`. Other options will be inferred. */

export declare function filterNAtATimeOrdered<T>(n: number, inputs: readonly T[], shouldKeep: (input: T) => Awaitable<boolean>, progress?: ProgressOptions<T, boolean>): Promise<T[]>;
export declare function logUncaughtErrors(promise: Promise<unknown> | (() => Promise<unknown>)): void;
export declare function logUncaughtErrors<T>(promise: Promise<T> | (() => Promise<T>)): Promise<T>;
export {};

@@ -52,4 +52,9 @@ "use strict";

function logUncaughtErrors(promise) {
(typeof promise === "function" ? promise() : promise).catch(error => {
console.error(error);
return (typeof promise === "function" ? promise() : promise).catch(error => {
if (error && error.stack) {
console.error(error.stack);
}
else {
console.error(error);
}
process.exit(1);

@@ -56,0 +61,0 @@ });

import { TypeScriptVersion } from "@definitelytyped/typescript-versions";
export declare type TsVersion = TypeScriptVersion | "next" | "local";
export declare type TsVersion = TypeScriptVersion | "local";
export declare function installAllTypeScriptVersions(): Promise<void>;

@@ -4,0 +4,0 @@ export declare function installTypeScriptNext(): Promise<void>;

{
"name": "@definitelytyped/utils",
"version": "0.0.30-next.0",
"version": "0.0.30-next.2",
"description": "Shared utilities for DefinitelyTyped tools",

@@ -40,3 +40,3 @@ "homepage": "https://github.com/DefinitelyTyped/tools#readme",

},
"gitHead": "15e8ac61e1a976b0f8ba7aefef110ca22cf3f9e0"
"gitHead": "4af87e4f646106587a3d4926311868ad4ca4d199"
}

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