@testgorilla/tgo-ui 11.0.3 → 11.0.5

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/mcp/server.mjs CHANGED
@@ -3643,7 +3643,12 @@ var require_fast_uri = __commonJS({
3643
3643
  }
3644
3644
  function resolve(baseURI, relativeURI, options) {
3645
3645
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
3646
- const resolved = resolveComponent(parse3(baseURI, schemelessOptions), parse3(relativeURI, schemelessOptions), schemelessOptions, true);
3646
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
3647
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
3648
+ if (baseMalformed || relativeMalformed) {
3649
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
3650
+ }
3651
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
3647
3652
  schemelessOptions.skipEscape = true;
3648
3653
  return serialize(resolved, schemelessOptions);
3649
3654
  }
@@ -3768,6 +3773,8 @@ var require_fast_uri = __commonJS({
3768
3773
  return uriTokens.join("");
3769
3774
  }
3770
3775
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
3776
+ var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
3777
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
3771
3778
  function getParseError(parsed, matches) {
3772
3779
  if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
3773
3780
  return 'URI path must start with "/" when authority is present.';
@@ -3797,6 +3804,25 @@ var require_fast_uri = __commonJS({
3797
3804
  uri = "//" + uri;
3798
3805
  }
3799
3806
  }
3807
+ const authorityMatch = uri.match(AUTHORITY_PREFIX);
3808
+ if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
3809
+ parsed.error = "URI authority must not contain a literal backslash.";
3810
+ malformedAuthorityOrPort = true;
3811
+ }
3812
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
3813
+ if (introducerMatch !== null) {
3814
+ const region = introducerMatch[1];
3815
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
3816
+ if (normalizedRegion.length >= 2) {
3817
+ if (normalizedRegion.slice(0, 2) !== "//") {
3818
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
3819
+ malformedAuthorityOrPort = true;
3820
+ } else if (region.length !== normalizedRegion.length) {
3821
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
3822
+ malformedAuthorityOrPort = true;
3823
+ }
3824
+ }
3825
+ }
3800
3826
  const matches = uri.match(URI_PARSE);
3801
3827
  if (matches) {
3802
3828
  parsed.scheme = matches[1];
@@ -3840,7 +3866,7 @@ var require_fast_uri = __commonJS({
3840
3866
  if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {
3841
3867
  if (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
3842
3868
  try {
3843
- parsed.host = URL.domainToASCII(parsed.host.toLowerCase());
3869
+ parsed.host = new URL("http://" + parsed.host).hostname;
3844
3870
  } catch (e) {
3845
3871
  parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
3846
3872
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testgorilla/tgo-ui",
3
- "version": "11.0.3",
3
+ "version": "11.0.5",
4
4
  "license": "proprietary-license",
5
5
  "lint-staged": {
6
6
  "{projects,components}/**/*.ts": [
@@ -58,7 +58,11 @@
58
58
  "@babel/core": "^7.29.7"
59
59
  },
60
60
  "@angular-devkit/build-angular": {
61
- "webpack-dev-server": "5.2.6"
61
+ "webpack-dev-server": "5.2.6",
62
+ "postcss": "^8.5.18"
63
+ },
64
+ "@angular/build": {
65
+ "undici": "^7.29.0"
62
66
  },
63
67
  "ng-packagr": {
64
68
  "esbuild": "0.28.1"