nuxt-i18n-micro 1.22.0 → 1.22.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/abbb5279-58f3-4c1b-a9fd-4835e34f99c3.json +1 -0
- package/dist/client/index.html +2 -2
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/types.d.mts +2 -6
- package/dist/types.d.ts +2 -6
- package/package.json +1 -1
- package/dist/client/_nuxt/builds/meta/81c32536-cb91-403a-af78-cc7ad6759ac9.json +0 -1
package/dist/client/200.html
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-i18n-micro/_nuxt/CnNUpwZL.js">
|
|
9
9
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-i18n-micro/_nuxt/error-500.CBAEdpZV.css">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-i18n-micro/_nuxt/BKcmVa-6.js">
|
|
11
|
-
<script type="module" src="/__nuxt-i18n-micro/_nuxt/CeFL7aT9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},
|
|
12
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-i18n-micro",buildId:"
|
|
11
|
+
<script type="module" src="/__nuxt-i18n-micro/_nuxt/CeFL7aT9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1729012119580,false]</script>
|
|
12
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-i18n-micro",buildId:"abbb5279-58f3-4c1b-a9fd-4835e34f99c3",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/client/404.html
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-i18n-micro/_nuxt/CnNUpwZL.js">
|
|
9
9
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-i18n-micro/_nuxt/error-500.CBAEdpZV.css">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-i18n-micro/_nuxt/BKcmVa-6.js">
|
|
11
|
-
<script type="module" src="/__nuxt-i18n-micro/_nuxt/CeFL7aT9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},
|
|
12
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-i18n-micro",buildId:"
|
|
11
|
+
<script type="module" src="/__nuxt-i18n-micro/_nuxt/CeFL7aT9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1729012119581,false]</script>
|
|
12
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-i18n-micro",buildId:"abbb5279-58f3-4c1b-a9fd-4835e34f99c3",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"
|
|
1
|
+
{"id":"abbb5279-58f3-4c1b-a9fd-4835e34f99c3","timestamp":1729012106198}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"id":"abbb5279-58f3-4c1b-a9fd-4835e34f99c3","timestamp":1729012106198,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
package/dist/client/index.html
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-i18n-micro/_nuxt/CnNUpwZL.js">
|
|
9
9
|
<link rel="prefetch" as="style" crossorigin href="/__nuxt-i18n-micro/_nuxt/error-500.CBAEdpZV.css">
|
|
10
10
|
<link rel="prefetch" as="script" crossorigin href="/__nuxt-i18n-micro/_nuxt/BKcmVa-6.js">
|
|
11
|
-
<script type="module" src="/__nuxt-i18n-micro/_nuxt/CeFL7aT9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},
|
|
12
|
-
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-i18n-micro",buildId:"
|
|
11
|
+
<script type="module" src="/__nuxt-i18n-micro/_nuxt/CeFL7aT9.js" crossorigin></script></head><body><div id="__nuxt"></div><div id="teleports"></div><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1729012119582,false]</script>
|
|
12
|
+
<script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-i18n-micro",buildId:"abbb5279-58f3-4c1b-a9fd-4835e34f99c3",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script></body></html>
|
package/dist/module.d.mts
CHANGED
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -530,7 +530,7 @@ const module = defineNuxtModule({
|
|
|
530
530
|
localeManager.locales.forEach((locale) => {
|
|
531
531
|
if (locale.code !== options.defaultLocale || options.includeDefaultLocaleRoute) {
|
|
532
532
|
pages.forEach((page) => {
|
|
533
|
-
if (!/\.[a-z0-9]+$/i.test(page)
|
|
533
|
+
if (!/\.[a-z0-9]+$/i.test(page)) {
|
|
534
534
|
routes.push(`/${locale.code}${page}`);
|
|
535
535
|
}
|
|
536
536
|
});
|
|
@@ -559,7 +559,7 @@ const module = defineNuxtModule({
|
|
|
559
559
|
const routesSet = prerenderRoutes.routes;
|
|
560
560
|
const additionalRoutes = /* @__PURE__ */ new Set();
|
|
561
561
|
routesSet.forEach((route) => {
|
|
562
|
-
if (!/\.[a-z0-9]+$/i.test(route)
|
|
562
|
+
if (!/\.[a-z0-9]+$/i.test(route)) {
|
|
563
563
|
localeManager.locales.forEach((locale) => {
|
|
564
564
|
if (locale.code !== options.defaultLocale) {
|
|
565
565
|
if (route === "/") {
|
package/dist/types.d.mts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
import type { default as Module, ModuleHooks } from './module.js'
|
|
1
|
+
import type { ModuleHooks } from './module.js'
|
|
4
2
|
|
|
5
3
|
declare module '@nuxt/schema' {
|
|
6
4
|
interface NuxtHooks extends ModuleHooks {}
|
|
7
5
|
}
|
|
8
6
|
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
export { type ModuleHooks, default } from './module.js'
|
|
7
|
+
export { type Getter, type GlobalLocaleRoutes, type Locale, type LocaleCode, type ModuleHooks, type ModuleOptions, type PluralFunc, default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
import type { default as Module, ModuleHooks } from './module'
|
|
1
|
+
import type { ModuleHooks } from './module'
|
|
4
2
|
|
|
5
3
|
declare module '@nuxt/schema' {
|
|
6
4
|
interface NuxtHooks extends ModuleHooks {}
|
|
7
5
|
}
|
|
8
6
|
|
|
9
|
-
export type
|
|
10
|
-
|
|
11
|
-
export { type ModuleHooks, default } from './module'
|
|
7
|
+
export { type Getter, type GlobalLocaleRoutes, type Locale, type LocaleCode, type ModuleHooks, type ModuleOptions, type PluralFunc, default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-i18n-micro",
|
|
3
|
-
"version": "1.22.
|
|
3
|
+
"version": "1.22.2",
|
|
4
4
|
"description": "Nuxt I18n Micro is a lightweight, high-performance internationalization module for Nuxt, designed to handle multi-language support with minimal overhead, fast build times, and efficient runtime performance.",
|
|
5
5
|
"repository": "s00d/nuxt-i18n-micro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"81c32536-cb91-403a-af78-cc7ad6759ac9","timestamp":1728386444211,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|