Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

handlebars-xgettext

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handlebars-xgettext - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

tmp/output.po

12

lib/handlebars-xgettext.js

@@ -56,7 +56,9 @@ var fs = require('fs'),

context[msgid].comments.reference = (context[msgid].comments.reference || '')
.split('\n')
.concat(strings[msgid].line.map(addPath(relativePath)))
.join('\n')
.trim('\n');
if (!options['no-location']) {
context[msgid].comments.reference = (context[msgid].comments.reference || '')
.split('\n')
.concat(strings[msgid].line.map(addPath(relativePath)))
.join('\n')
.trim('\n');
}
}

@@ -63,0 +65,0 @@ }

{
"name": "handlebars-xgettext",
"description": "Extract strings from Handlebars source",
"version": "1.2.1",
"version": "1.2.2",
"homepage": "https://github.com/gmarty/handlebars-xgettext",

@@ -6,0 +6,0 @@ "author": {

@@ -1,3 +0,2 @@

[![build status](https://secure.travis-ci.org/gmarty/handlebars-xgettext.png)](http://travis-ci.org/gmarty/handlebars-xgettext)
# handlebars-xgettext
# handlebars-xgettext [![build status](https://secure.travis-ci.org/gmarty/handlebars-xgettext.png)](http://travis-ci.org/gmarty/handlebars-xgettext)
> Extract strings from Handlebars source

@@ -22,2 +21,5 @@

<button>{{_ "Sign in"}}</button>
<!-- and a simple plural example: -->
<p>{{count}} {{_ "country" "countries" count}}</p>
```

@@ -24,0 +26,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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