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

commonplace

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonplace - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

src/.commonplace

7

lib/commonplace.js

@@ -259,3 +259,8 @@ var fs = require('fs');

var match = path_regex.exec(filepath);
process_file(filepath, match[1], path.resolve(langpacks_path, match[1] + '.js'));
var locale = match[1].toLowerCase().split('_');
if (locale[1]) {
locale[1] = locale[1].toUpperCase();
}
locale = locale.join('-');
process_file(filepath, locale, path.resolve(langpacks_path, locale + '.js'));
});

@@ -262,0 +267,0 @@ }

2

lib/extract_l10n.js

@@ -134,3 +134,3 @@ var fs = require('fs');

var patterns = [
/\{#\s*L10n(\(.+\))?:((.|\n)+)\s*#\}/im,
/\{#\s*L10n(\(.+\))?:((.|\n)+?)\s*#\}/im,
/\/\/ L10n(\(.+\))?:(.+)$/im,

@@ -137,0 +137,0 @@ /\/\*\s*L10n(\(.+\))?:((.|\n)+?)\s*\*\//im

{
"name": "commonplace",
"version": "0.1.9",
"version": "0.1.10",
"repository": {

@@ -5,0 +5,0 @@ "url": "git://github.com/mozilla/commonplace.git",

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