Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dmnd/dedent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.7.1
Choose a base ref
...
head repository: dmnd/dedent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.7.2
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 1, 2026

  1. fix: support escape sequences in tagged templates (#107)

    <!-- 👋 Hi, thanks for sending a PR to dedent! 💖.
    Please fill out all fields below and make sure each item is true and [x]
    checked.
    Otherwise we may not be able to review your PR. -->
    
    ## PR Checklist
    
    - [x] Addresses an existing open issue: fixes #24
    - [x] That issue was marked as [`status: accepting
    prs`](https://github.com/dmnd/dedent/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
    - [x] Steps in
    [CONTRIBUTING.md](https://github.com/dmnd/dedent/blob/main/.github/CONTRIBUTING.md)
    were taken
    
    ## Overview
    
    Fixes support for escape sequences in tagged templates by preserving raw
    template parts and unescaping explicit character escapes (e.g. `\n`,
    `\t`, `\xHH`, `\uXXXX`, `\u{...}`) only after indentation and trimming.
    
    ---------
    
    Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
    marcalexiei and JoshuaKGoldberg authored Mar 1, 2026
    Configuration menu
    Copy the full SHA
    34f5d32 View commit details
    Browse the repository at this point in the history
  2. 1.7.2 (#108)

    Reflecting [`dedent@1.7.2` on npm](https://www.npmjs.com/package/dedent/v/1.7.2).
    JoshuaKGoldberg authored Mar 1, 2026
    Configuration menu
    Copy the full SHA
    bbce4c4 View commit details
    Browse the repository at this point in the history
Loading