@marko/run 0.1.12 → 0.1.13
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/cli/index.mjs +1 -0
- package/dist/vite/index.cjs +2 -1
- package/dist/vite/index.js +1 -0
- package/package.json +1 -1
package/dist/cli/index.mjs
CHANGED
package/dist/vite/index.cjs
CHANGED
|
@@ -1199,6 +1199,7 @@ var import_node_zlib = __toESM(require("node:zlib"), 1);
|
|
|
1199
1199
|
var import_cli_table3 = __toESM(require("cli-table3"), 1);
|
|
1200
1200
|
var import_kleur = __toESM(require("kleur"), 1);
|
|
1201
1201
|
var import_human_format = __toESM(require("human-format"), 1);
|
|
1202
|
+
var import_buffer = require("buffer");
|
|
1202
1203
|
var HttpVerbColors = {
|
|
1203
1204
|
get: import_kleur.default.green,
|
|
1204
1205
|
post: import_kleur.default.magenta,
|
|
@@ -1284,7 +1285,7 @@ function gzipSize(source) {
|
|
|
1284
1285
|
return import_node_zlib.default.gzipSync(source, { level: 9 }).length;
|
|
1285
1286
|
}
|
|
1286
1287
|
function byteSize(source) {
|
|
1287
|
-
return new Blob([source]).size;
|
|
1288
|
+
return new import_buffer.Blob([source]).size;
|
|
1288
1289
|
}
|
|
1289
1290
|
function computeChunkSize(chunk, bundle, seen = /* @__PURE__ */ new Set()) {
|
|
1290
1291
|
if (chunk.type === "asset") {
|
package/dist/vite/index.js
CHANGED
|
@@ -1157,6 +1157,7 @@ import zlib from "node:zlib";
|
|
|
1157
1157
|
import Table from "cli-table3";
|
|
1158
1158
|
import kleur from "kleur";
|
|
1159
1159
|
import format from "human-format";
|
|
1160
|
+
import { Blob } from "buffer";
|
|
1160
1161
|
var HttpVerbColors = {
|
|
1161
1162
|
get: kleur.green,
|
|
1162
1163
|
post: kleur.magenta,
|