Skip to content

Releases: omar-azmi/kitchensink_ts

v0.7.5 - library is now compatible with https://jsr.io

04 Mar 00:33
Compare
Choose a tag to compare

the name of the library has been changed to @azmi/kitchensink.
and, it is now available on https://jsr.io/@azmi/[email protected].
and please pay no head to the 29% code quality score. this library is far too perfect to be judged by mere mortals.

day by day, the deno ecosystem is looking more like nodejs. YAAAAY!! - exclaimed no deno user ever.

What's Changed

  • generate typedoc documentation via deno only by @omar-azmi in #3
  • revamp library to support JSR publishing by @omar-azmi in #4

Full Changelog: v0.7.3...v0.7.5

v0.7.3 smol update

24 Oct 18:08
Compare
Choose a tag to compare

v0.7.2 - same old, same old

18 Oct 04:39
Compare
Choose a tag to compare

deno.land/x better upload this release onto its cdn, else I'll get SUPER MAJ!

update: wow, it actually went through this time, and so did the other two missing previous releases magically pop into existence.

Full Changelog: v0.7.1...v0.7.2

v0.7.1-0 - reupload to deno.land

13 Oct 11:35
Compare
Choose a tag to compare

because it didn't upload correctly the last time. weep weep

v0.7.1 - higher order condescending superior aristocratic elite functions

13 Oct 05:35
Compare
Choose a tag to compare

changes:

  • introduce new submodule lambda.ts, which contains higher order functions.
  • added more niche data structures to collections.ts
  • moved old higher order functions in browser.ts to lambda.ts

full list of added functions and classes:

  • collections.ts
    • HybridWeakMap<K, V>: a Map like object that can strongly hold primitive keys, along with weakly holding object/function keys
    • treeClass_Factory: generates a "walkable" tree class based on the provided Map-like subclass. by default, we export three walkable tree classes:
      • WeakTree: made out of WeakMap
      • StrongTree: made out of Map
      • HybridTree: made out of HybridWeakMap
    • StackSet<T>: a stack that only holds unique items
    • LimitedStack<T>: an Array<T> which is limited in its capacity, and can call a callback function when it is overloaded, with the discarded items as the argument
    • LimitedStackSet<T>: similar to LimitedStack<T>, but for a StackSet<T>
  • lambda.ts
    • rename debounce to debounceAndShare
    • debounce: a conventional debouncer factory function
    • throttleAndTrail: similar to throttle, but also executes the trailing invokation eventually. this insures that all final calls made are executed. very useful when handling rapid browser events while also updating intermediately
    • a family memorize functions. notably:
      • memorize: memorize a single argument function (whether weakly or strongly)
      • memorizeLRU: similar to memorize, but with limitable memorization cache size
      • memorizeMulti and memorizeMultiWeak: memorize a multi-argument argument function
    • curry: curry a function so that it becomes a chain of functions, each accepting only a single argument, which then evaluates when all required arguments have been filled
    • curryMulti: curry a function so that it becomes a chain of functions, each any amount of arguments, which then evaluates only when all required arguments have been filled

Full Changelog: v0.7.0...v0.7.1

v0.7.0 - the signal is dead. long live tsignal

04 Oct 04:30
Compare
Choose a tag to compare

killed off the signal.ts submodule, which was a minified implementation of SolidJS's signal system.
the signal project has been moved to tsignal_ts, which aims to be a signals library that respects topological ordering of signal dependencies, plus provides an easy modular interface for creating custom signal types

also added binder.ts which provides a way of binding prototype methods to instances, with auto-inference of the call signature of the returned bound method.
why bind functions to instances? because it:

  • generates a more minifiable js file (due to the lack of property access)
  • is quicker to execute (which is only useful if you intend to execute the same function many times)
  • allows one to quickly identify the methods of an object which will be utilized, and where will they be utilized (via IDE highlighting)

Full Changelog: v0.6.4...v0.7.0

v0.6.4 - nothing has practically changed. the universe is barely evolving.

20 Aug 03:55
Compare
Choose a tag to compare

v0.6.3

19 Aug 18:22
Compare
Choose a tag to compare

add a submodule for reactive signals, which mimics the functionality of SolidJS's signals, but is super inferior to it.

Full Changelog: v0.6.2...v0.6.3

Why isn't there a decent ndarray library for javascript?

29 Jul 06:53
Compare
Choose a tag to compare

For that very reason, I've decided to make my own super special awesome 2d array library that triumphs over each and every ndarray library out there.

at npm.org:

  • there are now 19929221 + 1 libraries tagged with super-special-awesome-ndarray-library

Full Changelog: v0.6.1...v0.6.2

v0.6.1

22 Apr 17:27
Compare
Choose a tag to compare

Full Changelog: v0.6.0...v0.6.1