elv-js-helpers

A collection of Javascript helper functions used by several Eluvio libraries

MIT License

Downloads
148
Stars
0
Committers
1
elv-js-helpers - Adds new functions, fixes circular dependency in main.js, updates docs

Published by eponymous301 over 2 years ago

  • Add new functions:
    • _assertNotEmpty
    • defArrModel
    • defBasicModel
    • defNonEmptyArrModel
    • kindOf
    • isFunction
    • isObject
    • isString
    • Add isObject pre-check to defCheckedKVObjModel
  • Change _assertWithPrecheck to accept a preCheck function instead of a model for greater flexibility. Also change to accept either a string or a function for error message
  • Add more unit tests
  • Fix circular dependency in main.js
  • Change {Any} to {*} in JSDoc comments
  • Update and regenerate docs

https://github.com/eluv-io/elv-js-helpers/compare/v3.1.2...v3.2.0

elv-js-helpers - Various minor changes

Published by eponymous301 over 2 years ago

  • Add new function dumpJSON
  • Replace passthrough function for Result with separate ones for Err and Ok
  • Add errorDetails field resultToPOJO return value, to hold additional information such as the original error objects that error message strings were obtained from
  • Modify validator to return original error object (with toString method added) instead of just the validation error message
  • Add more documentation
  • Add several more unit tests
  • Regenerate docs

https://github.com/eluv-io/elv-js-helpers/compare/v3.1.1...v3.1.2

elv-js-helpers - Bug fixes

Published by eponymous301 over 2 years ago

  • Fix bug in resultToPOJO handling of error messages
  • Fix bug in package.json build:analyze script

https://github.com/eluv-io/elv-js-helpers/compare/v3.1.0...v3.1.1

elv-js-helpers - Add pass-through exports for Crocks functions to help reduce package size for dependents

Published by eponymous301 over 2 years ago

  • Add pass-through exports for Crocks functions:
    • curry
    • fromPairs
    • liftA2
    • List
    • Pair
    • Result
    • toPairs

https://github.com/eluv-io/elv-js-helpers/compare/v3.0.1...v3.1.0

elv-js-helpers - Changes to reduce package size

Published by eponymous301 over 2 years ago

  • Rebuild docs
  • Add function addSeconds
  • Add function format
  • Add function utcStrToDate
  • Change _toLocaleString to take 2 arguments
  • Remove dependency on luxon, replace with date-and-time
  • Remove dependency on node:util
  • Change webpack.config.js mode to production
  • Rename entry point from index.js to main.js
  • Update README.md
  • Rebuild docs
  • Add basic test HTML file
  • Add SwitchCase indent rule to .eslintrc.js
  • trim unneeded entries from .npmignore

https://github.com/eluv-io/elv-js-helpers/compare/v3.0.0...v3.0.1

elv-js-helpers - Breaking change - renames estTotalDuration, adds currying to several functions

Published by eponymous301 over 2 years ago

  • Update dependencies, remove buble
  • Edit and rebuild docs
  • Remove @since tags
  • Add optional errMsg arg to assertMatchesRegex.js and defRegexMatchedStrModel.js
  • Add assocComputed.js
  • Add liftA2Join.js
  • Add listPush.js
  • Add mapWithIndex.js
  • Make validator a curried function
  • Make _satisfiesObjValCheck a curried function
  • Implement estRemainingDur.js
  • Rename estTotalDuration to estTotalDur e2e5df9

https://github.com/eluv-io/elv-js-helpers/compare/v2.0.3...v3.0.0

elv-js-helpers - Fix build/release scripts

Published by eponymous301 over 2 years ago

elv-js-helpers - Add defCheckedKVObjModel

Published by eponymous301 over 2 years ago

  • Add defCheckedKVObjModel.js + internal functions used by it Delete defMapModel.js Update docs d5c956a
  • Update elv-ramdoc Regenerate docs 1536588
  • Add pre-release notice to README and docs 1a57bcc

https://github.com/eluv-io/elv-js-helpers/compare/v2.0.0...v2.0.1

elv-js-helpers - Breaking change, renames several functions

Published by eponymous301 over 2 years ago

  • Update dependencies Add defMapModel.js Rename 'test.js' to 'checkVsModel.js' Rename 'assertValidUTCString' to 'assertValidUTCStr' Rename 'UTCTimestampStrModel.js' to 'UTCStrModel.js' Add @curried tags, additional documentation and examples Update docs ee491e9

https://github.com/eluv-io/elv-js-helpers/compare/v1.0.0...v2.0.0

elv-js-helpers - Breaking change, renames some functions.

Published by eponymous301 over 2 years ago

  • Add defObjectModel, defRegexMatchedStrModel, defSealedObjModel, NonBlankStrModel, NonNegativeIntModel, StringModel, UTCTimestampStrModel Rename functions to improve clarity and succinctness Add dependency-cruiser and build:analyze npm script Update docs 1736c95
  • Add DatetimeModel.js Update docs 5e90578

https://github.com/eluv-io/elv-js-helpers/compare/v0.0.6...v1.0.0

elv-js-helpers - Add new mmodels

Published by eponymous301 over 2 years ago

  • Update docs 7eff2c5
    • Add new models * BoundedIntegerModel.js * IntegerModel.js * PositiveIntegerModel.js * Add more unit tests * Fix/revise some JSDoc comments f3fd9f0
  • Update README.md Update dependencies Rebuild docs 5a9946f

https://github.com/eluv-io/elv-js-helpers/compare/v0.0.5...v0.0.6

elv-js-helpers - Update dependency and docs

Published by eponymous301 over 2 years ago

elv-js-helpers - Updates to publish workflow

Published by eponymous301 over 2 years ago

  • Workaround for np bug https://github.com/sindresorhus/np/issues/604 38aa7ae
  • Fix release script 2cfa1f1
  • Fix release script 157685f
  • Fix release script 2c99ed1
  • Fix version script e63ef65
  • Fix version script 75d7712
  • Update docs dde530a
  • Fix version script 8b29a80
  • Fix version script 1c51056
  • Update elv-ramdoc Update package scripts 917dbd9

https://github.com/eluv-io/elv-js-helpers/compare/v0.0.3...v0.0.4

elv-js-helpers - Fixes to release scripts

Published by eponymous301 over 2 years ago

  • Add np to devDependencies Add release script 1c5cf15
  • Update dependencies Add npm-check-updates to devDependencies Rebuild docs 1412b28

https://github.com/eluv-io/elv-js-helpers/compare/v0.0.2...v0.0.3

elv-js-helpers - Bugfixes to documentation publishing

Published by eponymous301 over 2 years ago

  • Tweak .jsdoc.json Tweak index.html to force git add c16d42e
  • Update docs 5715b2a
  • Update package.json scripts 0f57ed0
  • Change Ramda imports to pull in only needed files. Extract JSDoc template into separate package (@eluvio/elv-ramdoc) Rebuild docs with elv-ramdoc. Add webpack bundle analyzer. b0a50ac
  • Add build scripts to create package Add .npmignore file Add MIT license file Expand README.md 'Usage' section 74495fe
  • Add 'sideEffects: false' to package.json 3b71e61
  • Remove old docdash config Remove use of lessc --autoprefix Remove handlebars dependency Update less version Remove less plugins Rebuild style.css 1ced6fd
  • Move index.js to ./src 8040368
  • Update API documentation link in README.md f0d4dc8

https://github.com/eluv-io/elv-js-helpers/compare/1570e42dda059a60b2cdffecc3bf76112a8bbbba...v0.0.2

Package Rankings
Top 12.27% on Npmjs.org
Related Projects