@tbela99/css-parser 1.8.1 → 1.8.2

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.
Files changed (100) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/index-umd-web.js +2 -6
  3. package/dist/index.cjs +1 -5
  4. package/dist/package.json.js +2 -2
  5. package/dist/src/data/properties.json.js +1 -1
  6. package/dist/src/data/validation.json.js +1 -1
  7. package/dist/src/lib/ast/clone.js +1 -1
  8. package/dist/src/lib/ast/expand.js +1 -1
  9. package/dist/src/lib/ast/features/calc.js +1 -1
  10. package/dist/src/lib/ast/features/if.js +1 -1
  11. package/dist/src/lib/ast/features/index.js +1 -1
  12. package/dist/src/lib/ast/features/inlinecssvariables.js +1 -1
  13. package/dist/src/lib/ast/features/prefix.js +1 -1
  14. package/dist/src/lib/ast/features/shorthand.js +1 -1
  15. package/dist/src/lib/ast/features/transform.js +1 -1
  16. package/dist/src/lib/ast/features/type.js +1 -1
  17. package/dist/src/lib/ast/find.js +1 -1
  18. package/dist/src/lib/ast/math/expression.js +1 -1
  19. package/dist/src/lib/ast/math/math.js +1 -1
  20. package/dist/src/lib/ast/minify.js +1 -1
  21. package/dist/src/lib/ast/node.js +1 -1
  22. package/dist/src/lib/ast/transform/compute.js +1 -1
  23. package/dist/src/lib/ast/transform/matrix.js +1 -1
  24. package/dist/src/lib/ast/transform/minify.js +1 -1
  25. package/dist/src/lib/ast/transform/perspective.js +1 -1
  26. package/dist/src/lib/ast/transform/rotate.js +1 -1
  27. package/dist/src/lib/ast/transform/scale.js +1 -1
  28. package/dist/src/lib/ast/transform/skew.js +1 -1
  29. package/dist/src/lib/ast/transform/translate.js +1 -1
  30. package/dist/src/lib/ast/transform/utils.js +1 -1
  31. package/dist/src/lib/ast/types.js +1 -1
  32. package/dist/src/lib/ast/walk.js +1 -1
  33. package/dist/src/lib/fs/resolve.js +1 -1
  34. package/dist/src/lib/parser/declaration/list.js +1 -1
  35. package/dist/src/lib/parser/declaration/map.js +1 -1
  36. package/dist/src/lib/parser/declaration/set.js +1 -1
  37. package/dist/src/lib/parser/linesmap.js +1 -1
  38. package/dist/src/lib/parser/parse.js +1 -5
  39. package/dist/src/lib/parser/source.js +1 -1
  40. package/dist/src/lib/parser/tokenize.js +1 -1
  41. package/dist/src/lib/parser/utils/angle.js +1 -1
  42. package/dist/src/lib/parser/utils/at-rule-container.js +1 -1
  43. package/dist/src/lib/parser/utils/at-rule-font-feature-values.js +1 -1
  44. package/dist/src/lib/parser/utils/at-rule-generic.js +1 -1
  45. package/dist/src/lib/parser/utils/at-rule-import.js +1 -1
  46. package/dist/src/lib/parser/utils/at-rule-media.js +1 -1
  47. package/dist/src/lib/parser/utils/at-rule-support.js +1 -1
  48. package/dist/src/lib/parser/utils/at-rule-when-else.js +1 -1
  49. package/dist/src/lib/parser/utils/at-rule.js +1 -1
  50. package/dist/src/lib/parser/utils/base64.js +1 -1
  51. package/dist/src/lib/parser/utils/cache.js +1 -1
  52. package/dist/src/lib/parser/utils/config.js +1 -1
  53. package/dist/src/lib/parser/utils/declaration.js +1 -1
  54. package/dist/src/lib/parser/utils/eq.js +1 -1
  55. package/dist/src/lib/parser/utils/hash.js +1 -1
  56. package/dist/src/lib/parser/utils/selector.js +1 -1
  57. package/dist/src/lib/parser/utils/text.js +1 -1
  58. package/dist/src/lib/parser/utils/token.js +1 -1
  59. package/dist/src/lib/parser/utils/type.js +1 -1
  60. package/dist/src/lib/printer/render.js +1 -1
  61. package/dist/src/lib/printer/sourcemap/lib/codec.js +1 -1
  62. package/dist/src/lib/printer/sourcemap/sourcemap.js +1 -1
  63. package/dist/src/lib/syntax/color/a98rgb.js +1 -1
  64. package/dist/src/lib/syntax/color/alpha.js +1 -1
  65. package/dist/src/lib/syntax/color/cmyk.js +1 -1
  66. package/dist/src/lib/syntax/color/color-mix.js +1 -1
  67. package/dist/src/lib/syntax/color/color.js +1 -1
  68. package/dist/src/lib/syntax/color/hex.js +1 -1
  69. package/dist/src/lib/syntax/color/hsl.js +1 -1
  70. package/dist/src/lib/syntax/color/hwb.js +1 -1
  71. package/dist/src/lib/syntax/color/lab.js +1 -1
  72. package/dist/src/lib/syntax/color/lch.js +1 -1
  73. package/dist/src/lib/syntax/color/oklab.js +1 -1
  74. package/dist/src/lib/syntax/color/oklch.js +1 -1
  75. package/dist/src/lib/syntax/color/p3.js +1 -1
  76. package/dist/src/lib/syntax/color/prophotorgb.js +1 -1
  77. package/dist/src/lib/syntax/color/rec2020.js +1 -1
  78. package/dist/src/lib/syntax/color/relative-color.js +1 -1
  79. package/dist/src/lib/syntax/color/rgb.js +1 -1
  80. package/dist/src/lib/syntax/color/srgb.js +1 -1
  81. package/dist/src/lib/syntax/color/utils/color-type.js +1 -1
  82. package/dist/src/lib/syntax/color/utils/colorspace.js +1 -1
  83. package/dist/src/lib/syntax/color/utils/components.js +1 -1
  84. package/dist/src/lib/syntax/color/utils/distance.js +1 -1
  85. package/dist/src/lib/syntax/color/utils/make-color.js +1 -1
  86. package/dist/src/lib/syntax/color/utils/matrix.js +1 -1
  87. package/dist/src/lib/syntax/color/xyz.js +1 -1
  88. package/dist/src/lib/syntax/color/xyzd50.js +1 -1
  89. package/dist/src/lib/syntax/constants.js +1 -1
  90. package/dist/src/lib/syntax/syntax.js +1 -1
  91. package/dist/src/lib/validation/config.js +1 -1
  92. package/dist/src/lib/validation/match.js +1 -1
  93. package/dist/src/lib/validation/parser/parse.js +1 -1
  94. package/dist/src/lib/validation/parser/typedef.js +1 -1
  95. package/dist/src/lib/validation/utils/list.js +1 -1
  96. package/dist/src/node.js +1 -1
  97. package/dist/src/types.js +1 -1
  98. package/dist/src/utils/sync.js +1 -1
  99. package/dist/src/web.js +1 -1
  100. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ # 1.8.2
