babel-plugin-hylid-bridge 6.3.1 → 6.4.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/lib/helper.js +4 -0
- package/package.json +2 -2
package/lib/helper.js
CHANGED
|
@@ -123,6 +123,10 @@ function restoreClientName(input) {
|
|
|
123
123
|
if (input.includes('ScbPlanetplus')) {
|
|
124
124
|
return input.replace('ScbPlanetplus', 'Scb_planetplus');
|
|
125
125
|
}
|
|
126
|
+
//华为元服务
|
|
127
|
+
if (input.includes('HuaweiAtomic')) {
|
|
128
|
+
return input.replace('HuaweiAtomic', 'Huawei_atomic');
|
|
129
|
+
}
|
|
126
130
|
return input;
|
|
127
131
|
}
|
|
128
132
|
// 用于 babel 插件中比较 hylid-bridge 版本号
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-hylid-bridge",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "babel-plugin-hylid-bridge",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/babel-plugin-tester": "^9.0.7",
|
|
24
24
|
"babel-plugin-tester": "^10.1.0",
|
|
25
|
-
"hylid-bridge": "^6.
|
|
25
|
+
"hylid-bridge": "^6.4.0"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|