@saasquatch/component-environment 1.0.6-3 → 1.0.7-0

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
@@ -366,10 +366,6 @@ var import_dom_context2 = require("dom-context");
366
366
  var import_dom_context = require("dom-context");
367
367
  var debug3 = (...args) => debug(LOCALE_CONTEXT_NAME, ...args);
368
368
  function validateLocale(locale) {
369
- debug3("validateLocale", {
370
- locale,
371
- isValid: /^[a-z]{2}(_(?:[A-Z]{2}|[0-9]{3}))?$/.test(locale || "")
372
- });
373
369
  if (locale && /^[a-z]{2}(_(?:[A-Z]{2}|[0-9]{3}))?$/.test(locale)) {
374
370
  return locale;
375
371
  }
package/dist/index.mjs CHANGED
@@ -317,10 +317,6 @@ import { ContextListener } from "dom-context";
317
317
  import { ContextProvider } from "dom-context";
318
318
  var debug3 = (...args) => debug(LOCALE_CONTEXT_NAME, ...args);
319
319
  function validateLocale(locale) {
320
- debug3("validateLocale", {
321
- locale,
322
- isValid: /^[a-z]{2}(_(?:[A-Z]{2}|[0-9]{3}))?$/.test(locale || "")
323
- });
324
320
  if (locale && /^[a-z]{2}(_(?:[A-Z]{2}|[0-9]{3}))?$/.test(locale)) {
325
321
  return locale;
326
322
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/component-environment",
3
- "version": "1.0.6-3",
3
+ "version": "1.0.7-0",
4
4
  "description": "Environment and contexts for SaaSquatch components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@wry/equality": "^0.5.2",
35
- "dom-context": "^1.2.0",
35
+ "dom-context": "^1.3.0",
36
36
  "jwt-decode": "^3.1.2"
37
37
  }
38
38
  }