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

@getlang/utils

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getlang/utils - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

dist/errors.d.ts

3

dist/index.d.ts

@@ -0,3 +1,6 @@

export * from './scope';
export * from './errors';
export * from './types';
export type MaybePromise<T> = T | Promise<T>;
export declare function wait<V, X>(value: MaybePromise<V>, then: (value: V) => X): MaybePromise<X>;
export declare function waitMap<V, X>(values: V[], mapper: (value: V) => MaybePromise<X>): MaybePromise<X[]>;

@@ -0,1 +1,4 @@

export * from './scope';
export * from './errors';
export * from './types';
export function wait(value, then) {

@@ -2,0 +5,0 @@ return value instanceof Promise ? value.then(then) : then(value);

9

package.json
{
"name": "@getlang/utils",
"version": "0.0.7",
"version": "0.0.8",
"license": "Apache-2.0",
"type": "module",
"main": "dist",
"files": ["dist"],
"files": [
"dist"
],
"bugs": {

@@ -15,3 +17,4 @@ "url": "https://github.com/getlang-dev/get/issues"

"directory": "packages/utils"
}
},
"homepage": "https://getlang.dev"
}
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