Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 11, 2025

This PR contains the following updates:

Package Change Age Confidence
true-myth (source) 8.6.0 -> 9.3.1 age confidence

Release Notes

true-myth/true-myth (true-myth)

v9.3.1

Compare Source

Correctly publish to npm so README shows up, that’s it.

v9.3.0

Compare Source

The big new feature is an inspect method and function that allows you to “tap into” a Maybe, Result, or Task to perform side effects safely. This can be helpful for debugging, for adding tracing, or for many other similar things. For example, to debug what value exists in a chain of Maybe operations, you could use the new inspect method like this:

import type Maybe from 'true-myth/maybe';

const log = (value: unknown) => console.log("The value:", value);
const randomInteger = () => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);

const finalMaybe = Maybe.of(randomInteger())
  .inspect(log)
  .map((n) => n % randomInteger())
  .inspect(log)
  .andThen((n) => n % 2 === 0 ? Maybe.just(n / 2) : Maybe.nothing())
  .inspect(log);

For any given run, this will always log two values; it will also log a third when the modulo check passes. The output is the Maybe value.

There are also inspectErr and inspectRejected methods and functions for Result and Task instances respectively.

Changes
🚀 Enhancement
🐛 Bug Fix
📝 Documentation
🏠 Internal
Committers: 3

v9.2.0

Compare Source

Adds a flatten helper and method to each of Maybe, Result, and Task to help with the situations where you end up with a nested version of each. For example, with Maybe:

import Maybe from 'true-myth/maybe';

const wrapped = Maybe.of(Maybe.of(123));
console.log(wrapped.toString());  // Just(Just(123))

const flattened = wrapped.flatten();
console.log(flattened.toString()); // Just(123)

Note that the method or function removes only a single layer of wrapping.

Changes
🚀 Enhancement
📝 Documentation
🏠 Internal
Committers: 2

v9.1.0

Compare Source

🚀 Enhancement
📝 Documentation
🏠 Internal
Committers: 2

v9.0.1

Compare Source

Fixes an assignability bug with the PromiseLike interface and continues cleaning up some docs. This one comes entirely from external contributors—thanks, folks!

🐛 Bug Fix
📝 Documentation
🏠 Internal
Committers: 3

v9.0.0

Compare Source

Now with nicer internals. cleaner public APIs, a brand new docs site! For more details, see the announcement blog post.

Changes
💥 Breaking Change
🚀 Enhancement
📝 Documentation
🏠 Internal
🗑️ Deprecation
Committers: 2

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added renovate upgrade Any kind of dependency updates labels Aug 11, 2025
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch from 3091c22 to f217aa8 Compare August 25, 2025 02:34
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 4 times, most recently from 741ae65 to d12a1ff Compare September 14, 2025 08:57
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 22 times, most recently from 6c1bd20 to b961d23 Compare October 1, 2025 00:51
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 3 times, most recently from 09da8ba to 3694d25 Compare November 17, 2025 05:46
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 5 times, most recently from 7815c47 to 525ab96 Compare November 25, 2025 20:59
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 9 times, most recently from b6f1155 to b51f0b8 Compare December 3, 2025 10:47
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 6 times, most recently from 5868ac6 to ffdd73a Compare December 14, 2025 05:12
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch 5 times, most recently from 91834f8 to 4a88614 Compare December 16, 2025 09:38
@renovate renovate bot force-pushed the renovate/true-myth-9.x branch from 4a88614 to 6c7fa9a Compare December 19, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

renovate upgrade Any kind of dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant