Socket
Socket
Sign inDemoInstall

locale2

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

1

index.js

@@ -1,2 +0,1 @@

"use strict"
module.exports = require('./src').locale2()

14

package.json
{
"name": "locale2",
"version": "2.1.1",
"version": "2.1.2",
"description": "Try as hard as possible to detect the client's language tag (\"locale\") in node or the browser. Browserify and Webpack friendly!",

@@ -48,13 +48,13 @@ "main": "index.js",

"devDependencies": {
"browserstack-runner": "0.4.4",
"browserstack-tape-reporter": "1.0.2",
"enhanced-resolve": "2.2.2",
"browserstack-runner": "0.5.0",
"browserstack-tape-reporter": "1.1.0",
"enhanced-resolve": "3.0.2",
"faucet": "0.0.1",
"rewire": "2.5.2",
"rewire-webpack": "1.0.1",
"tape": "4.6.0",
"tape": "4.6.3",
"tape-catch": "1.0.6",
"webpack": "1.13.1",
"webpack-dev-server": "1.14.1"
"webpack": "1.14.0",
"webpack-dev-server": "1.16.2"
}
}

@@ -1,3 +0,1 @@

"use strict"
var formatLocale = require('./utils').formatLocale

@@ -25,4 +23,4 @@

process.env.LANGUAGE ||
Object.create(null)).replace(/[.:].*/, '')
.replace('_', '-')
String()).replace(/[.:].*/, '')
.replace('_', '-')
}

@@ -29,0 +27,0 @@

@@ -1,3 +0,1 @@

"use strict"
/**

@@ -4,0 +2,0 @@ * Assuming the locale is in the form of

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc