bellajs

Lightweight util for your Node.js and browser apps

MIT License

Downloads
50.6K
Stars
11

Bot releases are visible (Hide)

bellajs - v11.2.0 Latest Release

Published by ndaidong 5 months ago

  • Stop building cjs version
  • Use webcrypto to generate random values
  • Update slugify function
  • Update eslint config
bellajs - v11.1.3

Published by ndaidong 8 months ago

  • Update deps
  • Remove support node < 18
  • Update CI config
  • Add tea.yaml
bellajs - v11.1.2

Published by ndaidong over 1 year ago

  • change coding style (remove standardjs)
  • update dependencies
bellajs - v11.1.1

Published by ndaidong about 2 years ago

  • Remove crypto dependent parts
    • remove sha256, sha512 from v11.1.0
    • use regular method for randoming string/id
  • Keep support node 14 as before
bellajs - v11.1.0

Published by ndaidong about 2 years ago

Note: This version does not work with vite/svelte. It will be deprecated.

  • Update genid() to mix both crypto.getRandomValues() and Math.random().
  • Update randint() based on crypto.getRandomValues()
  • Add sha256() and sha512() methods
  • Stop support node < 15 (as missing crypto util)
bellajs - v11.0.7

Published by ndaidong about 2 years ago

bellajs - v11.0.6

Published by ndaidong about 2 years ago

Improve string's methods: truncate, stripTags, stripAccent...

bellajs - v11.0.5

Published by ndaidong about 2 years ago

  • Replace unecessary global vars with function
  • Update dev dependencies
bellajs - v11.0.4

Published by ndaidong about 2 years ago

  • Remove equals method
  • Stop building CSJ and IIFE versions
  • Update README
bellajs - v11.0.3

Published by ndaidong over 2 years ago

  • Update dependencies
  • Add ci test with Node 18
  • Use GitHub CodeQL instead of SonarCloud
bellajs - v11.0.2

Published by ndaidong over 2 years ago

  • Add .js to path while importing (ndaidong/oembed-parser#124)
bellajs - v11.0.1

Published by ndaidong over 2 years ago

  • Merge pr #120 by @SettingDust
bellajs - v11.0.0

Published by ndaidong almost 3 years ago

  • Rewrite in es6 module syntax
  • Replace gcc-min with esbuild
  • Remove md5() method
  • Refactor date utils to make use newly features from built-in object Intl
    • remove old methods now(), time(), toRelativeTime(), toDateString(), toLocalDateString(), toUTCDateString()
    • add new methods formatDateString() and formatTimeAgo(), view docs
  • Update release endpoints
  • Update test scripts
bellajs - v11.0.0rc3

Published by ndaidong almost 3 years ago

  • Update dependencies
  • Update builder config
  • Update README
bellajs - v11.0.0rc2

Published by ndaidong almost 3 years ago

  • Remove md5() method
  • Refactor date utils to make use newly features from built-in object Intl
    • remove old methods now(), time(), toRelativeTime(), toDateString(), toLocalDateString(), toUTCDateString()
    • add new methods formatDateString() and formatTimeAgo(), view docs
bellajs - v11.0.0rc1

Published by ndaidong almost 3 years ago

  • Rewrite in es6 module syntax
  • Update release endpoints
  • Update test scripts
  • Replace gcc-min with esbuild
bellajs - v10.0.2

Published by ndaidong almost 3 years ago

  • Refactor

Breaking changes

  • pick() method

Before v10.0.0:

pick(Integer count, Array arr)

v10.0.0:

pick(Array arr [, Integer count = 1])
  • sortBy() method

Before v10.0.0:

sortBy(String property, Number order, Array a)

v10.0.0:

sortBy(Array a, Number order, String property)
bellajs - v10.0.0

Published by ndaidong almost 3 years ago

  • Refactor
  • Change coding style
  • Change test tools

Breaking changes

  • pick() method

Before v10.0.0:

pick(Integer count, Array arr)

v10.0.0:

pick(Array arr [, Integer count = 1])
  • sortBy() method

Before v10.0.0:

sortBy(String property, Number order, Array a)

v10.0.0:

sortBy(Array a, Number order, String property)
bellajs - v9.3.0

Published by ndaidong over 3 years ago

  • fix md5 importing
  • update dependencies
  • add node 16 to test
bellajs - v9.2.2

Published by ndaidong almost 4 years ago

  • Update GitHub actions
  • Move resource links to unpkg.com
Package Rankings
Top 3.54% on Npmjs.org
Badges
Extracted from project README
CI test Coverage Status NPM JSR
Related Projects