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

@pitcher/easygettext

Package Overview
Dependencies
Maintainers
3
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pitcher/easygettext - npm Package Compare versions

Comparing version 2.10.0 to 2.10.1

2

package.json
{
"name": "@pitcher/easygettext",
"version": "2.10.0",
"version": "2.10.1",
"description": "Simple tools to extract gettext strings",

@@ -5,0 +5,0 @@ "main": "src/extract-cli.js",

@@ -13,2 +13,3 @@ exports.DEFAULT_ATTRIBUTES = [

exports.DEFAULT_VUE_GETTEXT_FUNCTIONS = {
'_': ['msgid'],
'$gettext': ['msgid'],

@@ -15,0 +16,0 @@ '$ngettext': ['msgid', 'plural', null],

@@ -57,2 +57,5 @@ const cheerio = require('cheerio');

switch (type) {
case 'js':
scriptData = data;
break;
case 'vue':

@@ -59,0 +62,0 @@ const vueFile = vueCompiler.parse({ compiler, source: data, needMap: false });

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