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

snowball-js

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

snowball-js - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

17

dist/I18n.js

@@ -15,11 +15,12 @@ "use strict";

static getUserLanguage() {
const { language } = navigator;
switch (language) {
case 'ko-KR':
return I18nLanguages.KO;
case 'en-US':
return I18nLanguages.EN;
default:
return I18nLanguages.EN;
const language = navigator.language;
if (language.startsWith(I18nLanguages.KO)) {
return I18nLanguages.KO;
}
else if (language.startsWith(I18nLanguages.EN)) {
return I18nLanguages.EN;
}
else {
return I18nLanguages.EN;
}
}

@@ -26,0 +27,0 @@ text(key) {

{
"name": "snowball-js",
"version": "1.1.0",
"version": "1.2.0",
"description": "TypeScript utilities for miscellaneous projects",

@@ -5,0 +5,0 @@ "main": "./dist/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