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

@os-team/i18next-tld-language-detector

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@os-team/i18next-tld-language-detector - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

dist/index.d.ts

@@ -12,4 +12,4 @@ export declare const tldLocaleMap: {

name: string;
lookup: (req: any) => string;
lookup: (req: any, _: any, options: any) => string;
};
//# sourceMappingURL=index.d.ts.map

@@ -19,4 +19,7 @@ "use strict";

name: 'tld',
lookup: (req) => exports.detectLanguageByHost(req.get('Host')),
lookup: (req, _, options) => {
const headers = options.getHeaders(req);
return exports.detectLanguageByHost(headers.host);
},
};
//# sourceMappingURL=index.js.map
{
"name": "@os-team/i18next-tld-language-detector",
"version": "1.2.1",
"version": "1.2.2",
"license": "MIT",

@@ -19,3 +19,3 @@ "repository": "git@gitlab.com:os-team/libs/utils.git",

},
"gitHead": "a5e48637ae6943ce3336adc5437a1f44705a108c"
"gitHead": "eb01bd0f569fd0ae84bded1f0bb1ff57e40a2bdd"
}

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