solve-engine 1.0.0-beta.5 → 1.0.0-beta.7

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.
@@ -12,7 +12,7 @@ var chunkZ2XP767T_cjs = require('./chunk-Z2XP767T.cjs');
12
12
  var chunkBXKJLM5R_cjs = require('./chunk-BXKJLM5R.cjs');
13
13
  var chunk4CVLFLOB_cjs = require('./chunk-4CVLFLOB.cjs');
14
14
  var chunkOC6LTXYS_cjs = require('./chunk-OC6LTXYS.cjs');
15
- var chunkAZUA3F4I_cjs = require('./chunk-AZUA3F4I.cjs');
15
+ var chunk35IWNZPJ_cjs = require('./chunk-35IWNZPJ.cjs');
16
16
  var chunkWWOLFXTX_cjs = require('./chunk-WWOLFXTX.cjs');
17
17
  var chunkTY3TLZAW_cjs = require('./chunk-TY3TLZAW.cjs');
18
18
  var chunkM4N5GA5Z_cjs = require('./chunk-M4N5GA5Z.cjs');
@@ -2203,7 +2203,7 @@ function checkPackageCompatibility(candidate, existing) {
2203
2203
 
2204
2204
  // src/api/EngineVersionCompatibility.ts
2205
2205
  var import_semver = chunkB7LXJ6LC_cjs.__toESM(require_semver2(), 1);
2206
- function checkEngineVersionCompatibility(pkg, engineVersion = chunkAZUA3F4I_cjs.ENGINE_VERSION) {
2206
+ function checkEngineVersionCompatibility(pkg, engineVersion = chunk35IWNZPJ_cjs.ENGINE_VERSION) {
2207
2207
  if (!pkg.engineVersion) return { compatible: true };
2208
2208
  if ((0, import_semver.validRange)(pkg.engineVersion) === null) {
2209
2209
  return { compatible: false, reason: "invalid-range", declaredRange: pkg.engineVersion, engineVersion };
@@ -2214,7 +2214,7 @@ function checkEngineVersionCompatibility(pkg, engineVersion = chunkAZUA3F4I_cjs.
2214
2214
  }
2215
2215
  return { compatible: true };
2216
2216
  }
2217
- function assertEngineVersionCompatible(pkg, engineVersion = chunkAZUA3F4I_cjs.ENGINE_VERSION) {
2217
+ function assertEngineVersionCompatible(pkg, engineVersion = chunk35IWNZPJ_cjs.ENGINE_VERSION) {
2218
2218
  const result = checkEngineVersionCompatibility(pkg, engineVersion);
2219
2219
  if (result.compatible) return;
2220
2220
  if (result.reason === "invalid-range") {
@@ -2373,6 +2373,7 @@ function handleExecuteBatch(msg) {
2373
2373
  }
2374
2374
  var inWorkerScope = typeof self !== "undefined" && typeof window === "undefined";
2375
2375
  var handleMessage = (event) => {
2376
+ if (event.origin && self.location && event.origin !== self.location.origin) return;
2376
2377
  const msg = event.data;
2377
2378
  switch (msg.type) {
2378
2379
  case "COMPILE_BATCH":
@@ -3420,7 +3421,7 @@ var ExpressionEngine = class {
3420
3421
  // Most recent pipeline telemetry, populated when AllocationTracker.isEnabled().
3421
3422
  this.lastTelemetry = null;
3422
3423
  this.localeCode = localeCode;
3423
- this.config = chunkAZUA3F4I_cjs.mergeEngineConfig(chunkAZUA3F4I_cjs.DEFAULT_CONFIG, config ?? {});
3424
+ this.config = chunk35IWNZPJ_cjs.mergeEngineConfig(chunk35IWNZPJ_cjs.DEFAULT_CONFIG, config ?? {});
3424
3425
  this.lexer = new chunkWWOLFXTX_cjs.Lexer(localeCode, chunkWWOLFXTX_cjs.buildTokenLookup(localeCode));
3425
3426
  this.registry = new chunkMTX2KVU7_cjs.ParseletRegistry();
3426
3427
  this.context = chunkBXKJLM5R_cjs.createEngineContext();
@@ -7482,5 +7483,5 @@ exports.checkPackageCompatibility = checkPackageCompatibility;
7482
7483
  exports.extractReadsAndWrites = extractReadsAndWrites;
7483
7484
  exports.findInlineSolvesInLine = findInlineSolvesInLine;
7484
7485
  exports.isEmptyLine = isEmptyLine;
7485
- //# sourceMappingURL=chunk-73GSBGUU.cjs.map
7486
- //# sourceMappingURL=chunk-73GSBGUU.cjs.map
7486
+ //# sourceMappingURL=chunk-V6HA6JJZ.cjs.map
7487
+ //# sourceMappingURL=chunk-V6HA6JJZ.cjs.map