@nuxt/bridge-edge 3.0.0-27445575.d404484 → 3.0.0-27445576.02e683d
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/chunks/module.mjs
CHANGED
|
@@ -953,6 +953,7 @@ export default () => {};`;
|
|
|
953
953
|
});
|
|
954
954
|
function addDeclarationTemplates(ctx) {
|
|
955
955
|
const nuxt = useNuxt();
|
|
956
|
+
const stripExtension = (path) => path.replace(/\.[a-z]+$/, "");
|
|
956
957
|
const resolved = {};
|
|
957
958
|
const r = (id) => {
|
|
958
959
|
if (resolved[id]) {
|
|
@@ -962,13 +963,13 @@ function addDeclarationTemplates(ctx) {
|
|
|
962
963
|
if (isAbsolute(path)) {
|
|
963
964
|
path = relative(join$1(nuxt.options.buildDir, "types"), path);
|
|
964
965
|
}
|
|
965
|
-
path = path
|
|
966
|
+
path = stripExtension(path);
|
|
966
967
|
resolved[id] = path;
|
|
967
968
|
return path;
|
|
968
969
|
};
|
|
969
970
|
addTemplate({
|
|
970
971
|
filename: "imports.d.ts",
|
|
971
|
-
getContents: () => toExports(ctx.autoImports)
|
|
972
|
+
getContents: () => toExports(ctx.autoImports.map((i) => ({ ...i, from: stripExtension(i.from) })))
|
|
972
973
|
});
|
|
973
974
|
addTemplate({
|
|
974
975
|
filename: "types/auto-imports.d.ts",
|
package/dist/chunks/module2.mjs
CHANGED
|
@@ -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.0.0-
|
|
6
|
+
const version = "3.0.0-27445576.02e683d";
|
|
7
7
|
|
|
8
8
|
const middlewareTemplate = {
|
|
9
9
|
filename: "middleware.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/bridge-edge",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-27445576.02e683d",
|
|
4
4
|
"repository": "nuxt/framework",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
|
|
22
22
|
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
|
23
23
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
|
24
|
-
"@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-
|
|
25
|
-
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-
|
|
24
|
+
"@nuxt/kit": "npm:@nuxt/kit-edge@3.0.0-27445576.02e683d",
|
|
25
|
+
"@nuxt/nitro": "npm:@nuxt/nitro-edge@3.0.0-27445576.02e683d",
|
|
26
26
|
"@nuxt/postcss8": "^1.1.3",
|
|
27
|
-
"@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-
|
|
27
|
+
"@nuxt/schema": "npm:@nuxt/schema-edge@3.0.0-27445576.02e683d",
|
|
28
28
|
"@vitejs/plugin-legacy": "^1.6.4",
|
|
29
29
|
"@vue/composition-api": "^1.4.6",
|
|
30
30
|
"@vueuse/head": "^0.7.5",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"mlly": "^0.4.2",
|
|
46
46
|
"murmurhash-es": "^0.1.1",
|
|
47
47
|
"node-fetch": "^3.2.0",
|
|
48
|
-
"nuxi": "npm:nuxi-edge@3.0.0-
|
|
48
|
+
"nuxi": "npm:nuxi-edge@3.0.0-27445576.02e683d",
|
|
49
49
|
"p-debounce": "^4.0.0",
|
|
50
50
|
"pathe": "^0.2.0",
|
|
51
51
|
"postcss": "^8",
|