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

@operato/i18n

Package Overview
Dependencies
Maintainers
6
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@operato/i18n - npm Package Compare versions

Comparing version 2.0.0-beta.15 to 2.0.0-beta.16

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

## [2.0.0-beta.16](https://github.com/hatiolab/operato/compare/v2.0.0-beta.15...v2.0.0-beta.16) (2024-06-10)
### :bug: Bug Fix
* revert i18next version ([504b36f](https://github.com/hatiolab/operato/commit/504b36f72e0e453f84fe5d51dc6fb36226e6e58e))
## [2.0.0-beta.15](https://github.com/hatiolab/operato/compare/v2.0.0-beta.14...v2.0.0-beta.15) (2024-06-10)

@@ -8,0 +17,0 @@

8

dist/src/config.js

@@ -8,3 +8,2 @@ /**

import _i18next from 'i18next';
import HttpBackend from 'i18next-http-backend';
const subdomain = (_a = location.pathname.match(/\/domain\/([^\/]+)/)) === null || _a === void 0 ? void 0 : _a[1];

@@ -26,8 +25,3 @@ _i18next

backend: {
backends: [HttpBackend],
backendOptions: [
{
loadPath: subdomain ? `/domain/${subdomain}/{ns}/{lng}.json` : `/{ns}/{lng}.json`
}
]
loadPath: subdomain ? `/domain/${subdomain}/{ns}/{lng}.json` : `/{ns}/{lng}.json`
},

@@ -34,0 +28,0 @@ detection: {

@@ -5,3 +5,3 @@ {

"author": "heartyoh",
"version": "2.0.0-beta.15",
"version": "2.0.0-beta.16",
"main": "dist/src/index.js",

@@ -91,3 +91,3 @@ "module": "dist/src/index.js",

},
"gitHead": "8f2297538050bd7eb288a6d9694e95411bcc2c88"
"gitHead": "d39ebda0ccb386c224c25373ef3fb94465a4aba3"
}

@@ -8,3 +8,2 @@ /**

import _i18next from 'i18next'
import HttpBackend from 'i18next-http-backend'

@@ -28,8 +27,3 @@ const subdomain = location.pathname.match(/\/domain\/([^\/]+)/)?.[1]

backend: {
backends: [HttpBackend],
backendOptions: [
{
loadPath: subdomain ? `/domain/${subdomain}/{ns}/{lng}.json` : `/{ns}/{lng}.json`
}
]
loadPath: subdomain ? `/domain/${subdomain}/{ns}/{lng}.json` : `/{ns}/{lng}.json`
},

@@ -36,0 +30,0 @@ detection: {

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