@aiot-toolkit/parser 2.0.5-beta.6 → 2.0.5-beta.8

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.
@@ -813,7 +813,9 @@ class StyleUtil {
813
813
  return value[0];
814
814
  } else {
815
815
  // 例如animation-name属性值
816
- return value.map(item => item === ',' ? `${item} ` : item).join('').trim();
816
+ return value.map(item => {
817
+ return item === ',' ? item : ` ${item}`;
818
+ }).join('').trim();
817
819
  }
818
820
  } else {
819
821
  // 例如transform属性值,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiot-toolkit/parser",
3
- "version": "2.0.5-beta.6",
3
+ "version": "2.0.5-beta.8",
4
4
  "description": "Parse the source code of aiot and convert it to the AST (Abstract Syntax Tree) of the target code.",
5
5
  "keywords": [
6
6
  "aiot",
@@ -20,8 +20,8 @@
20
20
  "test": "node ./__tests__/parser.test.js"
21
21
  },
22
22
  "dependencies": {
23
- "@aiot-toolkit/generator": "2.0.5-beta.6",
24
- "@aiot-toolkit/shared-utils": "2.0.5-beta.6",
23
+ "@aiot-toolkit/generator": "2.0.5-beta.8",
24
+ "@aiot-toolkit/shared-utils": "2.0.5-beta.8",
25
25
  "@babel/core": "^7.23.6",
26
26
  "@babel/generator": "^7.24.10",
27
27
  "@babel/parser": "^7.24.8",
@@ -33,7 +33,7 @@
33
33
  "css-tree": "npm:aiot-css-tree@^2.3.1",
34
34
  "csstree-validator": "^3.0.0",
35
35
  "eslint": "^8.46.0",
36
- "file-lane": "2.0.5-beta.6",
36
+ "file-lane": "2.0.5-beta.8",
37
37
  "fs-extra": "^11.2.0",
38
38
  "google-protobuf": "^3.21.2",
39
39
  "less": "^4.2.0",
@@ -60,5 +60,5 @@
60
60
  "@types/reserved-words": "^0.1.4",
61
61
  "babel-plugin-tester": "^11.0.4"
62
62
  },
63
- "gitHead": "84131732e5cea68517c787f2bdc9acdb997530bb"
63
+ "gitHead": "4604e54b9b009689782201b828f39a067f5fb0d4"
64
64
  }