hot-updater 0.21.11 → 0.21.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/config.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_fingerprint = require('./fingerprint-DqX6r8Tm.cjs');
1
+ const require_fingerprint = require('./fingerprint-B-Krd3Gt.cjs');
2
2
 
3
3
  //#region src/config.ts
4
4
  const defineConfig = (config) => {
package/dist/config.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as generateFingerprints, n as createFingerprintJSON, o as readLocalFingerprint, r as generateFingerprint, t as createAndInjectFingerprintFiles } from "./fingerprint-BBD702SI.js";
1
+ import { i as generateFingerprints, n as createFingerprintJSON, o as readLocalFingerprint, r as generateFingerprint, t as createAndInjectFingerprintFiles } from "./fingerprint-CrCon-HQ.js";
2
2
 
3
3
  //#region src/config.ts
4
4
  const defineConfig = (config) => {
@@ -1474,10 +1474,10 @@ var AndroidConfigParser = class {
1474
1474
  });
1475
1475
  }
1476
1476
  async exists() {
1477
- return this.stringsXmlPaths.some((path$14) => fs.default.existsSync(path$14));
1477
+ return this.stringsXmlPaths.some((path$15) => fs.default.existsSync(path$15));
1478
1478
  }
1479
1479
  getExistingPaths() {
1480
- return this.stringsXmlPaths.filter((path$14) => fs.default.existsSync(path$14));
1480
+ return this.stringsXmlPaths.filter((path$15) => fs.default.existsSync(path$15));
1481
1481
  }
1482
1482
  async get(key) {
1483
1483
  const existingPaths = this.getExistingPaths();
@@ -9187,7 +9187,7 @@ var require_fs$3 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_module
9187
9187
  var require_path = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js": ((exports) => {
9188
9188
  Object.defineProperty(exports, "__esModule", { value: true });
9189
9189
  const os$1 = require("os");
9190
- const path$11 = require("path");
9190
+ const path$12 = require("path");
9191
9191
  const IS_WINDOWS_PLATFORM = os$1.platform() === "win32";
9192
9192
  const LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
9193
9193
  /**
@@ -9216,7 +9216,7 @@ var require_path = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_module
9216
9216
  }
9217
9217
  exports.unixify = unixify;
9218
9218
  function makeAbsolute(cwd, filepath) {
9219
- return path$11.resolve(cwd, filepath);
9219
+ return path$12.resolve(cwd, filepath);
9220
9220
  }
9221
9221
  exports.makeAbsolute = makeAbsolute;
9222
9222
  function removeLeadingDotSegment(entry) {
@@ -10463,7 +10463,7 @@ var require_braces = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modu
10463
10463
  //#endregion
10464
10464
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
10465
10465
  var require_constants$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js": ((exports, module) => {
10466
- const path$10 = require("path");
10466
+ const path$11 = require("path");
10467
10467
  const WIN_SLASH = "\\\\/";
10468
10468
  const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
10469
10469
  /**
@@ -10588,7 +10588,7 @@ var require_constants$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node
10588
10588
  CHAR_UNDERSCORE: 95,
10589
10589
  CHAR_VERTICAL_LINE: 124,
10590
10590
  CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279,
10591
- SEP: path$10.sep,
10591
+ SEP: path$11.sep,
10592
10592
  extglobChars(chars$1) {
10593
10593
  return {
10594
10594
  "!": {
@@ -10627,7 +10627,7 @@ var require_constants$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node
10627
10627
  //#endregion
10628
10628
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
10629
10629
  var require_utils$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js": ((exports) => {
10630
- const path$9 = require("path");
10630
+ const path$10 = require("path");
10631
10631
  const win32 = process.platform === "win32";
10632
10632
  const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants$1();
10633
10633
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
@@ -10647,7 +10647,7 @@ var require_utils$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
10647
10647
  };
10648
10648
  exports.isWindows = (options) => {
10649
10649
  if (options && typeof options.windows === "boolean") return options.windows;
10650
- return win32 === true || path$9.sep === "\\";
10650
+ return win32 === true || path$10.sep === "\\";
10651
10651
  };
10652
10652
  exports.escapeLast = (input, char, lastIdx) => {
10653
10653
  const idx = input.lastIndexOf(char, lastIdx);
@@ -11823,7 +11823,7 @@ var require_parse = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
11823
11823
  //#endregion
11824
11824
  //#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
11825
11825
  var require_picomatch$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js": ((exports, module) => {
11826
- const path$8 = require("path");
11826
+ const path$9 = require("path");
11827
11827
  const scan = require_scan();
11828
11828
  const parse = require_parse();
11829
11829
  const utils$11 = require_utils$2();
@@ -11962,7 +11962,7 @@ var require_picomatch$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node
11962
11962
  * @api public
11963
11963
  */
11964
11964
  picomatch$1.matchBase = (input, glob, options, posix = utils$11.isWindows(options)) => {
11965
- return (glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options)).test(path$8.basename(input));
11965
+ return (glob instanceof RegExp ? glob : picomatch$1.makeRe(glob, options)).test(path$9.basename(input));
11966
11966
  };
