@nuxt/bridge-edge 3.2.1-28628424.85cf8fc → 3.3.0-28636338.59b5e24

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.
@@ -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.2.1-28628424.85cf8fc";
6
+ const version = "3.3.0-28636338.59b5e24";
7
7
 
8
8
  const middlewareTemplate = {
9
9
  filename: "middleware.js",
@@ -1,6 +1,6 @@
1
1
  import { onBeforeMount, onServerPrefetch, onUnmounted, ref, shallowRef, getCurrentInstance, watch, toRef, unref, getCurrentScope, onScopeDispose } from "vue";
2
2
  import { useNuxtApp } from "../nuxt.mjs";
3
- import { toArray } from "../../utils/toArray";
3
+ import { toArray } from "../utils/toArray.mjs";
4
4
  import { createError } from "./error.mjs";
5
5
  const isDefer = (dedupe) => dedupe === "defer" || dedupe === false;
6
6
  export function useAsyncData(...args) {
@@ -0,0 +1 @@
1
+ export declare function toArray<T>(value: T | T[]): T[];
@@ -0,0 +1,3 @@
1
+ export function toArray(value) {
2
+ return Array.isArray(value) ? value : [value];
3
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/bridge-edge",
3
- "version": "3.2.1-28628424.85cf8fc",
3
+ "version": "3.3.0-28636338.59b5e24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/bridge.git"
@@ -21,23 +21,23 @@
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.6",
25
- "@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.2.1-28628424.85cf8fc",
24
+ "@babel/plugin-transform-typescript": "^7.24.7",
25
+ "@nuxt/bridge-schema": "npm:@nuxt/bridge-schema-edge@3.3.0-28636338.59b5e24",
26
26
  "@nuxt/devalue": "^2.0.2",
27
- "@nuxt/kit": "3.11.2",
27
+ "@nuxt/kit": "3.12.1",
28
28
  "@nuxt/postcss8": "^1.1.3",
29
- "@nuxt/schema": "3.11.2",
29
+ "@nuxt/schema": "3.12.1",
30
30
  "@nuxt/ui-templates": "^1.3.4",
31
- "@rollup/plugin-replace": "^5.0.5",
32
- "@unhead/ssr": "^1.9.11",
33
- "@unhead/vue": "^1.9.11",
34
- "@vitejs/plugin-legacy": "^5.4.0",
31
+ "@rollup/plugin-replace": "^5.0.7",
32
+ "@unhead/ssr": "^1.9.12",
33
+ "@unhead/vue": "^1.9.12",
34
+ "@vitejs/plugin-legacy": "^5.4.1",
35
35
  "@vitejs/plugin-vue2": "^2.3.1",
36
36
  "acorn": "^8.11.3",
37
37
  "cookie-es": "^1.1.0",
38
38
  "defu": "^6.1.4",
39
39
  "destr": "^2.0.3",
40
- "enhanced-resolve": "^5.16.1",
40
+ "enhanced-resolve": "^5.17.0",
41
41
  "esbuild-loader": "^4.1.0",
42
42
  "escape-string-regexp": "^5.0.0",
43
43
  "estree-walker": "^3.0.3",
@@ -51,7 +51,7 @@
51
51
  "klona": "^2.0.6",
52
52
  "knitwork": "^1.1.0",
53
53
  "magic-string": "^0.30.10",
54
- "mlly": "^1.7.0",
54
+ "mlly": "^1.7.1",
55
55
  "nitropack": "^2.9.6",
56
56
  "node-fetch": "^3.3.2",
57
57
  "nypm": "^0.3.8",
@@ -68,13 +68,13 @@
68
68
  "scule": "^1.3.0",
69
69
  "semver": "^7.6.2",
70
70
  "std-env": "^3.7.0",
71
- "terser": "^5.31.0",
71
+ "terser": "^5.31.1",
72
72
  "ufo": "^1.5.3",
73
73
  "unctx": "^2.3.1",
74
74
  "unimport": "^3.7.2",
75
75
  "unplugin": "^1.10.1",
76
76
  "untyped": "^1.4.2",
77
- "vite": "~5.2.12",
77
+ "vite": "~5.2.13",
78
78
  "vite-node": "^1.6.0",
79
79
  "vue-bundle-renderer": "^2.1.0"
80
80
  },