@mll-lab/js-utils 2.20.0 → 2.20.1

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
@@ -15264,6 +15264,11 @@ function __awaiter(thisArg, _arguments, P, generator) {
15264
15264
  });
15265
15265
  }
15266
15266
 
15267
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
15268
+ var e = new Error(message);
15269
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
15270
+ };
15271
+
15267
15272
  const GERMAN_THOUSAND_SEPARATOR = '.';
15268
15273
  const GERMAN_DECIMAL_SEPARATOR = ',';
15269
15274
  const ENGLISH_THOUSAND_SEPARATOR = ',';
@@ -15357,15 +15362,18 @@ const isAlphanumeric = function isAlphanumeric(value) {
15357
15362
  return isString(value) && /^[A-Za-z0-9]+$/.test(value);
15358
15363
  };
15359
15364
  /**
15360
- * BSNR (Betriebsstättennummer) ist eine eindeutige Zuordnung von Leistungen zu dem entsprechenden Ort der Leistungserbringung ermöglicht,
15361
- * für alle vertrags(zahn)ärztlichen Leistungserbringer gültig
15365
+ * Die BSNR (Betriebsstättennummer) ist eine neunstellige Zahl, die eine eindeutige Zuordnung
15366
+ * von Leistungen zu dem entsprechenden Ort der Leistungserbringung ermöglicht.
15367
+ * Die BSNR ist für alle vertrags(zahn)ärztlichen Leistungserbringer gültig
15362
15368
  * und klar abzugrenzen vom Institutskennzeichen (IK-Nummer) eines Krankenhauses.
15369
+ *
15370
+ * https://reimbursement.institute/glossar/bsnr-betriebsstaettennummer
15363
15371
  */
15364
15372
  const isBSNR = function isBSNR(value) {
15365
15373
  return isString(value) && /^\d{9}$/.test(value);
15366
15374
  };
15367
- // Taken from https://emailregex.com
15368
15375
  const EMAIL_REGEX =
15376
+ // Taken from https://emailregex.com
15369
15377
  // eslint-disable-next-line no-useless-escape
15370
15378
  /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
15371
15379
  const isEmail = function isEmail(value) {