11967
11967
  /**
11968
11968
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
@@ -12519,7 +12519,7 @@ var require_micromatch = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
12519
12519
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js
12520
12520
  var require_pattern = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js": ((exports) => {
12521
12521
  Object.defineProperty(exports, "__esModule", { value: true });
12522
- const path$7 = require("path");
12522
+ const path$8 = require("path");
12523
12523
  const globParent = require_glob_parent();
12524
12524
  const micromatch = require_micromatch();
12525
12525
  const GLOBSTAR = "**";
@@ -12627,7 +12627,7 @@ var require_pattern = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
12627
12627
  }
12628
12628
  exports.endsWithSlashGlobStar = endsWithSlashGlobStar;
12629
12629
  function isAffectDepthOfReadingPattern(pattern$1) {
12630
- const basename = path$7.basename(pattern$1);
12630
+ const basename = path$8.basename(pattern$1);
12631
12631
  return endsWithSlashGlobStar(pattern$1) || isStaticPattern(basename);
12632
12632
  }
12633
12633
  exports.isAffectDepthOfReadingPattern = isAffectDepthOfReadingPattern;
@@ -12701,7 +12701,7 @@ var require_pattern = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
12701
12701
  }
12702
12702
  exports.partitionAbsoluteAndRelative = partitionAbsoluteAndRelative;
12703
12703
  function isAbsolute(pattern$1) {
12704
- return path$7.isAbsolute(pattern$1);
12704
+ return path$8.isAbsolute(pattern$1);
12705
12705
  }
12706
12706
  exports.isAbsolute = isAbsolute;
12707
12707
  }) });
@@ -12831,8 +12831,8 @@ var require_utils$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
12831
12831
  exports.errno = errno;
12832
12832
  const fs$9 = require_fs$3();
12833
12833
  exports.fs = fs$9;
12834
- const path$6 = require_path();
12835
- exports.path = path$6;
12834
+ const path$7 = require_path();
12835
+ exports.path = path$7;
12836
12836
  const pattern = require_pattern();
12837
12837
  exports.pattern = pattern;
12838
12838
  const stream = require_stream$3();
@@ -12939,8 +12939,8 @@ var require_tasks = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
12939
12939
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js
12940
12940
  var require_async$5 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js": ((exports) => {
12941
12941
  Object.defineProperty(exports, "__esModule", { value: true });
12942
- function read$3(path$14, settings, callback) {
12943
- settings.fs.lstat(path$14, (lstatError, lstat) => {
12942
+ function read$3(path$15, settings, callback) {
12943
+ settings.fs.lstat(path$15, (lstatError, lstat) => {
12944
12944
  if (lstatError !== null) {
12945
12945
  callFailureCallback$2(callback, lstatError);
12946
12946
  return;
@@ -12949,7 +12949,7 @@ var require_async$5 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
12949
12949
  callSuccessCallback$2(callback, lstat);
12950
12950
  return;
12951
12951
  }
12952
- settings.fs.stat(path$14, (statError, stat$1) => {
12952
+ settings.fs.stat(path$15, (statError, stat$1) => {
12953
12953
  if (statError !== null) {
12954
12954
  if (settings.throwErrorOnBrokenSymbolicLink) {
12955
12955
  callFailureCallback$2(callback, statError);
@@ -12976,11 +12976,11 @@ var require_async$5 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
12976
12976
  //#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js
12977
12977
  var require_sync$5 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js": ((exports) => {
12978
12978
  Object.defineProperty(exports, "__esModule", { value: true });
12979
- function read$2(path$14, settings) {
12980
- const lstat = settings.fs.lstatSync(path$14);
12979
+ function read$2(path$15, settings) {
12980
+ const lstat = settings.fs.lstatSync(path$15);
12981
12981
  if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) return lstat;
12982
12982
  try {
12983
- const stat$1 = settings.fs.statSync(path$14);
12983
+ const stat$1 = settings.fs.statSync(path$15);
12984
12984
  if (settings.markSymbolicLink) stat$1.isSymbolicLink = () => true;
12985
12985
  return stat$1;
12986
12986
  } catch (error) {
@@ -13038,17 +13038,17 @@ var require_out$3 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
13038
13038
  const sync$1 = require_sync$5();
13039
13039
  const settings_1$3 = require_settings$3();
13040
13040
  exports.Settings = settings_1$3.default;
13041
- function stat(path$14, optionsOrSettingsOrCallback, callback) {
13041
+ function stat(path$15, optionsOrSettingsOrCallback, callback) {
13042
13042
  if (typeof optionsOrSettingsOrCallback === "function") {
13043
- async$1.read(path$14, getSettings$2(), optionsOrSettingsOrCallback);
13043
+ async$1.read(path$15, getSettings$2(), optionsOrSettingsOrCallback);
13044
13044
  return;
13045
13045
  }
13046
- async$1.read(path$14, getSettings$2(optionsOrSettingsOrCallback), callback);
13046
+ async$1.read(path$15, getSettings$2(optionsOrSettingsOrCallback), callback);
13047
13047
  }
13048
13048
  exports.stat = stat;
13049
- function statSync(path$14, optionsOrSettings) {
13049
+ function statSync(path$15, optionsOrSettings) {
13050
13050
  const settings = getSettings$2(optionsOrSettings);
13051
- return sync$1.read(path$14, settings);
13051
+ return sync$1.read(path$15, settings);
13052
13052
  }
13053
13053
  exports.statSync = statSync;
13054
13054
  function getSettings$2(settingsOrOptions = {}) {
@@ -13242,16 +13242,16 @@ var require_async$4 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mod
13242
13242
  return;
13243
13243
  }
13244
13244
  rpl(names.map((name) => {
13245
- const path$14 = common$4.joinPathSegments(directory, name, settings.pathSegmentSeparator);
13245
+ const path$15 = common$4.joinPathSegments(directory, name, settings.pathSegmentSeparator);
13246
13246
  return (done) => {
13247
- fsStat$5.stat(path$14, settings.fsStatSettings, (error, stats) => {
13247
+ fsStat$5.stat(path$15, settings.fsStatSettings, (error, stats) => {
13248
13248
  if (error !== null) {
13249
13249
  done(error);
13250
13250
  return;
13251
13251
  }
13252
13252
  const entry = {
13253
13253
  name,
13254
- path: path$14,
13254
+ path: path$15,
13255
13255
  dirent: utils$8.fs.createDirentFromStats(name, stats)
13256
13256
  };
13257
13257
  if (settings.stats) entry.stats = stats;
@@ -13347,7 +13347,7 @@ var require_fs = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/
13347
13347
  //#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js
13348
13348
  var require_settings$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/settings.js": ((exports) => {
13349
13349
  Object.defineProperty(exports, "__esModule", { value: true });
13350
- const path$5 = require("path");
13350
+ const path$6 = require("path");
13351
13351
  const fsStat$3 = require_out$3();
13352
13352
  const fs$4 = require_fs();
13353
13353
  var Settings$2 = class {
@@ -13355,7 +13355,7 @@ var require_settings$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
13355
13355
  this._options = _options;
13356
13356
  this.followSymbolicLinks = this._getValue(this._options.followSymbolicLinks, false);
13357
13357
  this.fs = fs$4.createFileSystemAdapter(this._options.fs);
13358
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path$5.sep);
13358
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path$6.sep);
13359
13359
  this.stats = this._getValue(this._options.stats, false);
13360
13360
  this.throwErrorOnBrokenSymbolicLink = this._getValue(this._options.throwErrorOnBrokenSymbolicLink, true);
13361
13361
  this.fsStatSettings = new fsStat$3.Settings({
@@ -13379,17 +13379,17 @@ var require_out$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
13379
13379
  const sync = require_sync$4();
13380
13380
  const settings_1$2 = require_settings$2();
13381
13381
  exports.Settings = settings_1$2.default;
13382
- function scandir(path$14, optionsOrSettingsOrCallback, callback) {
13382
+ function scandir(path$15, optionsOrSettingsOrCallback, callback) {
13383
13383
  if (typeof optionsOrSettingsOrCallback === "function") {
13384
- async.read(path$14, getSettings$1(), optionsOrSettingsOrCallback);
13384
+ async.read(path$15, getSettings$1(), optionsOrSettingsOrCallback);
13385
13385
  return;
13386
13386
  }
13387
- async.read(path$14, getSettings$1(optionsOrSettingsOrCallback), callback);
13387
+ async.read(path$15, getSettings$1(optionsOrSettingsOrCallback), callback);
13388
13388
  }
13389
13389
  exports.scandir = scandir;
13390
- function scandirSync(path$14, optionsOrSettings) {
13390
+ function scandirSync(path$15, optionsOrSettings) {
13391
13391
  const settings = getSettings$1(optionsOrSettings);
13392
- return sync.read(path$14, settings);
13392
+ return sync.read(path$15, settings);
13393
13393
  }
13394
13394
  exports.scandirSync = scandirSync;
13395
13395
  function getSettings$1(settingsOrOptions = {}) {
@@ -13934,7 +13934,7 @@ var require_sync$2 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modu
13934
13934
  //#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js
13935
13935
  var require_settings$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/settings.js": ((exports) => {
13936
13936
  Object.defineProperty(exports, "__esModule", { value: true });
13937
- const path$4 = require("path");
13937
+ const path$5 = require("path");
13938
13938
  const fsScandir = require_out$2();
13939
13939
  var Settings$1 = class {
13940
13940
  constructor(_options = {}) {
@@ -13944,7 +13944,7 @@ var require_settings$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_
13944
13944
  this.deepFilter = this._getValue(this._options.deepFilter, null);
13945
13945
  this.entryFilter = this._getValue(this._options.entryFilter, null);
13946
13946
  this.errorFilter = this._getValue(this._options.errorFilter, null);
13947
- this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path$4.sep);
13947
+ this.pathSegmentSeparator = this._getValue(this._options.pathSegmentSeparator, path$5.sep);
13948
13948
  this.fsScandirSettings = new fsScandir.Settings({
13949
13949
  followSymbolicLinks: this._options.followSymbolicLinks,
13950
13950
  fs: this._options.fs,
@@ -13997,7 +13997,7 @@ var require_out$1 = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
13997
13997
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js
13998
13998
  var require_reader = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/readers/reader.js": ((exports) => {
13999
13999
  Object.defineProperty(exports, "__esModule", { value: true });
14000
- const path$3 = require("path");
14000
+ const path$4 = require("path");
14001
14001
  const fsStat$2 = require_out$3();
14002
14002
  const utils$6 = require_utils$1();
14003
14003
  var Reader = class {
@@ -14010,7 +14010,7 @@ var require_reader = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modu
14010
14010
  });
14011
14011
  }
14012
14012
  _getFullEntryPath(filepath) {
14013
- return path$3.resolve(this._settings.cwd, filepath);
14013
+ return path$4.resolve(this._settings.cwd, filepath);
14014
14014
  }
14015
14015
  _makeEntry(stats, pattern$1) {
14016
14016
  const entry = {
@@ -14354,7 +14354,7 @@ var require_entry = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modul
14354
14354
  //#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js
14355
14355
  var require_provider = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/providers/provider.js": ((exports) => {
14356
14356
  Object.defineProperty(exports, "__esModule", { value: true });
14357
- const path$2 = require("path");
14357
+ const path$3 = require("path");
14358
14358
  const deep_1 = require_deep();
14359
14359
  const entry_1 = require_entry$1();
14360
14360
  const error_1 = require_error();
@@ -14368,7 +14368,7 @@ var require_provider = /* @__PURE__ */ require_chunk.__commonJS({ "../../node_mo
14368
14368
  this.entryTransformer = new entry_2.default(this._settings);
14369
14369
  }
14370
14370
  _getRootDirectory(task) {
14371
- return path$2.resolve(this._settings.cwd, task.base);
14371
+ return path$3.resolve(this._settings.cwd, task.base);
14372
14372
  }
14373
14373
  _getReaderOptions(task) {
14374
14374
  const basePath = task.base === "." ? "" : task.base;
@@ -14698,17 +14698,21 @@ function processExtraSources(extraSources, cwd) {
14698
14698
  absolute: true,
14699
14699
  onlyFiles: false
14700
14700
  });
14701
- for (const absolutePath of matches) if (fs.default.existsSync(absolutePath)) if (fs.default.statSync(absolutePath).isDirectory()) processedSources.push({
14702
- type: "dir",
14703
- filePath: absolutePath,
14704
- reasons: ["custom-user-config"]
14705
- });
14706
- else processedSources.push({
14707
- type: "contents",
14708
- id: absolutePath,
14709
- contents: fs.default.readFileSync(absolutePath, "utf-8"),
14710
- reasons: ["custom-user-config"]
14711
- });
14701
+ for (const absolutePath of matches) if (fs.default.existsSync(absolutePath)) {
14702
+ const stats = fs.default.statSync(absolutePath);
14703
+ const relativePath = path.default.relative(cwd, absolutePath);
14704
+ if (stats.isDirectory()) processedSources.push({
14705
+ type: "dir",
14706
+ filePath: relativePath,
14707
+ reasons: ["custom-user-config"]
14708
+ });
14709
+ else processedSources.push({
14710
+ type: "contents",
14711
+ id: relativePath,
14712
+ contents: fs.default.readFileSync(absolutePath, "utf-8"),
14713
+ reasons: ["custom-user-config"]
14714
+ });
14715
+ }
14712
14716
  } catch (error) {
14713
14717
  console.warn(`Error processing extra source "${source}": ${error}`);
14714
14718
  }
