Socket
Socket
Sign inDemoInstall

typographic-quotes

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typographic-quotes - npm Package Compare versions

Comparing version 1.0.6 to 1.1.0

4

package.json
{
"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`);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc