Comparing version 3.0.0 to 3.1.0
{ | ||
"name": "omnibelt", | ||
"description": "A utility belt that normalizes and wraps `Ramda` and `Lodash/FP`.", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"license": "MIT", | ||
@@ -37,5 +37,4 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@rjhilgefort/export-dir": "^2.0.0", | ||
"lodash": "^4.17.21", | ||
"ramda": "^0.28.0", | ||
"ramda": "^0.29.0", | ||
"string-format": "^2.0.0", | ||
@@ -45,11 +44,11 @@ "stringify-object": "^3.3.0" | ||
"devDependencies": { | ||
"@losant/eslint-config-losant": "1.5.0", | ||
"docdash": "^1.2.0", | ||
"expect": "^29.3.1", | ||
"fs-extra": "^10.1.0", | ||
"@losant/eslint-config-losant": "^1.6.1", | ||
"docdash": "^2.0.1", | ||
"expect": "^29.5.0", | ||
"fs-extra": "^11.1.1", | ||
"handlebars": "^4.7.7", | ||
"husky": "^8.0.2", | ||
"jest": "^29.3.1", | ||
"jsdoc": "^4.0.0", | ||
"lint-staged": "^13.0.3", | ||
"husky": "^8.0.3", | ||
"jest": "^29.5.0", | ||
"jsdoc": "^4.0.2", | ||
"lint-staged": "^13.2.1", | ||
"present": "^1.0.0", | ||
@@ -56,0 +55,0 @@ "taffydb": "^2.7.3", |
@@ -104,3 +104,6 @@ # Omnibelt | ||
- `3.1.0` | ||
- bumped .node-version to `18.16.0` | ||
- bumped ramda to `0.29.0` (note in this version of ramda they release a function called `isNotNil`, omnibelt has a `isNotNil` function already so that ramda function is not included in this library) | ||
- bumped various dev dependencies | ||
- `3.0.0` | ||
@@ -107,0 +110,0 @@ - bumped .node-version to `16.17.1` |
@@ -1,6 +0,68 @@ | ||
const fromFiles = require('@rjhilgefort/export-dir/src/from-files'); | ||
/** | ||
* @module omnibelt | ||
*/ | ||
module.exports = fromFiles(null, __dirname); | ||
module.exports = { | ||
stringToBoolean: require('./string-to-boolean'), | ||
containsAll: require('./contains-all'), | ||
stringify: require('./stringify'), | ||
clampPositive: require('./clamp-positive'), | ||
isPopulatedString: require('./is-populated-string'), | ||
eqDotPathsShallow: require('./eq-dot-paths-shallow'), | ||
mergeWithArrays: require('./merge-with-arrays'), | ||
testHarnessUnary: require('./test-harness-unary'), | ||
keyByWith: require('./key-by-with'), | ||
ensureArray: require('./ensure-array'), | ||
testCases: require('./test-cases'), | ||
format: require('./format'), | ||
mergeSpec: require('./merge-spec'), | ||
within: require('./within'), | ||
equalsShallow: require('./equals-shallow'), | ||
filterMap: require('./filter-map'), | ||
forEachSerialP: require('./for-each-serial-p'), | ||
equalsAny: require('./equals-any'), | ||
ensureStartsWith: require('./ensure-starts-with'), | ||
propOrStrict: require('./prop-or-strict'), | ||
defaultToStrict: require('./default-to-strict'), | ||
trace: require('./trace'), | ||
intersectAny: require('./intersect-any'), | ||
replaceAll: require('./replace-all'), | ||
mapIndexed: require('./map-indexed'), | ||
jsonParseSafe: require('./json-parse-safe'), | ||
mapFilter: require('./map-filter'), | ||
testHarness: require('./test-harness'), | ||
throttleTrailing: require('./throttle-trailing'), | ||
list: require('./list'), | ||
ensureEndsWith: require('./ensure-ends-with'), | ||
mapParallelLimitP: require('./map-parallel-limit-p'), | ||
isNotEmpty: require('./is-not-empty'), | ||
debounce: require('./debounce'), | ||
dotPath: require('./dot-path'), | ||
nonePass: require('./none-pass'), | ||
updateKeys: require('./update-keys'), | ||
containsAny: require('./contains-any'), | ||
count: require('./count'), | ||
mapRejectNil: require('./map-reject-nil'), | ||
noopAsync: require('./noop-async'), | ||
upperCamelCase: require('./upper-camel-case'), | ||
throttle: require('./throttle'), | ||
timeoutP: require('./timeout-p'), | ||
eqPaths: require('./eq-paths'), | ||
throttleLeading: require('./throttle-leading'), | ||
eqDotPaths: require('./eq-dot-paths'), | ||
tap: require('./tap'), | ||
mapSerialP: require('./map-serial-p'), | ||
tryCatchSafe: require('./try-catch-safe'), | ||
round: require('./round'), | ||
mapP: require('./map-p'), | ||
argsToObj: require('./args-to-obj'), | ||
dotPathOr: require('./dot-path-or'), | ||
updateKeysWith: require('./update-keys-with'), | ||
allSettledP: require('./all-settled-p'), | ||
isNotNil: require('./is-not-nil'), | ||
sleep: require('./sleep'), | ||
isNilOrEmpty: require('./is-nil-or-empty'), | ||
rejectNilMap: require('./reject-nil-map'), | ||
fpThrow: require('./fp-throw'), | ||
resolveProps: require('./resolve-props'), | ||
allEqual: require('./all-equal'), | ||
defer: require('./defer'), | ||
updateKeyPaths: require('./update-key-paths'), | ||
isNot: require('./is-not') | ||
}; |
@@ -30,4 +30,3 @@ const fs = require('fs-extra'); | ||
); | ||
expect(keys(index)).toEqual(funcs); | ||
expect(keys(index).sort()).toEqual(funcs.sort()); | ||
}); | ||
@@ -34,0 +33,0 @@ |
@@ -15,4 +15,4 @@ const complement = require('ramda/src/complement'); | ||
* @example | ||
* const isClub = propEq('suit', '♣'); | ||
* const isSpade = propEq('suit', '♠'); | ||
* const isClub = propEq('♣', 'suit'); | ||
* const isSpade = propEq('♠', 'suit'); | ||
* const isRedCard = nonePass([isClub, isSpade]); | ||
@@ -19,0 +19,0 @@ * |
@@ -16,3 +16,4 @@ const r = require('ramda'); | ||
'toUpper', | ||
'trim' | ||
'trim', | ||
'isNotNil' | ||
], r); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3757315
4
5438
319
+ Addedramda@0.29.1(transitive)
- Removed@rjhilgefort/export-dir@^2.0.0
- Removed@rjhilgefort/export-dir@2.0.0(transitive)
- Removedlodash.camelcase@4.3.0(transitive)
- Removedramda@0.27.20.28.0(transitive)
Updatedramda@^0.29.0