@@ -14744,7 +14748,7 @@ function getDefaultIgnorePaths() {
14744
14748
  "**/build/"
14745
14749
  ];
14746
14750
  }
14747
- function getOtaFingerprintOptions(platform, path$14, options) {
14751
+ function getOtaFingerprintOptions(platform, path$15, options) {
14748
14752
  return {
14749
14753
  useRNCoreAutolinkingFromExpo: false,
14750
14754
  platforms: [platform],
@@ -14785,7 +14789,7 @@ function getOtaFingerprintOptions(platform, path$14, options) {
14785
14789
  ...options.ignorePaths ?? []
14786
14790
  ],
14787
14791
  sourceSkips: __expo_fingerprint.SourceSkips.GitIgnore | __expo_fingerprint.SourceSkips.PackageJsonScriptsAll | __expo_fingerprint.SourceSkips.PackageJsonAndroidAndIosScriptsIfNotContainRun | __expo_fingerprint.SourceSkips.ExpoConfigAll | __expo_fingerprint.SourceSkips.ExpoConfigVersions | __expo_fingerprint.SourceSkips.ExpoConfigNames | __expo_fingerprint.SourceSkips.ExpoConfigRuntimeVersionIfString | __expo_fingerprint.SourceSkips.ExpoConfigAssets | __expo_fingerprint.SourceSkips.ExpoConfigExtraSection | __expo_fingerprint.SourceSkips.ExpoConfigEASProject | __expo_fingerprint.SourceSkips.ExpoConfigSchemes,
14788
- extraSources: processExtraSources(options.extraSources ?? [], path$14),
14792
+ extraSources: processExtraSources(options.extraSources ?? [], path$15),
14789
14793
  debug: options.debug
14790
14794
  };
14791
14795
  }
@@ -14825,9 +14829,9 @@ function showFingerprintDiff(diff, platform) {
14825
14829
  /**
14826
14830
  * Calculates the fingerprint of the native parts project of the project.
14827
14831
  */
14828
- async function nativeFingerprint(path$14, options) {
14832
+ async function nativeFingerprint(path$15, options) {
14829
14833
  const platform = options.platform;
14830
- return (0, __expo_fingerprint.createFingerprintAsync)(path$14, getOtaFingerprintOptions(platform, path$14, options));
14834
+ return (0, __expo_fingerprint.createFingerprintAsync)(path$15, getOtaFingerprintOptions(platform, path$15, options));
14831
14835
  }
14832
14836
  const generateFingerprints = async () => {
14833
14837
  const fingerprintConfig = await ensureFingerprintConfig();
@@ -14721,17 +14721,21 @@ function processExtraSources(extraSources, cwd) {
14721
14721
  absolute: true,
14722
14722
  onlyFiles: false
14723
14723
  });
14724
- for (const absolutePath of matches) if (fs.existsSync(absolutePath)) if (fs.statSync(absolutePath).isDirectory()) processedSources.push({
14725
- type: "dir",
14726
- filePath: absolutePath,
14727
- reasons: ["custom-user-config"]
14728
- });
14729
- else processedSources.push({
14730
- type: "contents",
14731
- id: absolutePath,
14732
- contents: fs.readFileSync(absolutePath, "utf-8"),
14733
- reasons: ["custom-user-config"]
14734
- });
14724
+ for (const absolutePath of matches) if (fs.existsSync(absolutePath)) {
14725
+ const stats = fs.statSync(absolutePath);
14726
+ const relativePath = path.relative(cwd, absolutePath);
14727
+ if (stats.isDirectory()) processedSources.push({
14728
+ type: "dir",
14729
+ filePath: relativePath,
14730
+ reasons: ["custom-user-config"]
14731
+ });
14732
+ else processedSources.push({
14733
+ type: "contents",
14734
+ id: relativePath,
14735
+ contents: fs.readFileSync(absolutePath, "utf-8"),
14736
+ reasons: ["custom-user-config"]
14737
+ });
14738
+ }
14735
14739
  } catch (error) {
14736
14740
  console.warn(`Error processing extra source "${source}": ${error}`);
14737
14741
  }
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  const require_chunk = require('./chunk-DWy1uDak.cjs');
3
- const require_fingerprint = require('./fingerprint-DqX6r8Tm.cjs');
3
+ const require_fingerprint = require('./fingerprint-B-Krd3Gt.cjs');
4
4
  let node_events = require("node:events");
5
5
  node_events = require_chunk.__toESM(node_events);
6
6
  let node_child_process = require("node:child_process");
@@ -36853,7 +36853,7 @@ async function loadHotUpdater(configPath) {
36853
36853
  }
36854
36854
  const hotUpdater = moduleExports["hotUpdater"] || moduleExports["default"];
36855
36855
  if (!hotUpdater) {
36856
- __hot_updater_cli_tools.p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storagePlugins: [...],\n });");
36856
+ __hot_updater_cli_tools.p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storages: [...],\n });");
36857
36857
  process.exit(1);
