@acemir/cssom 0.9.22 → 0.9.23

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/build/CSSOM.js CHANGED
@@ -3694,7 +3694,9 @@ CSSOM.parse = function parse(token, opts, errorHandler) {
3694
3694
  case "importRule":
3695
3695
  case "namespaceRule":
3696
3696
  case "layerBlock":
3697
- token += ";"
3697
+ if (character !== ";") {
3698
+ token += ";"
3699
+ }
3698
3700
  }
3699
3701
  }
3700
3702
 
package/lib/parse.js CHANGED
@@ -906,7 +906,9 @@ CSSOM.parse = function parse(token, opts, errorHandler) {
906
906
  case "importRule":
907
907
  case "namespaceRule":
908
908
  case "layerBlock":
909
- token += ";"
909
+ if (character !== ";") {
910
+ token += ";"
911
+ }
910
912
  }
911
913
  }
912
914
 
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "parser",
8
8
  "styleSheet"
9
9
  ],
10
- "version": "0.9.22",
10
+ "version": "0.9.23",
11
11
  "author": "Nikita Vasilyev <me@elv1s.ru>",
12
12
  "contributors": [
13
13
  "Acemir Sousa Mendes <acemirsm@gmail.com>"