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

@thi.ng/api

Package Overview
Dependencies
Maintainers
0
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/api - npm Package Compare versions

Comparing version 8.11.2 to 8.11.3

9

CHANGELOG.md
# Change Log
- **Last updated**: 2024-05-08T18:24:31Z
- **Last updated**: 2024-06-21T19:34:38Z
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)

@@ -12,2 +12,9 @@

### [8.11.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.11.3) (2024-06-21)
#### ♻️ Refactoring
- rename various rest args to be more semantically meaningful ([8088a56](https://github.com/thi-ng/umbrella/commit/8088a56))
- enforce uniform naming convention of internal functions ([56992b2](https://github.com/thi-ng/umbrella/commit/56992b2))
## [8.11.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/api@8.11.0) (2024-04-20)

@@ -14,0 +21,0 @@

24

fn.d.ts

@@ -45,20 +45,20 @@ /**

export type Fn10<A, B, C, D, E, F, G, H, I, J, K> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J) => K;
export type FnO<A, B> = (a: A, ...xs: any[]) => B;
export type FnO2<A, B, C> = (a: A, b: B, ...xs: any[]) => C;
export type FnO3<A, B, C, D> = (a: A, b: B, c: C, ...xs: any[]) => D;
export type FnO4<A, B, C, D, E> = (a: A, b: B, c: C, d: D, ...xs: any[]) => E;
export type FnO5<A, B, C, D, E, F> = (a: A, b: B, c: C, d: D, e: E, ...xs: any[]) => F;
export type FnO6<A, B, C, D, E, F, G> = (a: A, b: B, c: C, d: D, e: E, f: F, ...xs: any[]) => G;
export type FnO7<A, B, C, D, E, F, G, H> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, ...xs: any[]) => H;
export type FnO8<A, B, C, D, E, F, G, H, I> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, ...xs: any[]) => I;
export type FnO9<A, B, C, D, E, F, G, H, I, J> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, ...xs: any[]) => J;
export type FnO10<A, B, C, D, E, F, G, H, I, J, K> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, ...xs: any[]) => K;
export type FnO<A, B> = (a: A, ...args: any[]) => B;
export type FnO2<A, B, C> = (a: A, b: B, ...args: any[]) => C;
export type FnO3<A, B, C, D> = (a: A, b: B, c: C, ...args: any[]) => D;
export type FnO4<A, B, C, D, E> = (a: A, b: B, c: C, d: D, ...args: any[]) => E;
export type FnO5<A, B, C, D, E, F> = (a: A, b: B, c: C, d: D, e: E, ...args: any[]) => F;
export type FnO6<A, B, C, D, E, F, G> = (a: A, b: B, c: C, d: D, e: E, f: F, ...args: any[]) => G;
export type FnO7<A, B, C, D, E, F, G, H> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, ...args: any[]) => H;
export type FnO8<A, B, C, D, E, F, G, H, I> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, ...args: any[]) => I;
export type FnO9<A, B, C, D, E, F, G, H, I, J> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, ...args: any[]) => J;
export type FnO10<A, B, C, D, E, F, G, H, I, J, K> = (a: A, b: B, c: C, d: D, e: E, f: F, g: G, h: H, i: I, j: J, ...args: any[]) => K;
/**
* An untyped vararg arg function to type T.
*/
export type FnAny<T> = (...xs: any[]) => T;
export type FnAny<T> = (...args: any[]) => T;
/**
* A typed vararg arg function from A to B.
*/
export type FnAnyT<A, B> = (...xs: A[]) => B;
export type FnAnyT<A, B> = (...args: A[]) => B;
/**

@@ -65,0 +65,0 @@ * 1-arg function with arg of type A and return type B (defaults

@@ -10,6 +10,6 @@ export interface IToHiccup {

* @param attribs - user attribs
* @param xs - additional args
* @param args - additional args
*/
toHiccup(ctx?: any, attribs?: any, ...xs: any[]): any;
toHiccup(ctx?: any, attribs?: any, ...args: any[]): any;
}
//# sourceMappingURL=hiccup.d.ts.map

@@ -59,3 +59,3 @@ import { mixin } from "../mixin.js";

order() {
return strideOrder(this.stride);
return __strideOrder(this.stride);
},

@@ -89,3 +89,3 @@ includes(x, y, z) {

order() {
return strideOrder(this.stride);
return __strideOrder(this.stride);
},

@@ -117,3 +117,3 @@ includes(x, y, z, w) {

});
const strideOrder = (strides) => [...strides].map((x, i) => [x, i]).sort((a, b) => Math.abs(b[0]) - Math.abs(a[0])).map((x) => x[1]);
const __strideOrder = (strides) => [...strides].map((x, i) => [x, i]).sort((a, b) => Math.abs(b[0]) - Math.abs(a[0])).map((x) => x[1]);
export {

@@ -120,0 +120,0 @@ IGrid1DMixin,

{
"name": "@thi.ng/api",
"version": "8.11.2",
"version": "8.11.3",
"description": "Common, generic types, interfaces & mixins",

@@ -13,3 +13,3 @@ "type": "module",

},
"homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/api#readme",
"homepage": "https://thi.ng/api",
"funding": [

@@ -43,6 +43,6 @@ {

"devDependencies": {
"@microsoft/api-extractor": "^7.43.2",
"esbuild": "^0.21.1",
"@microsoft/api-extractor": "^7.47.0",
"esbuild": "^0.21.5",
"typedoc": "^0.25.13",
"typescript": "^5.4.5"
"typescript": "^5.5.2"
},

@@ -233,3 +233,3 @@ "keywords": [

},
"gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
"gitHead": "154c95cf9d6bab32174498ec3b5b5d87e42be7f9\n"
}

@@ -10,3 +10,3 @@ <!-- This file is generated - DO NOT EDIT! -->

> [!NOTE]
> This is one of 192 standalone projects, maintained as part
> This is one of 193 standalone projects, maintained as part
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo

@@ -13,0 +13,0 @@ > and anti-framework.

@@ -91,5 +91,5 @@ var GLType = /* @__PURE__ */ ((GLType2) => {

const sizeOf = (type) => SIZEOF[type] || SIZEOF[asNativeType(type)];
function typedArray(type, ...xs) {
function typedArray(type, ...args) {
const ctor = BIGINT_ARRAY_CTORS[type];
return new (ctor || TYPEDARRAY_CTORS[asNativeType(type)])(...xs);
return new (ctor || TYPEDARRAY_CTORS[asNativeType(type)])(...args);
}

@@ -96,0 +96,0 @@ function typedArrayOfVec(type, data, stride) {

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