36858
36858
  }
36859
36859
  if (typeof hotUpdater !== "object" || !("adapterName" in hotUpdater)) {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { _ as __toESM, a as nativeFingerprint, c as showFingerprintDiff, d as IosConfigParser, f as require_plist, g as __require, h as __commonJS, i as generateFingerprints, l as isFingerprintEquals, m as AndroidConfigParser, o as readLocalFingerprint, p as require_base64_js, s as getFingerprintDiff, t as createAndInjectFingerprintFiles, u as require_out } from "./fingerprint-BBD702SI.js";
2
+ import { _ as __toESM, a as nativeFingerprint, c as showFingerprintDiff, d as IosConfigParser, f as require_plist, g as __require, h as __commonJS, i as generateFingerprints, l as isFingerprintEquals, m as AndroidConfigParser, o as readLocalFingerprint, p as require_base64_js, s as getFingerprintDiff, t as createAndInjectFingerprintFiles, u as require_out } from "./fingerprint-CrCon-HQ.js";
3
3
  import { EventEmitter, addAbortListener, on, once, setMaxListeners } from "node:events";
4
4
  import childProcess, { ChildProcess, execFile, spawn, spawnSync } from "node:child_process";
5
5
  import path from "node:path";
@@ -36824,7 +36824,7 @@ async function loadHotUpdater(configPath) {
36824
36824
  }
36825
36825
  const hotUpdater = moduleExports["hotUpdater"] || moduleExports["default"];
36826
36826
  if (!hotUpdater) {
36827
- p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storagePlugins: [...],\n });");
36827
+ p.log.error("Could not find \"hotUpdater\" export in the config file.\n\nYour config file should export a hotUpdater instance:\n\n import { createHotUpdater } from '@hot-updater/server';\n import { kyselyAdapter } from '@hot-updater/server/adapters/kysely';\n\n export const hotUpdater = createHotUpdater({\n database: kyselyAdapter({ db: kysely, provider: 'postgresql' }),\n storages: [...],\n });");
36828
36828
  process.exit(1);
