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 6.5.1 to 6.5.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

6.5.2
- Wrong `R.defaultTo` typings - changes introduced in v6.5.0 are missing their TS equivalent.
- Update dependencies
6.5.1

@@ -2,0 +8,0 @@

188

package.json
{
"name": "rambda",
"version": "6.5.1",
"scripts": {
"out": "cd ../rambda-scripts&&yarn populate:docs&&cd ../rambda-scripts&&yarn populate:readme",
"x": "cd ../rambda-scripts&&yarn populate:docs:rambdax&&cd ../rambda-scripts&&yarn populate:readme:rambdax",
"github": "cd ../rambda-scripts&&yarn github",
"docs": "cd ../rambda-scripts&&yarn highlighter",
"toolbelt": "cd ../rambda-scripts&&yarn toolbelt",
"immutable": "cd ../rambda-scripts&&yarn immutable",
"usedby": "cd ../rambda-scripts&&yarn usedby",
"lint": "cd ../rambda-scripts&&yarn lint",
"build": "yarn build:main&&yarn build:web&&yarn deps",
"build:web": "cross-env NODE_ENV=build rollup -c files/rollup.web.config.js",
"build:main": "cross-env NODE_ENV=build rollup -c files/rollup.config.js",
"parse": "cd ../rambda-scripts&&yarn hjson:parse",
"deps": "cd ../rambda-scripts&&yarn hjson:fix",
"docsify": "docsi init ./docs",
"new": "cd ../rambda-scripts&&yarn new",
"test": "jest source -u --bail=false",
"cover:spec": "jest source --coverage --no-cache -w 1",
"cover": "yarn typings&&yarn cover:spec",
"benchmark": "cd ../rambda-scripts&&yarn benchmarks",
"benchmarkx": "cd ../rambda-scripts&&yarn benchmarksx",
"typings": "dtslint --localTs ./node_modules/typescript/lib --expectOnly ./source",
"fix": "mkdir $HOME/.dts/perf -p"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "7.12.10",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/preset-env": "7.12.11",
"@rollup/plugin-babel": "5.2.2",
"@rollup/plugin-commonjs": "17.0.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.0.1",
"@rollup/plugin-replace": "2.3.4",
"@types/jest": "26.0.19",
"@types/ramda": "0.27.34",
"combinate": "1.1.1",
"cross-env": "7.0.3",
"dtslint": "4.0.6",
"helpers-fn": "1.3.2",
"is-ci": "2.0.0",
"jest": "27.0.0-next.2",
"jest-extended": "0.11.5",
"lodash": "4.17.20",
"rambdax": "7.1.0",
"ramda": "0.27.1",
"rollup": "2.35.1",
"rollup-plugin-cleanup": "3.2.1",
"rollup-plugin-sourcemaps": "0.6.3",
"typescript": "4.2.0-dev.20201211"
},
"jest": {
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.js$",
"setupFilesAfterEnv": [
"jest-extended"
],
"collectCoverageFrom": [
"source/*.js",
"!_internals",
"!benchmarks"
]
},
"files": [
"dist",
"src",
"_ts-toolbelt",
"CHANGELOG.md",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/selfrefactor/rambda.git"
},
"license": "MIT",
"author": "self_refactor",
"description": "Lightweight and faster alternative to Ramda",
"module": "./dist/rambda.esm.js",
"main": "./dist/rambda",
"umd": "./dist/rambda.umd.js",
"sideEffects": false,
"keywords": [
"ramda",
"fp",
"functional",
"utility",
"lodash"
],
"bugs": {
"url": "https://github.com/selfrefactor/rambda/issues"
},
"homepage": "https://github.com/selfrefactor/rambda#readme"
"name": "rambda",
"version": "6.5.2",
"scripts": {
"out": "cd ../rambda-scripts&&yarn populate:docs&&cd ../rambda-scripts&&yarn populate:readme",
"x": "cd ../rambda-scripts&&yarn populate:docs:rambdax&&cd ../rambda-scripts&&yarn populate:readme:rambdax",
"github": "cd ../rambda-scripts&&yarn github",
"docs": "cd ../rambda-scripts&&yarn highlighter",
"toolbelt": "cd ../rambda-scripts&&yarn toolbelt",
"immutable": "cd ../rambda-scripts&&yarn immutable",
"usedby": "cd ../rambda-scripts&&yarn usedby",
"lint": "cd ../rambda-scripts&&yarn lint",
"build": "yarn build:main&&yarn build:web&&yarn deps",
"build:web": "cross-env NODE_ENV=build rollup -c files/rollup.web.config.js",
"build:main": "cross-env NODE_ENV=build rollup -c files/rollup.config.js",
"parse": "cd ../rambda-scripts&&yarn hjson:parse",
"deps": "cd ../rambda-scripts&&yarn hjson:fix",
"docsify": "docsi init ./docs",
"new": "cd ../rambda-scripts&&yarn new",
"test": "jest source -u --bail=false",
"cover:spec": "jest source --coverage --no-cache -w 1",
"cover": "yarn typings&&yarn cover:spec",
"benchmark": "cd ../rambda-scripts&&yarn benchmarks",
"benchmarkx": "cd ../rambda-scripts&&yarn benchmarksx",
"typings": "dtslint --localTs ./node_modules/typescript/lib --expectOnly ./source",
"fix": "mkdir $HOME/.dts/perf -p"
},
"dependencies": {},
"devDependencies": {
"@babel/core": "7.12.10",
"@babel/plugin-proposal-object-rest-spread": "7.12.1",
"@babel/preset-env": "7.12.11",
"@rollup/plugin-babel": "5.2.2",
"@rollup/plugin-commonjs": "17.0.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "11.1.0",
"@rollup/plugin-replace": "2.3.4",
"@types/jest": "26.0.20",
"@types/ramda": "0.27.34",
"combinate": "1.1.2",
"cross-env": "7.0.3",
"dtslint": "4.0.6",
"helpers-fn": "1.3.2",
"is-ci": "2.0.0",
"jest": "26.6.3",
"jest-extended": "0.11.5",
"lodash": "4.17.20",
"rambdax": "7.1.0",
"ramda": "0.27.1",
"rollup": "2.36.2",
"rollup-plugin-cleanup": "3.2.1",
"rollup-plugin-sourcemaps": "0.6.3",
"typescript": "4.1.3"
},
"jest": {
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.js$",
"setupFilesAfterEnv": [
"jest-extended"
],
"collectCoverageFrom": [
"source/*.js",
"!_internals",
"!benchmarks"
]
},
"files": [
"dist",
"src",
"_ts-toolbelt",
"CHANGELOG.md",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/selfrefactor/rambda.git"
},
"license": "MIT",
"author": "self_refactor",
"description": "Lightweight and faster alternative to Ramda",
"module": "./dist/rambda.esm.js",
"main": "./dist/rambda",
"umd": "./dist/rambda.umd.js",
"sideEffects": false,
"keywords": [
"ramda",
"fp",
"functional",
"utility",
"lodash"
],
"bugs": {
"url": "https://github.com/selfrefactor/rambda/issues"
},
"homepage": "https://github.com/selfrefactor/rambda#readme"
}

