This repository has been archived by the owner on Apr 20, 2018. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency common-tags from
v1.4.0
tov1.7.2
Release Notes
v1.5.0
Breaking Changes 🚨
stripIndents
removes empty lines - this is a bug and will be fixed in v1.5.1 (#128)Fixes
oneLine
preserves whitespace within lines (#90) - thanks @hjdivad!inlineArrayTransformer
doesn't add extra newlines when maintaining indentation (#114) - thanks @ibrahima!inlineArrayTransformer
when there is only one element in an array (#117) - thanks @LucianBuzzo!oneLineTrim
works properly in cases where there's no indentation (#126)trimLeft
/trimRight
were replaced with regular expressions (#127)New Features
"start"
and"end"
were added as new sides accepted bytrimResultTransformer
(#127)Dependencies
babel-runtime
was bumped to^6.26.0
from^6.18.0
v1.5.1
Fixes
stripIndents
preserves empty lines as before (#129)v1.6.0
New Features
Chores
stripIndentTransformer
was touched up so now the regular expressions (and the behavior) is more consistent across all the tags - thanks @thepheer!v1.7.0
New Features
onString
onString
- transformers now accept anonString
method which runs on each part of the template literal that is not marked as a substitution (i.e. not inside "${}").replaceStringTransformer
replaceStringTransformer(replaceWhat, replaceWith)
Replaces the result of all strings (what's not in
${ ... }
) with a new value. Same as forreplaceResultTransformer
,replaceWhat
can be a string or regular expression andreplaceWith
is the new value.v1.7.1
Patches
We've migrated from StandardJS formatting to Prettier's automatic code formatting as well as the recommended ESLint rules. Big props to @fatfisz on this release 🎊
v1.7.2
No major changes in this release, we just migrated from the AVA test runner to Jest, which has mitigated some issues with our CI pipeline speeds and removed some hard to maintain configs.
Commits
v1.5.0
f8e01d8
chore(package): update snazzy to version 6.0.0f651e9d
Merge pull request #91 from declandewet/greenkeeper/snazzy-6.0.0ed154f3
Fix typo in readme.md: gaurantee -> guarantee3c5ec7c
Add onLiteral function to transformers and replaceLiteralTransformerb31038e
Update TOC in readme.mdf9a71cf
chore(package): update codecov to version 3.0.06b95d24
chore(package): update cross-env to version 5.1.10eabb7c
chore(package): update micromatch to version 3.1.428e96e7
chore(package): update nyc to version 11.3.0bb1d67f
chore(package): update babel-eslint to version 8.0.2a1bd5ce
Merge pull request #119 from declandewet/greenkeeper/micromatch-3.1.47e0419e
Merge pull request #98 from josephfrazier/patch-110a43ec
Merge pull request #87 from do7be/feature/remove-unnecessary-parenthesesbbeaf8f
Merge pull request #120 from declandewet/greenkeeper/cross-env-5.1.139a4246
Merge pull request #121 from declandewet/greenkeeper/babel-eslint-8.0.2ec0ffe7
Merge branch 'master' into greenkeeper/nyc-11.3.077865ea
Merge branch 'master' into greenkeeper/codecov-3.0.09fe5bd9
Merge pull request #122 from declandewet/greenkeeper/nyc-11.3.085dee73
Merge pull request #123 from declandewet/greenkeeper/codecov-3.0.014394ec
Remove "which"58294e0
Upgrade ava to 0.23.0ae0525b
Update babel-cli to 6.26.0177054c
Update rimraf to 2.6.2db39a6e
Upgrade snazzy to 7.0.0 and add standard as a devDepad8c161
Upgrade babel deps01fd167
Upgrade doctoc to 1.3.050ebafa
Upgrade when to 3.7.844cb928
Remove regenerator-runtime6d06619
Replace babel-preset-stage-0 with plugins and upgrade .babelrc4053a18
Replace babel-preset-latest with babel-preset-envc2e5ae6
Remove regenerator-runtime from unused-ignores607dca1
Exclude .babelrc.js from npm package and codecov9295ee1
Merge pull request #124 from declandewet/update-deps6023b75
Fix InlineArrayTransformer adding extra newlines when maintaining indentation [WIP] (#114)147a84a
Add a test for a newline preceding an array in html tagbed83d8
Don't insert a conjunction if the substition array contains only one item (#117)8a78ea5
Add info about stripIndent tag not being the html tage9365c4
Fix oneLineTrim (#126)a433625
Don't fail fast by default when running the tests6fb2cdc
Misc - fix test names778b3e6
Add a note about needed polyfills92ec152
Use slice instead of substr900aa00
Replace trim methods with RegExp (#127)daa8a77
Add Rafał Ruciński as a contributorf81559f
1.5.0v1.5.1
292c10a
Fix stripIndents and add regression tests (#129)62ff633
1.5.1v1.6.0
936b3f6
A little better RegExps and refactor (#130)a1d8901
chore(package): update ava to version 0.24.0 (#131)25937c8
feat: Support string as an argument to the tag function (#132)acfe96f
add new logo + prevent logo from breaking again95762f3
use actual emoji so README doesn't look broken on pages that don't support emoji tagsab9abe9
extract table of contents (toc) generation to own script & generate new toc551c890
fix markdown lint errors7fb572b
add note about type definitionsb7f3f28
change string usage header to be more descriptive and conform it to title capitilization6f5a83c
add see who is using sectiondc36e2c
remove emoji from titles because it breaks navigationc6f128c
remove wallaby.js1e81686
generate package-lock953e503
fix slack linka61cfc2
improve introductory sectionc6b0925
Merge pull request #133 from declandewet/maintenancea4007c8
Merge branch 'master' into transform-literals7393d25
fix logo text48d0c6d
Merge pull request #135 from declandewet/fix-logo-textd156062
1.6.0v1.7.0
3fe7cd8
chore(package): update cross-env to version 5.1.3156f200
Merge pull request #136 from declandewet/greenkeeper/cross-env-5.1.3ff8eb71
Take #132 changes into account446229e
RenameonLiteral
toonString
(andreplaceLiteralTransformer
toreplaceStringTransformer
)2ffb01e
Merge pull request #106 from pizzafroide/transform-literals38c07c9
1.7.0v1.7.1
424536f
Replace Standard with ESLint + Prettierd49341d
Apply the rules to all the files0a7c1b6
Set the right lint engine for BitHound51b18d9
Update the docs26c3c35
Move the config to .prettierrcaed3383
Add semicolons0e7ef63
Use the default (80 characters) widthf8d8548
Update the docs6a06e69
Merge pull request #137 from declandewet/prettierf8058ea
fix package-lock issued5f9e08
1.7.1v1.7.2
7f0666e
migrate to jest from ava4097976
add babel-jest374fe00
update babel env for Jest transpilation in older environmentscbd33cd
set js files to be parsed by babel-jest3d741fa
change eslint source type to module23a0722
revert useless jest configs0c50944
get rid of use strict directive in config files984a224
add trailing comma to eslintrcb4a9102
remove nyc and ava configse52a041
remove redundant environment variables, switch to Node.js test environment instead of jsdom4b90cbd
Merge pull request #138 from declandewet/jest4ea0b81
1.7.2This PR has been generated by Renovate Bot.