node-ts-dedent icon indicating copy to clipboard operation
node-ts-dedent copied to clipboard

TypeScript package which smartly trims and strips indentation from multi-line strings

Results 12 node-ts-dedent issues
Sort by recently updated
recently updated
newest added

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

I've got a weird one for you, one that seems to be a problem in the older `dedent` package as well (https://github.com/dmnd/dedent/issues/26). Escaped backticks result in no dedent-ing. ```ts const...

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Feature request: unicode escape sequence handling. ```typescript import dedent from 'dedent'; console.log(`\u00E4`); // Prints ä console.log(dedent`\u00E4`); // Prints \u00E4 - expected ä ```

# Reproduce Link https://codesandbox.io/p/devbox/vigilant-mcclintock-dgvccf?file=%2Fsrc%2Flayouts%2FLayout.astro%3A21%2C13 # Description Using `dedent` anywhere with `astro@v4` will cause an error `__vite_ssr_import_1__.default is not a function`

Based on the examples, I think it removes a starting bare newline, and then removes the number of whitespace characters on the first line that starts with whitespace characters. Or...

Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies