@nuxt/bridge-edge 3.3.1-28662432.1fd9e98 → 3.3.1-28735063.574e7ee

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 { h as hashId, u as uniq, g as generateDevSSRManifest, i as isCSS } from '../shared/bridge-edge.bc242c82.mjs';
10
+ import { h as hashId, u as uniq, g as generateDevSSRManifest, i as isCSS } from '../shared/bridge-edge.90dc9deb.mjs';
11
11
  import { c as createIsExternal } from './vite.mjs';
12
12
  import 'h3';
13
13
  import 'node-fetch';
@@ -3,7 +3,7 @@ import hash from 'hash-sum';
3
3
  import { resolve } from 'pathe';
4
4
  import { genImport, genObjectFromRawEntries } from 'knitwork';
5
5
 
6
- const version = "3.3.1-28662432.1fd9e98";
6
+ const version = "3.3.1-28735063.574e7ee";
7
7
 
8
8
  const middlewareTemplate = {
9
9
  filename: "middleware.js",
@@ -2,7 +2,7 @@ import { normalize, isAbsolute, resolve as resolve$1, join } from 'pathe';
2
2
  import { logger, isIgnored } from '@nuxt/kit';
3
3
  import { resolve, findExports, sanitizeFilePath } from 'mlly';
4
4
  import { joinURL, withoutLeadingSlash, withTrailingSlash } from 'ufo';
5
- import { t as transpile, d as distDir, i as isCSS, p as prepareManifests, a as pkgDir } from '../shared/bridge-edge.bc242c82.mjs';
5
+ import { t as transpile, d as distDir, i as isCSS, p as prepareManifests, a as pkgDir } from '../shared/bridge-edge.90dc9deb.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';
package/dist/module.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import '@nuxt/kit';
2
2
  import 'h3';
3
- export { m as default } from './shared/bridge-edge.bc242c82.mjs';
3
+ export { m as default } from './shared/bridge-edge.90dc9deb.mjs';
4
4
  import 'fs';
5
5
  import 'url';
6
6
  import 'node-fetch';
@@ -807,7 +807,7 @@ async function setupAppBridge(_options) {
807
807
  nuxt.hook("builder:generateApp", () => builder.generateRoutesAndFiles());
808
808
  });
809
809
  nuxt.options.build.transpile.push("vuex");
810
- nuxt.options.build.transpile.push("h3", "iron-webcrypto", "ohash", "ofetch", "unenv");
810
+ nuxt.options.build.transpile.push("h3", "iron-webcrypto", "ohash", "ofetch", "unenv", "cookie-es");
811
811
  nuxt.options.build.transpile.push("unhead");
812
812
  nuxt.options.fetch.server = false;
813
813
  nuxt.options.fetch.client = false;
@@ -1818,7 +1818,7 @@ function getObjectExpression(node) {
1818
1818
  return node;
1819
1819
  }
1820
1820
  if (node.type === "CallExpression") {
1821
- if (node.callee.type === "Identifier" && !node.callee.name.includes("defineComponent")) {
1821
+ if (node.callee.type === "Identifier" && !/define(Component|NuxtComponent)/.test(node.callee.name)) {
1822
1822
  return;
1823
1823
  }
1824
1824
  if (node.arguments.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/bridge-edge",
3
- "version": "3.3.1-28662432.1fd9e98",
3
+ "version": "3.3.1-28735063.574e7ee",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/bridge.git"
@@ -21,61 +21,61 @@
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.24.7",
25
- "@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.3.1-28662432.1fd9e98",
24
+ "@babel/plugin-transform-typescript": "^7.25.2",
25
+ "@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.3.1-28735063.574e7ee",
26
26
  "@nuxt/devalue": "^2.0.2",
27
- "@nuxt/kit": "3.12.2",
27
+ "@nuxt/kit": "3.12.4",
28
28
  "@nuxt/postcss8": "^1.1.3",
29
- "@nuxt/schema": "3.12.2",
29
+ "@nuxt/schema": "3.12.4",
30
30
  "@nuxt/ui-templates": "^1.3.4",
31
31
  "@rollup/plugin-replace": "^5.0.7",
32
- "@unhead/ssr": "^1.9.13",
33
- "@unhead/vue": "^1.9.13",
32
+ "@unhead/ssr": "^1.9.16",
33
+ "@unhead/vue": "^1.9.16",
34
34
  "@vitejs/plugin-legacy": "^5.4.1",
35
35
  "@vitejs/plugin-vue2": "^2.3.1",
36
- "acorn": "^8.12.0",
37
- "cookie-es": "^1.1.0",
36
+ "acorn": "^8.12.1",
37
+ "cookie-es": "^1.2.2",
38
38
  "defu": "^6.1.4",
39
39
  "destr": "^2.0.3",
40
- "enhanced-resolve": "^5.17.0",
41
- "esbuild-loader": "^4.2.0",
40
+ "enhanced-resolve": "^5.17.1",
41
+ "esbuild-loader": "^4.2.2",
42
42
  "escape-string-regexp": "^5.0.0",
43
43
  "estree-walker": "^3.0.3",
44
44
  "externality": "^1.0.2",
45
45
  "fs-extra": "^10.1.0",
46
46
  "get-port-please": "^3.1.2",
47
- "globby": "^14.0.1",
48
- "h3": "^1.11.1",
47
+ "globby": "^14.0.2",
48
+ "h3": "^1.12.0",
49
49
  "hash-sum": "^2.0.0",
50
50
  "hookable": "5.5.3",
51
51
  "klona": "^2.0.6",
52
52
  "knitwork": "^1.1.0",
53
- "magic-string": "^0.30.10",
53
+ "magic-string": "^0.30.11",
54
54
  "mlly": "^1.7.1",
55
- "nitropack": "^2.9.6",
55
+ "nitropack": "^2.9.7",
56
56
  "node-fetch": "^3.3.2",
57
- "nypm": "^0.3.8",
57
+ "nypm": "^0.3.9",
58
58
  "ofetch": "^1.3.4",
59
59
  "ohash": "^1.1.3",
60
60
  "pathe": "^1.1.2",
61
61
  "perfect-debounce": "^1.0.0",
62
- "pkg-types": "^1.1.1",
63
- "postcss": "^8.4.38",
62
+ "pkg-types": "^1.1.3",
63
+ "postcss": "^8.4.41",
64
64
  "postcss-import": "^16.1.0",
65
65
  "postcss-import-resolver": "^2.0.0",
66
- "postcss-preset-env": "^9.5.14",
66
+ "postcss-preset-env": "^10.0.0",
67
67
  "postcss-url": "^10.1.3",
68
68
  "scule": "^1.3.0",
69
- "semver": "^7.6.2",
69
+ "semver": "^7.6.3",
70
70
  "std-env": "^3.7.0",
71
- "terser": "^5.31.1",
72
- "ufo": "^1.5.3",
71
+ "terser": "^5.31.5",
72
+ "ufo": "^1.5.4",
73
73
  "unctx": "^2.3.1",
74
- "unimport": "^3.7.2",
75
- "unplugin": "^1.10.1",
74
+ "unimport": "^3.10.0",
75
+ "unplugin": "^1.12.1",
76
76
  "untyped": "^1.4.2",
77
- "vite": "~5.3.1",
78
- "vite-node": "^1.6.0",
77
+ "vite": "~5.4.0",
78
+ "vite-node": "^2.0.5",
79
79
  "vue-bundle-renderer": "^2.1.0"
80
80
  },
81
81
  "devDependencies": {
@@ -86,7 +86,7 @@
86
86
  "@types/hash-sum": "^1.0.2",
87
87
  "@types/node-fetch": "^3.0.2",
88
88
  "nuxt": "^2.18.1",
89
- "rollup": "^4.18.0",
89
+ "rollup": "^4.20.0",
90
90
  "unbuild": "2.0.0",
91
91
  "vue": "^2.7.15",
92
92
  "vue-router": "^3.6.5"