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

@getlang/utils

Package Overview
Dependencies
Maintainers
1
Versions
10
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.1.2 to 0.1.3

6

CHANGELOG.md
# @getlang/utils
## 0.1.3
### Patch Changes
- [#28](https://github.com/getlang-dev/get/pull/28) [`f1bdc2c`](https://github.com/getlang-dev/get/commit/f1bdc2c8433a942f84503606790e8bcf4fb37477) Thanks [@mattfysh](https://github.com/mattfysh)! - page links
## 0.1.2

@@ -4,0 +10,0 @@

2

dist/hooks.d.ts
import type { MaybePromise } from './wait.js';
export type ImportHook = (module: string) => MaybePromise<string>;
export type CallHook = (module: string, inputs: Record<string, unknown>, raster: Record<string, unknown>, execute: () => Promise<any>) => Promise<any>;
export type RequestHook = (url: string, opts: RequestInit) => Promise<Response>;

@@ -9,2 +10,3 @@ export type SliceHook = (slice: string, context?: unknown, raw?: unknown) => MaybePromise<unknown>;

slice: SliceHook;
call: CallHook;
};

@@ -11,0 +13,0 @@ type RequestInit = {

2

package.json
{
"name": "@getlang/utils",
"version": "0.1.2",
"version": "0.1.3",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "type": "module",

import type { MaybePromise } from './wait.js'
export type ImportHook = (module: string) => MaybePromise<string>
export type CallHook = (
module: string,
inputs: Record<string, unknown>,
raster: Record<string, unknown>,
execute: () => Promise<any>,
) => Promise<any>
export type RequestHook = (url: string, opts: RequestInit) => Promise<Response>
export type SliceHook = (

@@ -15,2 +24,3 @@ slice: string,

slice: SliceHook
call: CallHook
}

@@ -17,0 +27,0 @@

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