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

redash

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redash - npm Package Compare versions

Comparing version 0.20.0 to 0.20.1

5

CHANGELOG.md

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

## v0.20.1
### Improvements
* Improved TypeScript definitions
## v0.20.0

@@ -2,0 +7,0 @@

87

index.d.ts
declare namespace Redash {
type Key = string | number | boolean
type List<T> = Array<T>
type Functor<T> = List<T>
type Filterable<T> = List<T> | Object

@@ -16,9 +19,14 @@ interface API {

append (...args: Array<any>): any
append<T> (value: T, xs: Array<T>): Array<T>
append<T> (value: T): (xs: Array<T>) => Array<T>
assoc (...args: Array<any>): any
assoc<T> (key: Key, value: any, target: T): T
assoc<T> (key: Key, value: any): (target: T) => T
assoc<T> (key: Key): (value: any) => (target: T) => T
chain (...args: Array<any>): any
clamp (...args: Array<any>): any
clamp (lower: number, upper: number, value: number): number
clamp (lower: number, upper: number): (value: number) => number
clamp (lower: number): (upper: number) => (value: number) => number

@@ -31,3 +39,4 @@ compact<T> (xs: Array<T>): Array<T>

concat (...args: Array<any>): any
concat<T> (as: Array<T>, bs: Array<T>): Array<T>
concat<T> (as: Array<T>): (bs: Array<T>) => Array<T>

@@ -45,3 +54,4 @@ cond (...args: Array<any>): any

dissoc (...args: Array<any>): any
dissoc<T> (key: Key, target: T): T
dissoc<T> (key: Key): (target: T) => T

@@ -54,5 +64,7 @@ divide (a: number, b: number): number

dropUntil (...args: Array<any>): any
dropUntil<T> (predicate: (x: T) => boolean, xs: List<T>): List<T>
dropUntil<T> (predicate: (x: T) => boolean): (xs: List<T>) => List<T>
dropWhile (...args: Array<any>): any
dropWhile<T> (predicate: (x: T) => boolean, xs: List<T>): List<T>
dropWhile<T> (predicate: (x: T) => boolean): (xs: List<T>) => List<T>

@@ -66,13 +78,17 @@ empty<T> (x: T): T

filter (...args: Array<any>): any
filter<T> (predicate: (x: T) => boolean, xs: Filterable<T>): Filterable<T>
filter<T> (predicate: (x: T) => boolean): (xs: Filterable<T>) => Filterable<T>
find (...args: Array<any>): any
find<T> (predicate: (x: T) => boolean, xs: List<T>): T | undefined
find<T> (predicate: (x: T) => boolean): (xs: List<T>) => T | undefined
findIndex (...args: Array<any>): any
findIndex<T> (predicate: (x: T) => boolean, xs: List<T>): number
findIndex<T> (predicate: (x: T) => boolean): (xs: List<T>) => number
findLast (...args: Array<any>): any
findLast<T> (predicate: (x: T) => boolean, xs: List<T>): T | undefined
findLast<T> (predicate: (x: T) => boolean): (xs: List<T>) => T | undefined
flatten<T> (xs: Array<any>): Array<any>
flattenDeep (...args: Array<any>): Array<any>
flattenDeep (xs: Array<any>): Array<any>

@@ -88,3 +104,6 @@ flip (...args: Array<any>): any

get (...args: Array<any>): any
get (key: string, target: Object): any
get (key: string): (target: Object) => any
get<T> (key: number, target: List<T>): T
get<T> (key: number): (target: List<T>) => T

@@ -120,3 +139,4 @@ getEq (...args: Array<any>): any

intersection (...args: Array<any>): any
intersection<T> (as: List<T>, bs: List<T>): List<T>
intersection<T> (as: List<T>): (bs: List<T>) => List<T>

@@ -131,3 +151,4 @@ isEmpty (x: any): boolean

isType (...args: Array<any>): any
isType (type: string | Object, value: any): boolean
isType (type: string | Object): (value: any) => boolean

@@ -154,7 +175,9 @@ join (...args: Array<any>): any

map (...args: Array<any>): any
map<A, B> (fn: (a: A) => B, as: Functor<A>): Functor<B>
map<A, B> (fn: (a: A) => B): (as: Functor<A>) => Functor<B>
mapi (...args: Array<any>): any
mapKeys (...args: Array<any>): any
mapKeys (fn: (key: string) => Key, target: Object): Object
mapKeys (fn: (key: string) => Key): (target: Object) => Object

@@ -187,3 +210,3 @@ match (...args: Array<any>): any

partition (...args: Array<any>): any
partition<T> (fn: (x: T) => boolean, xs: List<T>): [T[], T[]]

@@ -201,13 +224,20 @@ pick (...args: Array<any>): any

reduce (...args: Array<any>): any
reduce<T, ACC> (reducer: (acc: ACC, x: T) => ACC, acc: ACC, xs: List<T>): ACC
reduce<T, ACC> (reducer: (acc: ACC, x: T) => ACC, acc: ACC): (xs: List<T>) => ACC
reduce<T, ACC> (reducer: (acc: ACC, x: T) => ACC): (acc: ACC) => (xs: List<T>) => ACC
reduceRight (...args: Array<any>): any
reject (...args: Array<any>): any
reject<T> (predicate: (x: T) => boolean, xs: Filterable<T>): Filterable<T>
reject<T> (predicate: (x: T) => boolean): (xs: Filterable<T>) => Filterable<T>
replace (...args: Array<any>): any
replace (match: string | RegExp, replacement: string, target: string): string
replace (match: string | RegExp, replacement: string): (target: string) => string
replace (match: string | RegExp): (replacement: string) => (target: string) => string
reverse (...args: Array<any>): any
reverse<T> (xs: List<T>): Array<T>
scan (...args: Array<any>): any
scan<T, ACC> (reducer: (acc: ACC, x: T) => ACC, acc: ACC, xs: List<T>): Array<ACC>
scan<T, ACC> (reducer: (acc: ACC, x: T) => ACC, acc: ACC): (xs: List<T>) => Array<ACC>
scan<T, ACC> (reducer: (acc: ACC, x: T) => ACC): (acc: ACC) => (xs: List<T>) => Array<ACC>

@@ -235,5 +265,6 @@ set (...args: Array<any>): any

tap (...args: Array<any>): any
tap<T> (fn: (...args: any[]) => T): (...args: any[]) => T
test (...args: Array<any>): any
test (pattern: RegExp, target: string): boolean
test (pattern: RegExp): (target: string) => boolean

@@ -265,3 +296,3 @@ times<T> (fn: (n: number) => T, n: number): Array<T>

values (...args: Array<any>): any
values (obj: Object): Array<string>

@@ -274,3 +305,4 @@ view (...args: Array<any>): any

without (...args: Array<any>): any
without<T> (x: T, xs: List<T>): List<T>
without<T> (x: T): (xs: List<T>) => List<T>

@@ -287,2 +319,1 @@ zip<A, B> (as: Array<A>, bs: Array<B>): Array<[A, B]>

export = R
{
"name": "redash",
"version": "0.20.0",
"version": "0.20.1",
"description": "A better Standard Library for JavaScript",

@@ -5,0 +5,0 @@ "main": "redash.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