« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/cacheable-object.js
AgeCommit message (Collapse)Author
2024-01-06data: CacheableObject: don't compute old value when validation fails(quasar) nebula
2023-10-18data, test: wrap property value errors with proper class & cause(quasar) nebula
2023-09-07data: roll paired "byRef" and "dynamic" properties into one(quasar) nebula
2023-09-07data: import Thing.common utilities directly(quasar) nebula
Also rename 'color' (from #cli) to 'colors'.
2023-09-05data, infra: only make exposed properties enumerable(quasar) nebula
This prevents them from being displayed in, for example, node-tap mismatched test case output. AFAIK, we generally don't depend on the enumerability of properties anywhere in hsmusic's codebase, and it doesn't really make sense for unexposed properties to be enumerable in the first place.
2023-09-05data: filter only requested deps, require requesting 'this'(quasar) nebula
* Thing.composite.from() only provides the dependencies specified in each step and the base, and prevents '#'-prefixed keys from being specified on the main (composite) dependency list. * CacheableObject no longer provides a "reflection" dependency to every compute/transform function, and now requires the property 'this' to be specified instead of the constructor.instance symbol. (The static CacheableObject.instance, inherited by all subclasses, was also removed.) * Also minor improvements to sugar.js data processing utility functions.
2023-08-19clean up imports & miscellaneous metastructures across codebase(quasar) nebula
2022-11-28divide things.js into modular files (hilariously)(quasar) nebula