@@ -96,3 +96,3 @@ function _curryN(

if(n> 10){
if (n > 10){
throw new Error('First argument to _arity must be a non-negative integer no greater than ten')

@@ -99,0 +99,0 @@ }

@@ -11,3 +11,3 @@ function isFalsy(input){

if (arguments.length === 1){
return (_input) =>
return _input =>
defaultTo(defaultArgument, _input)

@@ -14,0 +14,0 @@ }

@@ -1,2 +0,2 @@

import { _isArray } from './_internals/_isArray.js'
import { _isArray } from './_internals/_isArray'

@@ -3,0 +3,0 @@ export function dropLastWhile(predicate, iterable){

@@ -1,12 +0,14 @@

import { curry } from "./curry";
import { equals } from "./equals";
import { curry } from './curry'
import { equals } from './equals'
function eqPropsFn(prop, obj1, obj2) {
if(!obj1 || !obj2){
function eqPropsFn(
prop, obj1, obj2
){
if (!obj1 || !obj2){
throw new Error('wrong object inputs are passed to R.eqProps')
}
return equals(obj1[prop], obj2[prop])
return equals(obj1[ prop ], obj2[ prop ])
}
export const eqProps = curry(eqPropsFn)
export const eqProps = curry(eqPropsFn)

@@ -30,3 +30,3 @@ import { type } from './type'

}
if ([ 'NaN', 'Undefined', 'Null' ].includes(aType)) return true

@@ -33,0 +33,0 @@

@@ -16,3 +16,3 @@ export function pipe(...fns){

}
}
}
}

@@ -13,3 +13,3 @@ import { _isArray } from './_internals/_isArray'

if (!_isArray(input) && typeof input !== 'string') return [ [], [] ]
const correctIndex = maybe(

@@ -16,0 +16,0 @@ index < 0,

@@ -1,2 +0,2 @@

import { _isArray } from './_internals/_isArray.js'
import { _isArray } from './_internals/_isArray'

@@ -3,0 +3,0 @@ export function takeLastWhile(predicate, input){

@@ -9,9 +9,9 @@ import { isFunction } from './isFunction'

return (...inputs) => {
try {
return fn(...inputs)
} catch (e){
return passFallback ? fallback(e, ...inputs) : fallback
}
return (...inputs) => {
try {
return fn(...inputs)
} catch (e){
return passFallback ? fallback(e, ...inputs) : fallback
}
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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