36829
36829
  }
36830
36830
  if (typeof hotUpdater !== "object" || !("adapterName" in hotUpdater)) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.21.11",
4
+ "version": "0.21.13",
5
5
  "bin": {
6
6
  "hot-updater": "./dist/index.js"
7
7
  },
@@ -55,11 +55,11 @@
55
55
  "kysely": "0.28.8",
56
56
  "sql-formatter": "15.6.10",
57
57
  "cosmiconfig-typescript-loader": "5.0.0",
58
- "@hot-updater/cli-tools": "0.21.11",
59
- "@hot-updater/console": "0.21.11",
60
- "@hot-updater/core": "0.21.11",
61
- "@hot-updater/plugin-core": "0.21.11",
62
- "@hot-updater/server": "0.21.11"
58
+ "@hot-updater/console": "0.21.13",
59
+ "@hot-updater/cli-tools": "0.21.13",
60
+ "@hot-updater/core": "0.21.13",
61
+ "@hot-updater/plugin-core": "0.21.13",
62
+ "@hot-updater/server": "0.21.13"
63
63
  },
64
64
  "devDependencies": {
65
65
  "semver": "^7.6.3",
@@ -89,12 +89,12 @@
89
89
  "plist": "^3.1.0",
90
90
  "read-package-up": "^11.0.0",
91
91
  "uuidv7": "^1.0.2",
92
- "@hot-updater/aws": "0.21.11",
93
- "@hot-updater/server": "0.21.11",
94
- "@hot-updater/cloudflare": "0.21.11",
95
- "@hot-updater/firebase": "0.21.11",
96
- "@hot-updater/supabase": "0.21.11",
97
- "@hot-updater/test-utils": "0.21.11"
92
+ "@hot-updater/aws": "0.21.13",
93
+ "@hot-updater/server": "0.21.13",
94
+ "@hot-updater/firebase": "0.21.13",
95
+ "@hot-updater/cloudflare": "0.21.13",
96
+ "@hot-updater/supabase": "0.21.13",
97
+ "@hot-updater/test-utils": "0.21.13"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "@hot-updater/aws": "*",