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

aliq

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aliq - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

12

index.d.ts

@@ -13,7 +13,7 @@ export interface Const<T> {

}
export interface GroupBy<T, K, V> {
export interface GroupBy<T, I> {
readonly type: "groupBy";
readonly input: Bag<[K, V]>;
readonly reduce: (a: V, b: V) => V;
readonly flatMap: (v: [K, V]) => Iterable<T>;
readonly input: Bag<[string, I]>;
readonly reduce: (a: I, b: I) => I;
readonly flatMap: (v: [string, I]) => Iterable<T>;
}

@@ -30,8 +30,8 @@ export interface Product<T, A, B> {

}
export declare type Bag<T> = Const<T> | ExternalInput<T> | FlatMap<T, any> | GroupBy<T, any, any> | Product<T, any, any> | Merge<T>;
export declare type Bag<T> = Const<T> | ExternalInput<T> | FlatMap<T, any> | GroupBy<T, any> | Product<T, any, any> | Merge<T>;
export declare function const_<T>(value: T): Const<T>;
export declare function externalInput<T>(): ExternalInput<T>;
export declare function flatMap<T, I>(input: Bag<I>, func: (v: I) => Iterable<T>): FlatMap<T, I>;
export declare function groupBy<T, K, V>(input: Bag<[K, V]>, reduce: (a: V, b: V) => V, flatMap: (v: [K, V]) => Iterable<T>): GroupBy<T, K, V>;
export declare function groupBy<T, I>(input: Bag<[string, I]>, reduce: (a: I, b: I) => I, flatMap: (v: [string, I]) => Iterable<T>): GroupBy<T, I>;
export declare function product<T, A, B>(inputA: Bag<A>, inputB: Bag<B>, func: (a: A, b: B) => Iterable<T>): Product<T, A, B>;
export declare function merge<T>(input: Bag<T>[]): Merge<T>;
{
"name": "aliq",
"version": "0.0.4",
"version": "0.0.5",
"description": "ALIQ (Abstract Language Integrated Query) for JavaScript and TypeScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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