@intechstudio/grid-protocol 1.20250512.1113 → 1.20250519.1115

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/index.js CHANGED
@@ -2,7 +2,7 @@ import { __spreadArray, __assign } from 'tslib';
2
2
 
3
3
  var GRID_PROTOCOL_VERSION_MAJOR = "1";
4
4
  var GRID_PROTOCOL_VERSION_MINOR = "3";
5
- var GRID_PROTOCOL_VERSION_PATCH = "4";
5
+ var GRID_PROTOCOL_VERSION_PATCH = "5";
6
6
  var GRID_PARAMETER_ELEMENT_SYSTEM = "0";
7
7
  var GRID_PARAMETER_ELEMENT_POTMETER = "1";
8
8
  var GRID_PARAMETER_ELEMENT_BUTTON = "2";
@@ -27525,6 +27525,7 @@ const debug$1 = (
27525
27525
  var debug_1 = debug$1;
27526
27526
 
27527
27527
  (function (module, exports) {
27528
+
27528
27529
  const {
27529
27530
  MAX_SAFE_COMPONENT_LENGTH,
27530
27531
  MAX_SAFE_BUILD_LENGTH,
@@ -27603,12 +27604,14 @@ var debug_1 = debug$1;
27603
27604
 
27604
27605
  // ## Pre-release Version Identifier
27605
27606
  // A numeric identifier, or a non-numeric identifier.
27607
+ // Non-numberic identifiers include numberic identifiers but can be longer.
27608
+ // Therefore non-numberic identifiers must go first.
27606
27609
 
27607
- createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]
27608
- }|${src[t.NONNUMERICIDENTIFIER]})`);
27610
+ createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
27611
+ }|${src[t.NUMERICIDENTIFIER]})`);
27609
27612
 
27610
- createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]
27611
- }|${src[t.NONNUMERICIDENTIFIER]})`);
27613
+ createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
27614
+ }|${src[t.NUMERICIDENTIFIERLOOSE]})`);
27612
27615
 
27613
27616
  // ## Pre-release Version
27614
27617
  // Hyphen, followed by one or more dot-separated pre-release version
@@ -27790,7 +27793,7 @@ var identifiers$1 = {
27790
27793
 
27791
27794
  const debug = debug_1;
27792
27795
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = constants$1;
27793
- const { safeRe: re$1, safeSrc: src, t: t$1 } = reExports;
27796
+ const { safeRe: re$1, t: t$1 } = reExports;
27794
27797
 
27795
27798
  const parseOptions = parseOptions_1;
27796
27799
  const { compareIdentifiers } = identifiers$1;
@@ -27972,8 +27975,7 @@ let SemVer$1 = class SemVer {
27972
27975
  }
27973
27976
  // Avoid an invalid semver results
27974
27977
  if (identifier) {
27975
- const r = new RegExp(`^${this.options.loose ? src[t$1.PRERELEASELOOSE] : src[t$1.PRERELEASE]}$`);
27976
- const match = `-${identifier}`.match(r);
27978
+ const match = `-${identifier}`.match(this.options.loose ? re$1[t$1.PRERELEASELOOSE] : re$1[t$1.PRERELEASE]);
27977
27979
  if (!match || match[1] !== identifier) {
27978
27980
  throw new Error(`invalid identifier: ${identifier}`)
27979
27981
  }
@@ -28239,6 +28241,7 @@ var hasRequiredRange;
28239
28241
  function requireRange () {
28240
28242
  if (hasRequiredRange) return range;
28241
28243
  hasRequiredRange = 1;
28244
+
28242
28245
  const SPACE_CHARACTERS = /\s+/g;
28243
28246
 
28244
28247
  // hoisted class for cyclic dependency
@@ -28802,6 +28805,7 @@ var hasRequiredComparator;
28802
28805
  function requireComparator () {
28803
28806
  if (hasRequiredComparator) return comparator;
28804
28807
  hasRequiredComparator = 1;
28808
+
28805
28809
  const ANY = Symbol('SemVer ANY');
28806
28810
  // hoisted class for cyclic dependency
28807
28811
  class Comparator {