New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

transmutant

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transmutant - npm Package Versions

6.0.0

Diff

Changelog

Source

6.0.0 (2024-12-06)

⚠ BREAKING CHANGES

  • Split Schema type definition into two separate types:
    • SchemaItem: represents a single transformation rule
    • Schema: represents an array of SchemaItems

Code Refactoring

  • split Schema type into SchemaItem and Schema (08a9ac5)
tr0n
published 5.0.0 •

Changelog

Source

5.0.0 (2024-12-06)

⚠ BREAKING CHANGES

  • The extra parameter in transmute() and related types has been renamed to context to better reflect its purpose in providing contextual data for transmutations. This change affects the public API including type definitions, function parameters, and documentation.

Code Refactoring

  • rename extra parameter to context (b8ca220)
tr0n
published 4.0.0 •

Changelog

Source

4.0.0 (2024-11-01)

⚠ BREAKING CHANGES

  • types: Changed Extra type parameter default from unknown to undefined for better type inference and runtime behavior alignment.

Code Refactoring

  • types: switch Extra type parameter default to undefined (83c5a56)
tr0n
published 3.1.0 •

Changelog

Source

3.1.0 (2024-10-31)

Features

  • transmute: infer transmuter context param based on transmute call (c83b1c0)
tr0n
published 3.0.0 •

Changelog

Source

3.0.0 (2024-10-31)

⚠ BREAKING CHANGES

  • Schema type now enforces strict type compatibility between source and target properties. Code with mismatched types in direct property mappings will need to be updated to use Transmuter for type conversion or fix the type mismatch.

Features

  • enforce type compatibility in schema mappings (cc26b94)
tr0n
published 2.1.0 •

Changelog

Source

2.1.0 (2024-10-30)

Features

  • enforce strict return types in transmuter functions (bb575df)
tr0n
published 2.0.0 •

Changelog

Source

2.0.0 (2024-10-28)

⚠ BREAKING CHANGES

  • made the usage of fn or to exclusive. So they can't used both at the same time now.

Features

  • improved type safety for context param (f8247b1)
tr0n
published 1.0.1 •

Changelog

Source

1.0.1 (2024-10-27)

Bug Fixes

tr0n
published 1.0.0 •

Changelog

Source

1.0.0 (2024-10-27)

Features

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc