@nuxt/bridge-edge 3.4.0-29107292.b82fa62 → 3.5.0-29142082.f9326ec
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.
|
@@ -7,7 +7,7 @@ import { genObjectFromRawEntries, genDynamicImport } from 'knitwork';
|
|
|
7
7
|
import fse from 'fs-extra';
|
|
8
8
|
import { debounce } from 'perfect-debounce';
|
|
9
9
|
import { isIgnored, logger } from '@nuxt/kit';
|
|
10
|
-
import { g as generateDevSSRManifest, i as isCSS, h as hashId, u as uniq } from '../shared/bridge-edge.
|
|
10
|
+
import { g as generateDevSSRManifest, i as isCSS, h as hashId, u as uniq } from '../shared/bridge-edge.DRPBE2e8.mjs';
|
|
11
11
|
import { c as createIsExternal } from './vite.mjs';
|
|
12
12
|
import 'h3';
|
|
13
13
|
import 'node-fetch';
|
package/dist/chunks/module.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import hash from 'hash-sum';
|
|
|
3
3
|
import { resolve } from 'pathe';
|
|
4
4
|
import { genObjectFromRawEntries, genImport } from 'knitwork';
|
|
5
5
|
|
|
6
|
-
const version = "3.
|
|
6
|
+
const version = "3.5.0-29142082.f9326ec";
|
|
7
7
|
|
|
8
8
|
const middlewareTemplate = {
|
|
9
9
|
filename: "middleware.js",
|
package/dist/chunks/vite.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { normalize, resolve, isAbsolute, join } from 'pathe';
|
|
|
2
2
|
import { logger, isIgnored } from '@nuxt/kit';
|
|
3
3
|
import { resolve as resolve$1, findExports, sanitizeFilePath } from 'mlly';
|
|
4
4
|
import { joinURL, withoutLeadingSlash, withTrailingSlash } from 'ufo';
|
|
5
|
-
import { d as distDir, t as transpile, i as isCSS, p as prepareManifests, a as pkgDir } from '../shared/bridge-edge.
|
|
5
|
+
import { d as distDir, t as transpile, i as isCSS, p as prepareManifests, a as pkgDir } from '../shared/bridge-edge.DRPBE2e8.mjs';
|
|
6
6
|
import createVuePlugin from '@vitejs/plugin-vue2';
|
|
7
7
|
import { getPort } from 'get-port-please';
|
|
8
8
|
import { toNodeListener, createApp, defineEventHandler, defineLazyEventHandler, eventHandler, createError } from 'h3';
|
|
@@ -368,8 +368,8 @@ async function buildClient(ctx) {
|
|
|
368
368
|
ctx.config.build.rollupOptions = defu(ctx.config.build.rollupOptions, {
|
|
369
369
|
output: {
|
|
370
370
|
// https://github.com/vitejs/vite/tree/main/packages/vite/src/node/build.ts#L464-L478
|
|
371
|
-
assetFileNames: ctx.nuxt.options.dev ?
|
|
372
|
-
chunkFileNames: ctx.nuxt.options.dev ?
|
|
371
|
+
assetFileNames: ctx.nuxt.options.dev ? void 0 : withoutLeadingSlash(join(ctx.nuxt.options.app.buildAssetsDir, "[name].[hash].[ext]")),
|
|
372
|
+
chunkFileNames: ctx.nuxt.options.dev ? void 0 : withoutLeadingSlash(join(ctx.nuxt.options.app.buildAssetsDir, "[name].[hash].js")),
|
|
373
373
|
entryFileNames: ctx.nuxt.options.dev ? "entry.js" : withoutLeadingSlash(join(ctx.nuxt.options.app.buildAssetsDir, "[name].[hash].js"))
|
|
374
374
|
}
|
|
375
375
|
});
|
|
@@ -428,7 +428,7 @@ async function buildServer(ctx) {
|
|
|
428
428
|
alias[p.name] = p.mode === "client" ? `defaultexport:${resolve(ctx.nuxt.options.buildDir, "empty.js")}` : `defaultexport:${p.src}`;
|
|
429
429
|
}
|
|
430
430
|
const serverConfig = await stubViteExports.mergeConfig(ctx.config, {
|
|
431
|
-
base: ctx.nuxt.options.dev ? joinURL(ctx.nuxt.options.app.baseURL, ctx.nuxt.options.app.buildAssetsDir) :
|
|
431
|
+
base: ctx.nuxt.options.dev ? joinURL(ctx.nuxt.options.app.baseURL, ctx.nuxt.options.app.buildAssetsDir) : void 0,
|
|
432
432
|
experimental: {
|
|
433
433
|
renderBuiltUrl: (filename, { type, hostType }) => {
|
|
434
434
|
if (hostType !== "js") {
|
|
@@ -714,8 +714,8 @@ async function bundle(nuxt, builder) {
|
|
|
714
714
|
)
|
|
715
715
|
};
|
|
716
716
|
if (!nuxt.options.dev) {
|
|
717
|
-
ctx.config.server.watch =
|
|
718
|
-
ctx.config.build.watch =
|
|
717
|
+
ctx.config.server.watch = void 0;
|
|
718
|
+
ctx.config.build.watch = void 0;
|
|
719
719
|
}
|
|
720
720
|
await ctx.nuxt.callHook("vite:extend", ctx);
|
|
721
721
|
if (nuxt.options.dev) {
|
package/dist/module.mjs
CHANGED
|
@@ -259,7 +259,7 @@ async function setupNitroBridge() {
|
|
|
259
259
|
encoding: mockProxy,
|
|
260
260
|
he: mockProxy,
|
|
261
261
|
resolve: mockProxy,
|
|
262
|
-
"source-map": mockProxy,
|
|
262
|
+
...nuxt.options.dev ? {} : { "source-map": mockProxy },
|
|
263
263
|
"lodash.template": mockProxy,
|
|
264
264
|
"serialize-javascript": mockProxy,
|
|
265
265
|
// Renderer
|
|
@@ -811,7 +811,7 @@ async function setupAppBridge(_options) {
|
|
|
811
811
|
nuxt.hook("builder:generateApp", () => builder.generateRoutesAndFiles());
|
|
812
812
|
});
|
|
813
813
|
nuxt.options.build.transpile.push("vuex");
|
|
814
|
-
nuxt.options.build.transpile.push("h3", "iron-webcrypto", "ohash", "ofetch", "unenv", "cookie-es");
|
|
814
|
+
nuxt.options.build.transpile.push("h3", "iron-webcrypto", "ohash", "ofetch", "unenv", "cookie-es", "node-mock-http");
|
|
815
815
|
nuxt.options.build.transpile.push("unhead");
|
|
816
816
|
nuxt.options.fetch.server = false;
|
|
817
817
|
nuxt.options.fetch.client = false;
|
|
@@ -1268,7 +1268,7 @@ const importsModule = defineNuxtModule({
|
|
|
1268
1268
|
dirs: [],
|
|
1269
1269
|
transform: {
|
|
1270
1270
|
include: [],
|
|
1271
|
-
exclude:
|
|
1271
|
+
exclude: void 0
|
|
1272
1272
|
}
|
|
1273
1273
|
},
|
|
1274
1274
|
async setup(options, nuxt) {
|
|
@@ -1729,7 +1729,7 @@ const PageMetaPlugin = createUnplugin(
|
|
|
1729
1729
|
if (s.hasChanged()) {
|
|
1730
1730
|
return {
|
|
1731
1731
|
code: s.toString(),
|
|
1732
|
-
map: options.sourcemap ? s.generateMap({ hires: true }) :
|
|
1732
|
+
map: options.sourcemap ? s.generateMap({ hires: true }) : void 0
|
|
1733
1733
|
};
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/bridge-edge",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0-29142082.f9326ec",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/bridge.git"
|
|
@@ -21,67 +21,67 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
|
|
23
23
|
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
24
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
25
|
-
"@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.
|
|
24
|
+
"@babel/plugin-transform-typescript": "^7.27.1",
|
|
25
|
+
"@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.5.0-29142082.f9326ec",
|
|
26
26
|
"@nuxt/devalue": "^2.0.2",
|
|
27
|
-
"@nuxt/kit": "3.17.
|
|
28
|
-
"@nuxt/schema": "3.17.
|
|
27
|
+
"@nuxt/kit": "3.17.4",
|
|
28
|
+
"@nuxt/schema": "3.17.4",
|
|
29
29
|
"@nuxt/ui-templates": "^1.3.4",
|
|
30
30
|
"@rollup/plugin-replace": "^6.0.2",
|
|
31
31
|
"@unhead/ssr": "^1.11.20",
|
|
32
32
|
"@unhead/vue": "^1.11.20",
|
|
33
|
-
"@vitejs/plugin-legacy": "^6.
|
|
33
|
+
"@vitejs/plugin-legacy": "^6.1.1",
|
|
34
34
|
"@vitejs/plugin-vue2": "^2.3.3",
|
|
35
|
-
"acorn": "^8.14.
|
|
35
|
+
"acorn": "^8.14.1",
|
|
36
36
|
"cookie-es": "^2.0.0",
|
|
37
37
|
"defu": "^6.1.4",
|
|
38
|
-
"destr": "^2.0.
|
|
38
|
+
"destr": "^2.0.5",
|
|
39
39
|
"enhanced-resolve": "^5.18.1",
|
|
40
|
-
"esbuild-loader": "^4.
|
|
40
|
+
"esbuild-loader": "^4.3.0",
|
|
41
41
|
"escape-string-regexp": "^5.0.0",
|
|
42
42
|
"estree-walker": "^3.0.3",
|
|
43
|
-
"exsolve": "^1.0.
|
|
43
|
+
"exsolve": "^1.0.5",
|
|
44
44
|
"externality": "^1.0.2",
|
|
45
45
|
"fs-extra": "^10.1.0",
|
|
46
46
|
"get-port-please": "^3.1.2",
|
|
47
|
-
"h3": "
|
|
47
|
+
"h3": "~1.14.0",
|
|
48
48
|
"hash-sum": "^2.0.0",
|
|
49
49
|
"hookable": "5.5.3",
|
|
50
50
|
"klona": "^2.0.6",
|
|
51
51
|
"knitwork": "^1.2.0",
|
|
52
52
|
"magic-string": "^0.30.17",
|
|
53
53
|
"mlly": "^1.7.4",
|
|
54
|
-
"mocked-exports": "^0.1.
|
|
55
|
-
"nitropack": "^2.
|
|
54
|
+
"mocked-exports": "^0.1.1",
|
|
55
|
+
"nitropack": "^2.11.12",
|
|
56
56
|
"node-fetch": "^3.3.2",
|
|
57
|
-
"nypm": "^0.
|
|
57
|
+
"nypm": "^0.6.0",
|
|
58
58
|
"ofetch": "^1.4.1",
|
|
59
59
|
"ohash": "^2.0.11",
|
|
60
|
-
"pathe": "^2.0.
|
|
60
|
+
"pathe": "^2.0.3",
|
|
61
61
|
"perfect-debounce": "^1.0.0",
|
|
62
|
-
"pkg-types": "^2.0
|
|
62
|
+
"pkg-types": "^2.1.0",
|
|
63
63
|
"postcss-import-resolver": "^2.0.0",
|
|
64
64
|
"scule": "^1.3.0",
|
|
65
|
-
"std-env": "^3.
|
|
66
|
-
"terser": "^5.
|
|
67
|
-
"ufo": "^1.
|
|
68
|
-
"unimport": "^5.0.
|
|
65
|
+
"std-env": "^3.9.0",
|
|
66
|
+
"terser": "^5.40.0",
|
|
67
|
+
"ufo": "^1.6.1",
|
|
68
|
+
"unimport": "^5.0.1",
|
|
69
69
|
"unplugin": "^1.16.1",
|
|
70
70
|
"untyped": "^2.0.0",
|
|
71
|
-
"vite": "~6.
|
|
72
|
-
"vite-node": "^3.
|
|
71
|
+
"vite": "~6.3.5",
|
|
72
|
+
"vite-node": "^3.1.4",
|
|
73
73
|
"vue-bundle-renderer": "^2.1.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@babel/core": "^7.
|
|
77
|
-
"@types/estree": "^1.0.
|
|
76
|
+
"@babel/core": "^7.27.3",
|
|
77
|
+
"@types/estree": "^1.0.7",
|
|
78
78
|
"@types/fs-extra": "^9.0.13",
|
|
79
79
|
"@types/hash-sum": "^1.0.2",
|
|
80
80
|
"@types/webpack": "^4.41.40",
|
|
81
81
|
"@vue/compiler-sfc": "^2.7.16",
|
|
82
|
-
"@vue/reactivity": "^3.5.
|
|
83
|
-
"rollup": "^4.
|
|
84
|
-
"unbuild": "3.
|
|
82
|
+
"@vue/reactivity": "^3.5.16",
|
|
83
|
+
"rollup": "^4.41.1",
|
|
84
|
+
"unbuild": "3.5.0",
|
|
85
85
|
"vue": "^2.7.16",
|
|
86
86
|
"vue-meta": "^2.4.0",
|
|
87
87
|
"vue-router": "^3.6.5",
|