@kirejs/h3 0.2.2 → 0.2.4
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -7162,7 +7162,7 @@ function resolveClientScript(wire) {
|
|
|
7162
7162
|
try {
|
|
7163
7163
|
const nodePath = require("node:path");
|
|
7164
7164
|
const { existsSync } = require("node:fs");
|
|
7165
|
-
const main = require.resolve("
|
|
7165
|
+
const main = require.resolve(["@kirejs", "wire"].join("/")).replace(/\\/g, "/");
|
|
7166
7166
|
const marker = main.includes("/dist/") ? "/dist/" : main.includes("/src/") ? "/src/" : null;
|
|
7167
7167
|
const pkgDir = marker ? main.slice(0, main.indexOf(marker)) : nodePath.dirname(main);
|
|
7168
7168
|
const candidate = nodePath.join(pkgDir, "dist", "client", "auto.js");
|
package/dist/esm/index.js
CHANGED
|
@@ -7161,7 +7161,7 @@ function resolveClientScript(wire) {
|
|
|
7161
7161
|
try {
|
|
7162
7162
|
const nodePath = __require("node:path");
|
|
7163
7163
|
const { existsSync } = __require("node:fs");
|
|
7164
|
-
const main = __require.resolve("
|
|
7164
|
+
const main = __require.resolve(["@kirejs", "wire"].join("/")).replace(/\\/g, "/");
|
|
7165
7165
|
const marker = main.includes("/dist/") ? "/dist/" : main.includes("/src/") ? "/src/" : null;
|
|
7166
7166
|
const pkgDir = marker ? main.slice(0, main.indexOf(marker)) : nodePath.dirname(main);
|
|
7167
7167
|
const candidate = nodePath.join(pkgDir, "dist", "client", "auto.js");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirejs/h3",
|
|
3
3
|
"description": "h3 (unjs) integration for Kire — view rendering, a view() helper and one-line Kirewire setup.",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.4",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
7
7
|
"types": "./dist/types/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"author": "drysius",
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"kire": "0.2.
|
|
32
|
+
"kire": "0.2.4"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@kirejs/wire": "workspace:*",
|