Repository navigation
Comparing changes
Open a pull request
base repository: dmnd/dedent
base: v1.5.1
head repository: dmnd/dedent
compare: v1.7.2
- 19 commits
- 69 files changed
- 9 contributors
Commits on Aug 3, 2023
-
chore: remove files related to Flow (#77)
This library has already converted to TypeScript since #51. So, I removed files related to Flow.
Configuration menu - View commit details
-
Copy full SHA for f933c75 - Browse repository at this point
Copy the full SHA f933c75View commit details
Commits on Nov 12, 2023
-
build: onboarded to create-typescript-app (mostly) (#55)
Fixes #54. Adds all the tooling from that template, except: * Jest is still used for tests instead of Vitest to make that transition easier * Babel is used for building to go along with ☝️ (egoist/tsup#665) * The output directory stays as `dist/`, not the template's default `lib/` * https://github.com/JoshuaKGoldberg/sentences-per-line: as it conflicts with eslint-doc-generator Adds an explicit _"works with spaces"_ test alongside the existing _"works with tabs"_ now that the repo is switched to tabs.
Configuration menu - View commit details
-
Copy full SHA for f1b814e - Browse repository at this point
Copy the full SHA f1b814eView commit details
Commits on Nov 18, 2023
-
chore: fix special characters escaping issue link in README (#82)
## PR Checklist - [ ] Addresses an existing open issue: fixes #000 - [ ] 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 I don't think it should look like this :) 
Configuration menu - View commit details
-
Copy full SHA for 53a7267 - Browse repository at this point
Copy the full SHA 53a7267View commit details
Commits on Dec 20, 2023
-
chore: replace last yarn references with pnpm (#86)
## PR Checklist - [x] Addresses an existing open issue: fixes #85 - [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 the last few `yarn` references in `package.json` scripts to instead say `pnpm`.
Configuration menu - View commit details
-
Copy full SHA for a4f30bf - Browse repository at this point
Copy the full SHA a4f30bfView commit details
Commits on Dec 21, 2023
-
docs: add explicit install command to README.md (#84)
## PR Checklist - [x] Addresses an existing open issue: fixes #83 - [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 Adds an explicit `npm install dedent` code block to the top of the README.md
Configuration menu - View commit details
-
Copy full SHA for 87f0f9b - Browse repository at this point
Copy the full SHA 87f0f9bView commit details
Commits on Feb 18, 2024
-
fix: switch babel-plugin-macros to a peer dependency (again) (#89)
## PR Checklist - [x] Addresses an existing open issue: fixes #88 - [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 Re-applies #60 per the issue.
Configuration menu - View commit details
-
Copy full SHA for 625d708 - Browse repository at this point
Copy the full SHA 625d708View commit details -
build(deps-dev): bump @babel/traverse from 7.22.8 to 7.23.6 (#87)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@babel/traverse</code>'s releases</a>.</em></p> <blockquote> <h2>v7.23.6 (2023-12-11)</h2> <p>Thanks <a href="https://github.com/martinez-hugo"><code>@martinez-hugo</code></a> and <a href="https://github.com/odinho"><code>@odinho</code></a> for your first pull requests!</p> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16154">#16154</a> Remove <code>TSPropertySignature.initializer</code> (<a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-class-properties</code>, <code>babel-plugin-transform-class-static-block</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16139">#16139</a> Apply <code>toPropertyKey</code> on decorator context name (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16166">#16166</a> fix: Correctly indenting when <code>retainLines</code> is enabled (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16150">#16150</a> <code>using</code>: Allow looking up <code>Symbol.dispose</code> on a function (<a href="https://github.com/odinho"><code>@odinho</code></a>)</li> </ul> </li> <li><code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-class-properties</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16161">#16161</a> Ensure the <code>[[@@toPrimitive]]</code> call of a decorated class member key is invoked once (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/16148">#16148</a> Support named evaluation for decorated anonymous class exp (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-for-of</code>, <code>babel-preset-env</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16011">#16011</a> fix: <code>for of</code> with <code>iterableIsArray</code> and shadowing variable (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16144">#16144</a> Set function name for decorated private non-field elements (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16137">#16137</a> Fix references to enum values with merging (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>:microscope: Output optimization</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-class-properties</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16159">#16159</a> Reuse computed key memoiser (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16160">#16160</a> Optimize decorator helper size (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> </ul> <h4>Committers: 7</h4> <ul> <li>Babel Bot (<a href="https://github.com/babel-bot"><code>@babel-bot</code></a>)</li> <li>Hugo Martinez (<a href="https://github.com/martinez-hugo"><code>@martinez-hugo</code></a>)</li> <li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> <li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> <li>Odin Hørthe-Omdal Urdland (<a href="https://github.com/odinho"><code>@odinho</code></a>)</li> <li><a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a></li> <li>fisker Cheung (<a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> <h2>v7.23.5 (2023-11-29)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-plugin-proposal-decorators</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16138">#16138</a> Class binding is in TDZ during decorators initialization (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16132">#16132</a> Allow addInitializer in field decorator context (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-traverse</code>, <code>babel-types</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@babel/traverse</code>'s changelog</a>.</em></p> <blockquote> <h2>v7.23.6 (2023-12-11)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-generator</code>, <code>babel-parser</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16154">#16154</a> Remove <code>TSPropertySignature.initializer</code> (<a href="https://github.com/fisker"><code>@fisker</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-class-properties</code>, <code>babel-plugin-transform-class-static-block</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-preset-env</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16139">#16139</a> Apply <code>toPropertyKey</code> on decorator context name (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16166">#16166</a> fix: Correctly indenting when <code>retainLines</code> is enabled (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-explicit-resource-management</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16150">#16150</a> <code>using</code>: Allow looking up <code>Symbol.dispose</code> on a function (<a href="https://github.com/odinho"><code>@odinho</code></a>)</li> </ul> </li> <li><code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-class-properties</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16161">#16161</a> Ensure the <code>[[@@toPrimitive]]</code> call of a decorated class member key is invoked once (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> <li><a href="https://redirect.github.com/babel/babel/pull/16148">#16148</a> Support named evaluation for decorated anonymous class exp (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-for-of</code>, <code>babel-preset-env</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16011">#16011</a> fix: <code>for of</code> with <code>iterableIsArray</code> and shadowing variable (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16144">#16144</a> Set function name for decorated private non-field elements (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16137">#16137</a> Fix references to enum values with merging (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> </ul> <h4>:microscope: Output optimization</h4> <ul> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-class-properties</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16159">#16159</a> Reuse computed key memoiser (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16160">#16160</a> Optimize decorator helper size (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> </ul> <h2>v7.23.5 (2023-11-29)</h2> <h4>:eyeglasses: Spec Compliance</h4> <ul> <li><code>babel-plugin-proposal-decorators</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16138">#16138</a> Class binding is in TDZ during decorators initialization (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-helpers</code>, <code>babel-plugin-proposal-decorators</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16132">#16132</a> Allow addInitializer in field decorator context (<a href="https://github.com/JLHwung"><code>@JLHwung</code></a>)</li> </ul> </li> </ul> <h4>:bug: Bug Fix</h4> <ul> <li><code>babel-traverse</code>, <code>babel-types</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16131">#16131</a> Do not remove bindings when removing assignment expression path (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-plugin-transform-classes</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16135">#16135</a> Require class properties transform when compiling class with private fields (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-generator</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16122">#16122</a> fix: Missing parentheses after line break (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-helpers</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16130">#16130</a> Fix helpers internal fns names conflict resolution (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-helper-create-class-features-plugin</code>, <code>babel-plugin-transform-class-properties</code>, <code>babel-plugin-transform-typescript</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16123">#16123</a> Simplify class fields injetion after <code>super()</code> (<a href="https://github.com/nicolo-ribaudo"><code>@nicolo-ribaudo</code></a>)</li> </ul> </li> <li><code>babel-generator</code>, <code>babel-plugin-transform-modules-commonjs</code>, <code>babel-plugin-transform-parameters</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-traverse</code> <ul> <li><a href="https://redirect.github.com/babel/babel/pull/16110">#16110</a> fix: Unexpected duplication of comments (<a href="https://github.com/liuxingbaoyu"><code>@liuxingbaoyu</code></a>)</li> </ul> </li> <li><code>babel-eslint-plugin</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/babel/babel/commit/d02c1f76ac441381b1ba3b5cad93bdd030b8fd63"><code>d02c1f7</code></a> v7.23.6</li> <li><a href="https://github.com/babel/babel/commit/cce807f1eb638ee3030112dc190cbee032760888"><code>cce807f</code></a> Bump debug to ^4.3.1 (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16164">#16164</a>)</li> <li><a href="https://github.com/babel/babel/commit/8479012ee722ffe316308c1789837e3836580de7"><code>8479012</code></a> v7.23.5</li> <li><a href="https://github.com/babel/babel/commit/da7dc40fdab77e9c8e190e6ec1d80d4f5eedcfd5"><code>da7dc40</code></a> Do not remove bindings when removing assignment expression path (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16131">#16131</a>)</li> <li><a href="https://github.com/babel/babel/commit/fadc081db163130903539e81c2384233882b0436"><code>fadc081</code></a> fix: Unexpected duplication of comments (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16110">#16110</a>)</li> <li><a href="https://github.com/babel/babel/commit/13a5c83807ab755a1cfb3059a7370110b4c8370e"><code>13a5c83</code></a> v7.23.4</li> <li><a href="https://github.com/babel/babel/commit/5e1c5f047cbcb3a47de5a09487818661bcce3743"><code>5e1c5f0</code></a> Use prettier 3.1 (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16098">#16098</a>)</li> <li><a href="https://github.com/babel/babel/commit/1bce5c9d51abda279f374b54cef79939c3cc608d"><code>1bce5c9</code></a> v7.23.3</li> <li><a href="https://github.com/babel/babel/commit/4fb4fa63e7d15b3993d466e79d5051ab1b1b8989"><code>4fb4fa6</code></a> Avoid dynamic dispatch when calling wrapCheck (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16060">#16060</a>)</li> <li><a href="https://github.com/babel/babel/commit/6d9725cd62511816a1ac6a0ef6a4ef078fea6359"><code>6d9725c</code></a> [babel 8] Inline <code>toSequenceExpression</code> into <code>@babel/traverse</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-traverse/issues/16057">#16057</a>)</li> <li>Additional commits viewable in <a href="https://github.com/babel/babel/commits/v7.23.6/packages/babel-traverse">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dmnd/dedent/network/alerts). </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
Configuration menu - View commit details
-
Copy full SHA for e634f0e - Browse repository at this point
Copy the full SHA e634f0eView commit details
Commits on Apr 10, 2024
-
fix: \\n should be changed to \n only when escapeSpecialCharacters is…
… set (#91) This PR proposes a fix to the issue #90. ## PR Checklist - [x] Addresses an existing open issue: fixes #90 - [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
Configuration menu - View commit details
-
Copy full SHA for 4c133c1 - Browse repository at this point
Copy the full SHA 4c133c1View commit details
Commits on Apr 11, 2024
-
fix: remove engines and provenance requirements (#93)
## PR Checklist - [x] Addresses an existing open issue: fixes #92 - [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 Removes the requirements so they don't impact users.
Configuration menu - View commit details
-
Copy full SHA for 90644fe - Browse repository at this point
Copy the full SHA 90644feView commit details
Commits on May 1, 2025
-
feat: add
trimWhitespaceoption (#97)Adds a `trimWhitespace` option which decides if we trim the leading and trailing whitespace of the result. Draft until the issue is accepting PRs ## PR Checklist - [x] Addresses an existing open issue: fixes #96 - [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 --------- Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
Configuration menu - View commit details
-
Copy full SHA for 86902f7 - Browse repository at this point
Copy the full SHA 86902f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab2ce25 - Browse repository at this point
Copy the full SHA ab2ce25View commit details
Commits on May 2, 2025
-
docs: cleaned up README.md badges (#100)
<!-- 👋 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 #99 - [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 Cleans up the links to not include extra whitespace, too.
Configuration menu - View commit details
-
Copy full SHA for aab442c - Browse repository at this point
Copy the full SHA aab442cView commit details
Commits on Sep 3, 2025
-
feat: add alignValues option (#102)
## PR Checklist - [x] Addresses an existing open issue: fixes #12 - [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 This PR implements the `alignValues` option for `dedent()` to handle interpolated values with proper indentation alignment. When enabled via `dedent({ alignValues: true })`, the function will align each interpolated value's indentation to match its starting line's indentation within the template literal. And added a basic test for nested interpolated string. --------- Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
Configuration menu - View commit details
-
Copy full SHA for 304d0fc - Browse repository at this point
Copy the full SHA 304d0fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd15cf5 - Browse repository at this point
Copy the full SHA dd15cf5View commit details
Commits on Dec 17, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ae92d21 - Browse repository at this point
Copy the full SHA ae92d21View commit details -
fix: workaround for bun mangling unicode (#104)
<!-- 👋 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 #101 - [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 - Adds a workaround to restore unicode characters mangled by Bun with a string replacement. This replacement runs only in a Bun environment. If the issue gets fixed in Bun, then a test for the version of `process.versions.bun` could perhaps be added later. - Adds types for Bun, needed for that environment check to lint. - Adds `test:bun` as a script, so that `pnpm run test:bun` will test decent.test.js with Bun's test runner instead of Jest, as long as Bun is installed. Includes a note in DEVELOPING.md. - Adds a test which failed before the change with Bun (but passed with Node/Jest). --------- Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
Configuration menu - View commit details
-
Copy full SHA for f7cb548 - Browse repository at this point
Copy the full SHA f7cb548View commit details -
Reflecting [`dedent@1.7.1` on npm](https://www.npmjs.com/package/dedent/v/1.7.1).
Configuration menu - View commit details
-
Copy full SHA for 7b38d94 - Browse repository at this point
Copy the full SHA 7b38d94View commit details
Commits on Mar 1, 2026
-
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>
Configuration menu - View commit details
-
Copy full SHA for 34f5d32 - Browse repository at this point
Copy the full SHA 34f5d32View commit details -
Reflecting [`dedent@1.7.2` on npm](https://www.npmjs.com/package/dedent/v/1.7.2).
Configuration menu - View commit details
-
Copy full SHA for bbce4c4 - Browse repository at this point
Copy the full SHA bbce4c4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.5.1...v1.7.2