eat-js-sdk 2.1.2 → 2.1.3

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.
@@ -7381,7 +7381,7 @@ function RubricSection($$anchor, $$props) {
7381
7381
  push($$props, true);
7382
7382
  let rubric = prop($$props, "rubric", 7);
7383
7383
  let headerElement = /* @__PURE__ */ user_derived(() => get(promptRubricElem));
7384
- const NON_BREAKING_TEXT_REGEX = /('|"|")(-[\w]+|[\w]+-)\1|\b(?:[A-Z]\.)+[A-Z]\.?(?:-(?:[A-Z]\.)+[A-Z]\.?)*\b|\b[\w]+-[\w]+(?:-[\w]+)*\b/gi;
7384
+ const NON_BREAKING_TEXT_REGEX = /(&#39;|&#34;|&quot;)[\w]+-[\w]+(?:-[\w]+)*\1|(&#39;|&#34;|&quot;)(?:[A-Z]\.)+[A-Z]\.?\2|(&#39;|&#34;|&quot;)(?:-[\w]+|[\w]+-)\3|\b(?:[A-Z]\.)+[A-Z]\.?(?:-(?:[A-Z]\.)+[A-Z]\.?)*\b|\b[\w]+-[\w]+(?:-[\w]+)*\b|(?<=\s|^)-[\w]+(?=\s|$|[,.])|(?<=\s|^)[\w]+-(?=\s|$|[,.])/gi;
7385
7385
  let processedRubric = /* @__PURE__ */ user_derived(() => rubric() ? rubric().replace(NON_BREAKING_TEXT_REGEX, '<span class="whitespace-nowrap">$&</span>') : rubric());
7386
7386
  var $$exports = {
7387
7387
  get rubric() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eat-js-sdk",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "change version": "2.1.0",
5
5
  "description": "Authoring tool frontend SDK",
6
6
  "contributors": [