@terrazzo/parser 2.0.0-alpha.5 → 2.0.0-alpha.6

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
@@ -936,7 +936,7 @@ const ERROR_INVALID_PROP$7 = "ERROR_INVALID_PROP";
936
936
  const rule$14 = {
937
937
  meta: {
938
938
  messages: {
939
- [ERROR$8]: `Border token missing required properties: ${new Intl.ListFormat(void 0, { type: "conjunction" }).format(BORDER_REQUIRED_PROPERTIES)}.`,
939
+ [ERROR$8]: `Border token missing required properties: ${new Intl.ListFormat("en-us", { type: "conjunction" }).format(BORDER_REQUIRED_PROPERTIES)}.`,
940
940
  [ERROR_INVALID_PROP$7]: "Unknown property: {{ key }}."
941
941
  },
942
942
  docs: {
@@ -986,7 +986,7 @@ const rule$13 = {
986
986
  meta: {
987
987
  messages: {
988
988
  [ERROR_ALPHA]: `Alpha {{ alpha }} not in range 0 – 1.`,
989
- [ERROR_INVALID_COLOR_SPACE]: `Invalid color space: {{ colorSpace }}. Expected ${new Intl.ListFormat(void 0, { type: "disjunction" }).format(Object.keys(COLORSPACE))}`,
989
+ [ERROR_INVALID_COLOR_SPACE]: `Invalid color space: {{ colorSpace }}. Expected ${new Intl.ListFormat("en-us", { type: "disjunction" }).format(Object.keys(COLORSPACE))}`,
990
990
  [ERROR_INVALID_COLOR]: `Could not parse color {{ color }}.`,
991
991
  [ERROR_INVALID_COMPONENT_LENGTH]: "Expected {{ expected }} components, received {{ got }}.",
992
992
  [ERROR_INVALID_HEX8]: `Hex value can’t be semi-transparent.`,
@@ -1548,7 +1548,7 @@ const ERROR_STYLE = "ERROR_STYLE";
1548
1548
  const rule$8 = {
1549
1549
  meta: {
1550
1550
  messages: {
1551
- [ERROR$5]: `Must either be a valid number (0 - 999) or a valid font weight: ${new Intl.ListFormat(void 0, { type: "disjunction" }).format(Object.keys(FONT_WEIGHTS))}.`,
1551
+ [ERROR$5]: `Must either be a valid number (0 - 999) or a valid font weight: ${new Intl.ListFormat("en-us", { type: "disjunction" }).format(Object.keys(FONT_WEIGHTS))}.`,
1552
1552
  [ERROR_STYLE]: "Expected style {{ style }}, received {{ value }}."
1553
1553
  },
1554
1554
  docs: {
@@ -1771,7 +1771,7 @@ const ERROR_INVALID_PROP$2 = "ERROR_INVALID_PROP";
1771
1771
  const rule$4 = {
1772
1772
  meta: {
1773
1773
  messages: {
1774
- [ERROR$3]: `Missing required properties: ${new Intl.ListFormat(void 0, { type: "conjunction" }).format(SHADOW_REQUIRED_PROPERTIES)}.`,
1774
+ [ERROR$3]: `Missing required properties: ${new Intl.ListFormat("en-us", { type: "conjunction" }).format(SHADOW_REQUIRED_PROPERTIES)}.`,
1775
1775
  [ERROR_INVALID_PROP$2]: "Unknown property {{ key }}."
1776
1776
  },
1777
1777
  docs: {
@@ -1848,9 +1848,9 @@ const ERROR_INVALID_PROP$1 = "ERROR_INVALID_PROP";
1848
1848
  const rule$2 = {
1849
1849
  meta: {
1850
1850
  messages: {
1851
- [ERROR_STR]: `Value most be one of ${new Intl.ListFormat(void 0, { type: "disjunction" }).format(STROKE_STYLE_STRING_VALUES)}.`,
1852
- [ERROR_OBJ]: `Missing required properties: ${new Intl.ListFormat(void 0, { type: "conjunction" }).format(TRANSITION_REQUIRED_PROPERTIES)}.`,
1853
- [ERROR_LINE_CAP]: `lineCap must be one of ${new Intl.ListFormat(void 0, { type: "disjunction" }).format(STROKE_STYLE_LINE_CAP_VALUES)}.`,
1851
+ [ERROR_STR]: `Value most be one of ${new Intl.ListFormat("en-us", { type: "disjunction" }).format(STROKE_STYLE_STRING_VALUES)}.`,
1852
+ [ERROR_OBJ]: `Missing required properties: ${new Intl.ListFormat("en-us", { type: "conjunction" }).format(TRANSITION_REQUIRED_PROPERTIES)}.`,
1853
+ [ERROR_LINE_CAP]: `lineCap must be one of ${new Intl.ListFormat("en-us", { type: "disjunction" }).format(STROKE_STYLE_LINE_CAP_VALUES)}.`,
1854
1854
  [ERROR_INVALID_PROP$1]: "Unknown property: {{ key }}."
1855
1855
  },
1856
1856
  docs: {
@@ -1930,7 +1930,7 @@ const ERROR_INVALID_PROP = "ERROR_INVALID_PROP";
1930
1930
  const rule$1 = {
1931
1931
  meta: {
1932
1932
  messages: {
1933
- [ERROR$1]: `Missing required properties: ${new Intl.ListFormat(void 0, { type: "conjunction" }).format(TRANSITION_REQUIRED_PROPERTIES)}.`,
1933
+ [ERROR$1]: `Missing required properties: ${new Intl.ListFormat("en-us", { type: "conjunction" }).format(TRANSITION_REQUIRED_PROPERTIES)}.`,
1934
1934
  [ERROR_INVALID_PROP]: "Unknown property: {{ key }}."
1935
1935
  },
1936
1936
  docs: {