nitro-nightly 3.0.1-20251217-093053-f360ffee → 3.0.1-20251217-124302-0d9f782c
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/_build/rolldown.mjs +3 -3
- package/dist/_build/rollup.mjs +3 -3
- package/dist/_build/vite.build.mjs +2 -2
- package/dist/_build/vite.plugin.mjs +2 -2
- package/dist/_dev.mjs +1 -1
- package/dist/_libs/{@pi0 → @hiogawa}/vite-plugin-fullstack.mjs +237 -31
- package/dist/_libs/@jridgewell/gen-mapping.mjs +2 -166
- package/dist/_libs/@rollup/plugin-commonjs.mjs +9 -9
- package/dist/_libs/@rollup/plugin-inject.mjs +1 -1
- package/dist/_libs/@rollup/plugin-node-resolve.mjs +12 -12
- package/dist/_libs/@rollup/plugin-replace.mjs +1 -1
- package/dist/_libs/c12.mjs +2 -2
- package/dist/_libs/chokidar.mjs +238 -1790
- package/dist/_libs/giget.mjs +1 -1
- package/dist/_libs/unimport.mjs +1 -1
- package/dist/_libs/unwasm.mjs +1 -1
- package/dist/builder.mjs +1 -2
- package/dist/cli/_chunks/chokidar.mjs +3 -0
- package/dist/cli/_chunks/detect-acorn.mjs +1 -2
- package/dist/node_modules/unctx/package.json +16 -16
- package/dist/types/index.d.mts +17 -0
- package/dist/vite.mjs +2 -2
- package/package.json +11 -11
- package/dist/cli/_chunks/esm.mjs +0 -3
- package/dist/types/index.mjs +0 -1
|
@@ -522,15 +522,15 @@ var require_async = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
522
522
|
return [path$2.join(homedir, ".node_modules"), path$2.join(homedir, ".node_libraries")];
|
|
523
523
|
};
|
|
524
524
|
var defaultIsFile = function isFile(file, cb) {
|
|
525
|
-
fs$1.stat(file, function(err, stat$
|
|
526
|
-
if (!err) return cb(null, stat$
|
|
525
|
+
fs$1.stat(file, function(err, stat$1) {
|
|
526
|
+
if (!err) return cb(null, stat$1.isFile() || stat$1.isFIFO());
|
|
527
527
|
if (err.code === "ENOENT" || err.code === "ENOTDIR") return cb(null, false);
|
|
528
528
|
return cb(err);
|
|
529
529
|
});
|
|
530
530
|
};
|
|
531
531
|
var defaultIsDir = function isDirectory(dir, cb) {
|
|
532
|
-
fs$1.stat(dir, function(err, stat$
|
|
533
|
-
if (!err) return cb(null, stat$
|
|
532
|
+
fs$1.stat(dir, function(err, stat$1) {
|
|
533
|
+
if (!err) return cb(null, stat$1.isDirectory());
|
|
534
534
|
if (err.code === "ENOENT" || err.code === "ENOTDIR") return cb(null, false);
|
|
535
535
|
return cb(err);
|
|
536
536
|
});
|
|
@@ -966,21 +966,21 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
966
966
|
};
|
|
967
967
|
var defaultIsFile = function isFile(file) {
|
|
968
968
|
try {
|
|
969
|
-
var stat$
|
|
969
|
+
var stat$1 = fs.statSync(file, { throwIfNoEntry: false });
|
|
970
970
|
} catch (e) {
|
|
971
971
|
if (e && (e.code === "ENOENT" || e.code === "ENOTDIR")) return false;
|
|
972
972
|
throw e;
|
|
973
973
|
}
|
|
974
|
-
return !!stat$
|
|
974
|
+
return !!stat$1 && (stat$1.isFile() || stat$1.isFIFO());
|
|
975
975
|
};
|
|
976
976
|
var defaultIsDir = function isDirectory(dir) {
|
|
977
977
|
try {
|
|
978
|
-
var stat$
|
|
978
|
+
var stat$1 = fs.statSync(dir, { throwIfNoEntry: false });
|
|
979
979
|
} catch (e) {
|
|
980
980
|
if (e && (e.code === "ENOENT" || e.code === "ENOTDIR")) return false;
|
|
981
981
|
throw e;
|
|
982
982
|
}
|
|
983
|
-
return !!stat$
|
|
983
|
+
return !!stat$1 && stat$1.isDirectory();
|
|
984
984
|
};
|
|
985
985
|
var defaultRealpathSync = function realpathSync$1(x) {
|
|
986
986
|
try {
|
|
@@ -1122,10 +1122,10 @@ var peerDependencies = { rollup: "^2.78.0||^3.0.0||^4.0.0" };
|
|
|
1122
1122
|
promisify(nativeFs.access);
|
|
1123
1123
|
const readFile$1 = promisify(nativeFs.readFile);
|
|
1124
1124
|
const realpath = promisify(nativeFs.realpath);
|
|
1125
|
-
const stat
|
|
1125
|
+
const stat = promisify(nativeFs.stat);
|
|
1126
1126
|
async function fileExists(filePath) {
|
|
1127
1127
|
try {
|
|
1128
|
-
return (await stat
|
|
1128
|
+
return (await stat(filePath)).isFile();
|
|
1129
1129
|
} catch {
|
|
1130
1130
|
return false;
|
|
1131
1131
|
}
|
|
@@ -1155,14 +1155,14 @@ const makeCache = (fn) => {
|
|
|
1155
1155
|
};
|
|
1156
1156
|
const isDirCached = makeCache(async (file) => {
|
|
1157
1157
|
try {
|
|
1158
|
-
return (await stat
|
|
1158
|
+
return (await stat(file)).isDirectory();
|
|
1159
1159
|
} catch (error) {
|
|
1160
1160
|
return onError(error);
|
|
1161
1161
|
}
|
|
1162
1162
|
});
|
|
1163
1163
|
const isFileCached = makeCache(async (file) => {
|
|
1164
1164
|
try {
|
|
1165
|
-
return (await stat
|
|
1165
|
+
return (await stat(file)).isFile();
|
|
1166
1166
|
} catch (error) {
|
|
1167
1167
|
return onError(error);
|
|
1168
1168
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as MagicString } from "../@
|
|
1
|
+
import { r as MagicString } from "../@hiogawa/vite-plugin-fullstack.mjs";
|
|
2
2
|
import { r as createFilter } from "./plugin-commonjs.mjs";
|
|
3
3
|
|
|
4
4
|
//#region node_modules/.pnpm/@rollup+plugin-replace@6.0.3_rollup@4.53.5/node_modules/@rollup/plugin-replace/dist/es/index.js
|
package/dist/_libs/c12.mjs
CHANGED
|
@@ -2462,7 +2462,7 @@ async function _applyPromised(fn, _this, args) {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
|
|
2464
2464
|
//#endregion
|
|
2465
|
-
//#region node_modules/.pnpm/c12@3.3.
|
|
2465
|
+
//#region node_modules/.pnpm/c12@3.3.3_magicast@0.5.1/node_modules/c12/dist/index.mjs
|
|
2466
2466
|
var import_main = /* @__PURE__ */ __toESM(require_main(), 1);
|
|
2467
2467
|
/**
|
|
2468
2468
|
* Load and interpolate environment variables into `process.env`.
|
|
@@ -2811,7 +2811,7 @@ async function watchConfig(options) {
|
|
|
2811
2811
|
options.rcFile && resolve$1(l.cwd, typeof options.rcFile === "string" ? options.rcFile : `.${configName}rc`),
|
|
2812
2812
|
options.packageJson && resolve$1(l.cwd, "package.json")
|
|
2813
2813
|
]).filter(Boolean))];
|
|
2814
|
-
const watch$1 = await import("../cli/_chunks/
|
|
2814
|
+
const watch$1 = await import("../cli/_chunks/chokidar.mjs").then((r$1) => r$1.watch || r$1.default || r$1);
|
|
2815
2815
|
const { diff } = await import("ohash/utils");
|
|
2816
2816
|
const _fswatcher = watch$1(watchingFiles, {
|
|
2817
2817
|
ignoreInitial: true,
|