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

i18next-po-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-po-loader - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

index.js

@@ -6,4 +6,6 @@ var converter = require('i18next-conv-inline')

var callback = this.async()
let language = source.match(/Language: ([\w]*)/)
language = language ? language[1] : 'en'
converter.gettextToI18next('en', source, {quiet: true}, function (err, data) {
converter.gettextToI18next(language, source, {quiet: true}, function (err, data) {
if (err) {

@@ -10,0 +12,0 @@ return callback(err)

{
"name": "i18next-po-loader",
"version": "0.1.1",
"version": "0.1.2",
"description": "Load gettext PO files as i18next format directly in webpack",

@@ -5,0 +5,0 @@ "main": "index.js",

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