Huge News!Announcing our $40M Series B led by Abstract Ventures.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.11 to 0.1.12

2

lib/commonplace.js

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

var locale = match[1].toLowerCase().split('_');
if (locale[1]) {
if (locale[1] && locale[1].length == 2) {
locale[1] = locale[1].toUpperCase();

@@ -263,0 +263,0 @@ }

{
"name": "commonplace",
"version": "0.1.11",
"version": "0.1.12",
"repository": {

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

@@ -91,3 +91,3 @@ define('urls',

var media = function(path) {
var media_url = document.body.getAttribute('data-media') || settings.media_url;
var media_url = settings.media_url;
if (media_url[media_url.length - 1] !== '/') {

@@ -94,0 +94,0 @@ media_url += '/';

@@ -10,2 +10,3 @@ define('views/debug',

notification.notification({message: 'localStorage cleared', timeout: 1000});
}).on('click', '#clear-cookies', function(e) {

@@ -19,2 +20,3 @@ var cookies = document.cookie.split(';');

notification.notification({message: 'cookies cleared', timeout: 1000});
}).on('click', '.cache-menu a', function(e) {

@@ -25,2 +27,3 @@ e.preventDefault();

$('#cache-inspector').html(utils.escape_(data));
}).on('click', '#submit-debug', function(e) {

@@ -27,0 +30,0 @@ e.preventDefault();

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