New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jsxgettext

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsxgettext - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

tests/ejs.js

2

lib/jsxgettext.js

@@ -189,2 +189,4 @@ #!/usr/bin/env node

while (~(n = js.indexOf("\n", n))) n++,buf.push("\n");
// skip EJS include statements which are not valid javascript
if (/^\s*include\s*[^\s]+\s*$/.test(js)) js = "";
buf.push(js, ';');

@@ -191,0 +193,0 @@ i += end - start + close.length - 1;

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Extract gettext calls from JavaScript and EJS files",
"version": "0.1.1",
"version": "0.1.2",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

@@ -10,2 +10,3 @@ // TODO figure out why

exports.testAll['test jade'] = require('./jade');
exports.testAll['test ejs'] = require('./ejs');
exports.testAll['test comments'] = require('./test_comment');

@@ -12,0 +13,0 @@

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