typographic-quotes
Advanced tools
Comparing version 1.0.6 to 1.1.0
{ | ||
"name": "typographic-quotes", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "Always use curly quotes", | ||
@@ -17,3 +17,3 @@ "main": "index.es5.js", | ||
"prepublish": "npm run transpile", | ||
"postpublish": "rm *.es5.js" | ||
"postpublish": "rm *.es5.js && git push --follow-tags" | ||
}, | ||
@@ -20,0 +20,0 @@ "repository": { |
@@ -9,2 +9,9 @@ import quotes from './index'; | ||
it('should not fuck up not closed quotes', ()=> { | ||
equal(quotes(`foo "foo" "bar`), `foo “foo” "bar`); | ||
equal(quotes(`foo "foo" 'bar`), `foo “foo” 'bar`); | ||
equal(quotes(`foo 'foo' "bar`), `foo “foo” "bar`); | ||
equal(quotes(`foo 'foo' 'bar`), `foo “foo” 'bar`); | ||
}); | ||
it('should fix simple quotes in the start', ()=> { | ||
@@ -11,0 +18,0 @@ equal(quotes(`'foo' bar`), `“foo” bar`); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10483
110