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

rambda

Package Overview
Dependencies
Maintainers
1
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rambda - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

10

index.d.ts

@@ -18,2 +18,3 @@ declare let R: R.Static

type MapFunction<In, Out> = (x: In, prop?: string) => Out
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>

@@ -364,5 +365,10 @@ interface MapInterface<T> {

omit<T>(names: string[] | string, obj: T): T
omit(names: string[] | string): <T>(obj: T) => T
omit<T, K extends Array<keyof T>>(names: K, obj: T): Omit<T, K[number]>
omit<T, K extends keyof T>(name: K, obj: T): Omit<T, K>
omit<T, K extends Array<keyof T>>(names: K): (obj: T) => Omit<T, K[number]>
omit<T, K extends keyof T>(name: K): (obj: T) => Omit<T, K>
partialCurry<Out>(

@@ -369,0 +375,0 @@ fn: (input: Dictionary<any>) => Out,

8

package.json
{
"name": "rambda",
"version": "1.2.4",
"version": "1.2.5",
"description": "Lightweight faster alternative to Ramda",

@@ -69,3 +69,7 @@ "main": "./dist/rambda.js",

],
"workInProgress": ""
"workInProgress": "",
"docs": [
"docsify",
"repl"
]
},

@@ -72,0 +76,0 @@ "files": [

@@ -66,3 +66,3 @@ [![CircleCI](https://circleci.com/gh/selfrefactor/rambda/tree/master.svg?style=svg)](https://circleci.com/gh/selfrefactor/rambda/tree/master)

```
https://unpkg.com/rambda@1.2.3/dist/rambda.umd.js
https://unpkg.com/rambda@1.2.4/dist/rambda.umd.js
```

@@ -798,24 +798,2 @@

---
#### join
> join(separator: string, arr: T[]): string
```
R.join('-', [1, 2, 3]) // => '1-2-3'
```
[Source](https://github.com/selfrefactor/rambda/tree/master/modules/join.js)
<a href="https://rambda.now.sh?const%20result%20%3D%20R.join('-'%2C%20%5B1%2C%202%2C%203%5D)%20%20%2F%2F%20%3D%3E%20'1-2-3'">Try in REPL</a>
---
#### keys
> keys(x: Object): string[]
```
R.keys({a:1, b:2}) // => ['a', 'b']
```
---
#### is

@@ -832,6 +810,2 @@

[Source](https://github.com/selfrefactor/rambda/tree/master/modules/is.js)
<a href="https://rambda.now.sh?const%20result%20%3D%20R.is(String%2C%20'foo')%20%20%2F%2F%20%3D%3E%20true%0AR.is(Array%2C%201)%20%20%2F%2F%20%3D%3E%20false">Try in REPL</a>
---

@@ -854,2 +828,24 @@ #### isNil

---
#### join
> join(separator: string, arr: T[]): string
```
R.join('-', [1, 2, 3]) // => '1-2-3'
```
[Source](https://github.com/selfrefactor/rambda/tree/master/modules/join.js)
<a href="https://rambda.now.sh?const%20result%20%3D%20R.join('-'%2C%20%5B1%2C%202%2C%203%5D)%20%20%2F%2F%20%3D%3E%20'1-2-3'">Try in REPL</a>
---
#### keys
> keys(x: Object): string[]
```
R.keys({a:1, b:2}) // => ['a', 'b']
```
---
#### last

@@ -1710,3 +1706,4 @@

- 1.2.3 Add missing Typescript definitions - [PR#82](https://github.com/selfrefactor/rambda/pull/82)
- 1.2.4 Add missing Typescript definitions - [PR#82](https://github.com/selfrefactor/rambda/pull/82)
- 1.2.3 Doesn't exist because NPM is great at handling errors.
- 1.2.2 Change curry method used across most of library methods

@@ -1713,0 +1710,0 @@ - 1.2.1 Add `R.assoc` | fix passing `undefined` to `R.map` and `R.merge` [issue #77](https://github.com/selfrefactor/rambda/issues/77)

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