nuxt-site-config-kit 3.2.2 → 3.2.3
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/index.cjs +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{nuxt-site-config-kit.B91Njd6f.mjs → nuxt-site-config-kit.Brr2J4co.mjs} +1 -1
- package/dist/shared/{nuxt-site-config-kit.B3BiEa0J.cjs → nuxt-site-config-kit.DDQMwTkP.cjs} +1 -1
- package/dist/urls.cjs +1 -1
- package/dist/urls.mjs +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -23,4 +23,5 @@ declare module '@nuxt/schema' {
|
|
|
23
23
|
|
|
24
24
|
declare function useNitroOrigin(): string;
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { getSiteConfigStack, initSiteConfig, installNuxtSiteConfig, updateSiteConfig, useNitroOrigin, useSiteConfig };
|
|
27
|
+
export type { AssertionModes, ModuleAssertion };
|
package/dist/index.d.mts
CHANGED
|
@@ -23,4 +23,5 @@ declare module '@nuxt/schema' {
|
|
|
23
23
|
|
|
24
24
|
declare function useNitroOrigin(): string;
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { getSiteConfigStack, initSiteConfig, installNuxtSiteConfig, updateSiteConfig, useNitroOrigin, useSiteConfig };
|
|
27
|
+
export type { AssertionModes, ModuleAssertion };
|
package/dist/index.d.ts
CHANGED
|
@@ -23,4 +23,5 @@ declare module '@nuxt/schema' {
|
|
|
23
23
|
|
|
24
24
|
declare function useNitroOrigin(): string;
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { getSiteConfigStack, initSiteConfig, installNuxtSiteConfig, updateSiteConfig, useNitroOrigin, useSiteConfig };
|
|
27
|
+
export type { AssertionModes, ModuleAssertion };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createSitePathResolver, g as getSiteConfigStack, i as initSiteConfig, a as installNuxtSiteConfig, u as updateSiteConfig, e as useNitroOrigin, b as useSiteConfig, w as withSiteTrailingSlash, d as withSiteUrl } from './shared/nuxt-site-config-kit.
|
|
1
|
+
export { c as createSitePathResolver, g as getSiteConfigStack, i as initSiteConfig, a as installNuxtSiteConfig, u as updateSiteConfig, e as useNitroOrigin, b as useSiteConfig, w as withSiteTrailingSlash, d as withSiteUrl } from './shared/nuxt-site-config-kit.Brr2J4co.mjs';
|
|
2
2
|
import '@nuxt/kit';
|
|
3
3
|
import 'site-config-stack/urls';
|
|
4
4
|
import 'std-env';
|
|
@@ -100,7 +100,7 @@ function useNitroOrigin() {
|
|
|
100
100
|
}
|
|
101
101
|
if (typeof host === "string" && host.includes(":")) {
|
|
102
102
|
port = host.split(":").pop();
|
|
103
|
-
host = host.split(":")[0];
|
|
103
|
+
host = host.split(":")[0] || false;
|
|
104
104
|
}
|
|
105
105
|
port = port ? `:${port}` : "";
|
|
106
106
|
return `${protocol}://${host}${port}/`;
|
|
@@ -102,7 +102,7 @@ function useNitroOrigin() {
|
|
|
102
102
|
}
|
|
103
103
|
if (typeof host === "string" && host.includes(":")) {
|
|
104
104
|
port = host.split(":").pop();
|
|
105
|
-
host = host.split(":")[0];
|
|
105
|
+
host = host.split(":")[0] || false;
|
|
106
106
|
}
|
|
107
107
|
port = port ? `:${port}` : "";
|
|
108
108
|
return `${protocol}://${host}${port}/`;
|
package/dist/urls.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
require('@nuxt/kit');
|
|
4
4
|
require('site-config-stack/urls');
|
|
5
5
|
require('std-env');
|
|
6
|
-
const urls = require('./shared/nuxt-site-config-kit.
|
|
6
|
+
const urls = require('./shared/nuxt-site-config-kit.DDQMwTkP.cjs');
|
|
7
7
|
require('pkg-types');
|
|
8
8
|
require('site-config-stack');
|
|
9
9
|
require('ufo');
|
package/dist/urls.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@nuxt/kit';
|
|
2
2
|
import 'site-config-stack/urls';
|
|
3
3
|
import 'std-env';
|
|
4
|
-
export { c as createSitePathResolver, w as withSiteTrailingSlash, d as withSiteUrl } from './shared/nuxt-site-config-kit.
|
|
4
|
+
export { c as createSitePathResolver, w as withSiteTrailingSlash, d as withSiteUrl } from './shared/nuxt-site-config-kit.Brr2J4co.mjs';
|
|
5
5
|
import 'pkg-types';
|
|
6
6
|
import 'site-config-stack';
|
|
7
7
|
import 'ufo';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-site-config-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.2.
|
|
4
|
+
"version": "3.2.3",
|
|
5
5
|
"description": "Shared site configuration build-time utilities for Nuxt 3 modules.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"urls.d.ts"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@nuxt/kit": "^
|
|
41
|
-
"pkg-types": "^2.
|
|
40
|
+
"@nuxt/kit": "^4.1.1",
|
|
41
|
+
"pkg-types": "^2.3.0",
|
|
42
42
|
"std-env": "^3.9.0",
|
|
43
43
|
"ufo": "^1.6.1",
|
|
44
|
-
"site-config-stack": "3.2.
|
|
44
|
+
"site-config-stack": "3.2.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@nuxt/schema": "^
|
|
47
|
+
"@nuxt/schema": "^4.1.1"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"lint": "eslint . --fix",
|