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

po-catalog-loader

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

po-catalog-loader - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

15

index.js

@@ -18,11 +18,14 @@ var gettextParser = require('gettext-parser');

var reference = (msg.comments || {}).reference || '<unknown>';
var filename = reference.split(/:/)[0];
var references = ((msg.comments || {}).reference || '<unknown>').split(/\n/);
for (var i = 0; i < extensions.length; i++) {
var ext = extensions[i];
if (filename.substr(filename.length - ext.length) == ext) {
return false;
for (var i = 0; i < references.length; i++) {
var filename = references[i].split(/:/)[0];
for (var j = 0; j < extensions.length; j++) {
var ext = extensions[j];
if (filename.substr(filename.length - ext.length) == ext) {
return false;
}
}
}
return true;

@@ -29,0 +32,0 @@ }

2

package.json
{
"name": "po-catalog-loader",
"version": "1.1.0",
"version": "1.2.0",
"description": "A loader that can load PO files and convert them into JSON data.",

@@ -5,0 +5,0 @@ "author": "getsentry",

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