@mathigon/core
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -27,3 +27,3 @@ /** Creates an array of size `n`, containing `value` at every entry. */ | ||
export declare function unique<T>(array: T[]): T[]; | ||
declare type Nested<T> = Array<T | Nested<T>>; | ||
type Nested<T> = Array<T | Nested<T>>; | ||
/** Flattens a nested array into a single list. */ | ||
@@ -45,3 +45,3 @@ export declare function flatten<T = unknown>(array: Nested<T>): T[]; | ||
export declare function toCSV(data: unknown[][]): string; | ||
declare type LinkedListItem<T> = { | ||
type LinkedListItem<T> = { | ||
val: T; | ||
@@ -63,3 +63,3 @@ prev: LinkedListItem<T>; | ||
} | ||
export declare type BinarySearchArray<T> = Array<{ | ||
export type BinarySearchArray<T> = Array<{ | ||
item: T; | ||
@@ -66,0 +66,0 @@ val: number; |
@@ -1,2 +0,2 @@ | ||
declare type EventCallback = (e: any) => void; | ||
type EventCallback = (e: any) => void; | ||
/** Base class for event management. */ | ||
@@ -3,0 +3,0 @@ export declare class EventTarget { |
/** Object Map Interface. */ | ||
export declare type Obj<T> = { | ||
export type Obj<T> = { | ||
[key: string]: T; | ||
@@ -4,0 +4,0 @@ }; |
{ | ||
"name": "@mathigon/core", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"license": "MIT", | ||
@@ -36,12 +36,12 @@ "homepage": "https://mathigon.io/core", | ||
"@types/tape": "4.13.2", | ||
"@typescript-eslint/eslint-plugin": "5.36.1", | ||
"@typescript-eslint/parser": "5.36.1", | ||
"esbuild": "0.15.6", | ||
"eslint": "8.22.0", | ||
"@typescript-eslint/eslint-plugin": "5.45.0", | ||
"@typescript-eslint/parser": "5.45.0", | ||
"esbuild": "0.15.16", | ||
"eslint": "8.28.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"tape": "5.6.0", | ||
"tape": "5.6.1", | ||
"ts-node": "10.9.1", | ||
"tslib": "2.4.0", | ||
"typescript": "4.8.2" | ||
"tslib": "2.4.1", | ||
"typescript": "4.9.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
180096