@builder.io/dev-tools 1.28.17-dev.202603022031.7d5bf89fe → 1.28.17-dev.202603031856.393f0415b

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/core/index.cjs CHANGED
@@ -656,7 +656,7 @@ __export(index_exports, {
656
656
  module.exports = __toCommonJS(index_exports);
657
657
 
658
658
  // packages/dev-tools/cli/version.ts
659
- var builderVersion = true ? "1.28.17-dev.202603022031.7d5bf89fe" : "0.0.0";
659
+ var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
660
660
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
661
661
 
662
662
  // packages/dev-tools/common/fs.ts
@@ -13098,6 +13098,7 @@ async function createDevToolsSys(opts) {
13098
13098
  readFile: async (p) => readFileSync(p),
13099
13099
  readFileSync,
13100
13100
  readFileSyncBuffer: (p) => readFileSyncBuffer(p),
13101
+ readBinaryFile: async (p) => readFileSyncBuffer(p),
13101
13102
  stat: async (p) => statSync(p),
13102
13103
  statSync,
13103
13104
  writeFile: async (p, content) => {
package/core/index.mjs CHANGED
@@ -636,7 +636,7 @@ var require_dist = __commonJS({
636
636
  });
637
637
 
638
638
  // packages/dev-tools/cli/version.ts
639
- var builderVersion = true ? "1.28.17-dev.202603022031.7d5bf89fe" : "0.0.0";
639
+ var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
640
640
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
641
641
 
642
642
  // packages/dev-tools/common/fs.ts
@@ -13078,6 +13078,7 @@ async function createDevToolsSys(opts) {
13078
13078
  readFile: async (p) => readFileSync(p),
13079
13079
  readFileSync,
13080
13080
  readFileSyncBuffer: (p) => readFileSyncBuffer(p),
13081
+ readBinaryFile: async (p) => readFileSyncBuffer(p),
13081
13082
  stat: async (p) => statSync(p),
13082
13083
  statSync,
13083
13084
  writeFile: async (p, content) => {
package/node/index.cjs CHANGED
@@ -25059,7 +25059,7 @@ var builders = {
25059
25059
  var Sentry = __toESM(require("@sentry/node"), 1);
25060
25060
 
25061
25061
  // packages/dev-tools/cli/version.ts
25062
- var builderVersion = true ? "1.28.17-dev.202603022031.7d5bf89fe" : "0.0.0";
25062
+ var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
25063
25063
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
25064
25064
 
25065
25065
  // packages/dev-tools/node/node-sys.ts
@@ -25193,6 +25193,18 @@ async function createDevToolsNodeSys(opts) {
25193
25193
  throw e;
25194
25194
  }
25195
25195
  },
25196
+ async readBinaryFile(p) {
25197
+ try {
25198
+ const buffer = await (0, import_promises.readFile)(p);
25199
+ return new Uint8Array(buffer);
25200
+ } catch (e) {
25201
+ if (e.code === "ENOENT") {
25202
+ return null;
25203
+ }
25204
+ debug(e, p);
25205
+ throw e;
25206
+ }
25207
+ },
25196
25208
  spawnSync: import_node_child_process.spawnSync,
25197
25209
  stat: async (p) => {
25198
25210
  const s = await (0, import_promises.stat)(p);
package/node/index.mjs CHANGED
@@ -25071,7 +25071,7 @@ var builders = {
25071
25071
  import * as Sentry from "@sentry/node";
25072
25072
 
25073
25073
  // packages/dev-tools/cli/version.ts
25074
- var builderVersion = true ? "1.28.17-dev.202603022031.7d5bf89fe" : "0.0.0";
25074
+ var builderVersion = true ? "1.28.17-dev.202603031856.393f0415b" : "0.0.0";
25075
25075
  var pkgVersion = process.env.OVERRIDE_VERSION ?? builderVersion;
25076
25076
 
25077
25077
  // packages/dev-tools/node/node-sys.ts
@@ -25205,6 +25205,18 @@ async function createDevToolsNodeSys(opts) {
25205
25205
  throw e;
25206
25206
  }
25207
25207
  },
25208
+ async readBinaryFile(p) {
25209
+ try {
25210
+ const buffer = await readFile(p);
25211
+ return new Uint8Array(buffer);
25212
+ } catch (e) {
25213
+ if (e.code === "ENOENT") {
25214
+ return null;
25215
+ }
25216
+ debug(e, p);
25217
+ throw e;
25218
+ }
25219
+ },
25208
25220
  spawnSync,
25209
25221
  stat: async (p) => {
25210
25222
  const s = await stat(p);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/dev-tools",
3
- "version": "1.28.17-dev.202603022031.7d5bf89fe",
3
+ "version": "1.28.17-dev.202603031856.393f0415b",
4
4
  "description": "Builder.io Visual CMS Devtools",
5
5
  "type": "module",
6
6
  "main": "./core/index.cjs",