4
+
5
+ remove left over console debug
6
+
3
7
  # 1.8.1
4
8
 
5
9
  no code change
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  (function (global, factory) {
@@ -33324,10 +33324,6 @@
33324
33324
  }
33325
33325
  // @ts-ignore
33326
33326
  if (replacement != null && node != replacement) {
33327
- console.error({
33328
- node,
33329
- replacement,
33330
- });
33331
33327
  // @ts-ignore
33332
33328
  replaceNodeOrValue(node[PARENT], node, replacement);
33333
33329
  }
@@ -35387,7 +35383,7 @@
35387
35383
  }
35388
35384
  }
35389
35385
 
35390
- var version = "1.8.1";
35386
+ var version = "1.8.2";
35391
35387
 
35392
35388
  /**
35393
35389
  * Load file or url
package/dist/index.cjs CHANGED
@@ -33320,10 +33320,6 @@ async function doParse(iter, options = {}) {
33320
33320
  }
33321
33321
  // @ts-ignore
33322
33322
  if (replacement != null && node != replacement) {
33323
- console.error({
33324
- node,
33325
- replacement,
33326
- });
33327
33323
  // @ts-ignore
33328
33324
  replaceNodeOrValue(node[PARENT], node, replacement);
33329
33325
  }
@@ -35383,7 +35379,7 @@ function setNodeProperty(node, key, value) {
35383
35379
  }
35384
35380
  }
35385
35381
 
35386
- var version = "1.8.1";
35382
+ var version = "1.8.2";
35387
35383
 
35388
35384
  /**
35389
35385
  * Load file or url
@@ -2,9 +2,9 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
- var version = "1.8.1";
8
+ var version = "1.8.2";
9
9
 
10
10
  export { version };
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  var properties = {
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  var declarations = {
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from './types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { splitRule } from './minify.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  export { ComputePrefixFeature } from './prefix.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumAstNodeStatus, EnumToken } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { PropertyList } from '../../parser/declaration/list.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, EnumAstNodeStatus } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from './types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { equalsIgnoreCase } from '../../parser/utils/text.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { minifyNumber } from '../../syntax/syntax.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { eq } from '../parser/utils/eq.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { TOKENS, ERRORS, STATE, LOCSRCID, LOCSTA, LOCEND, PARENT } from '../syntax/constants.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply, toZero } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, is2DMatrix } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply, decompose, round, toZero } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { identity, multiply } from './utils.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { epsilon } from '../../syntax/constants.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { PARENT, TOKENS } from '../syntax/constants.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { memoize } from '../parser/utils/cache.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { PropertySet } from './set.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { eq } from '../utils/eq.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { eq } from '../utils/eq.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { isIdentColor, parseColor, isColor } from '../syntax/syntax.js';
@@ -2142,10 +2142,6 @@ async function doParse(iter, options = {}) {
2142
2142
  }
2143
2143
  // @ts-ignore
2144
2144
  if (replacement != null && node != replacement) {
2145
- console.error({
2146
- node,
2147
- replacement,
2148
- });
2149
2145
  // @ts-ignore
2150
2146
  replaceNodeOrValue(node[PARENT], node, replacement);
2151
2147
  }
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { SourceMap } from '../printer/sourcemap/sourcemap.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, ColorType } from '../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getSyntaxRule } from '../../validation/config.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { ValidationSyntaxGroupEnum } from '../../validation/parser/typedef.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import config from '../../../data/properties.json.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, EnumAstNodeStatus, ColorType } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  // Alphabet: a-z, A-Z, 0-9, _, -
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, EnumAstNodeStatus } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { convertColor, getAngle } from '../syntax/color/color.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  // from https://github.com/Rich-Harris/vlq/tree/master
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { toBase64 } from '../../parser/utils/base64.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { xyz2srgb } from './srgb.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { ColorType, EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { ColorType, EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, ColorType, EnumAstNodeStatus } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { ColorType, EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, ColorType } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { color2srgbvalues, getNumber } from './color.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getColorComponents } from './utils/components.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { e, k, D50 } from '../constants.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getColorComponents } from './utils/components.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getColorComponents } from './utils/components.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getColorComponents } from './utils/components.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { lsrgb2srgbvalues, xyz2srgb, srgb2lsrgbvalues } from './srgb.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { XYZ_D65_to_D50, xyzd502srgb } from './xyzd50.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { xyz2srgb } from './srgb.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { convertColor, getNumber } from './color.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { color2srgbvalues, minmax } from './color.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getColorComponents } from './utils/components.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { ColorType } from '../../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { equalsIgnoreCase } from '../../../parser/utils/text.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { ColorType, EnumToken } from '../../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { convertColor } from '../color.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken, ColorType } from '../../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  // from https://www.w3.org/TR/css-color-4/multiply-matrices.js
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { multiplyMatrices } from './utils/matrix.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { lsrgb2srgbvalues } from './srgb.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { isOkLabClose } from './color/utils/distance.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import config from '../../data/validation.json.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { getParsedSyntax, getSyntaxConfig } from './config.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  var ValidationTokenEnum;
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../../ast/types.js';
package/dist/src/node.js CHANGED
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { deprecate } from 'node:util';
package/dist/src/types.js CHANGED
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  /**
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { EnumToken } from '../lib/ast/types.js';
package/dist/src/web.js CHANGED
@@ -2,7 +2,7 @@
2
2
  CSS parser, minifier and validator for node and the browser
3
3
 
4
4
  Author(s): Thierry Bela
5
- Version: 1.8.1
5
+ Version: 1.8.2
6
6
  License: MIT
7
7
  */
8
8
  import { doParse, doParseSync } from './lib/parser/parse.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tbela99/css-parser",
3
3
  "description": "CSS parser, minifier and validator for node and the browser",
4
- "version": "1.8.1",
4
+ "version": "1.8.2",
5
5
  "exports": {
6
6
  ".": "./dist/src/node.js",
7
7
  "./node": "./dist/src/node.js",