babel-plugin-hylid-bridge 4.0.0-alpha.26 → 4.0.0-alpha.28
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.
|
@@ -27,7 +27,7 @@ function _default(targets) {
|
|
|
27
27
|
compatibilities[api] = compatibilities[api].filter(function (item) {
|
|
28
28
|
// 标记删除的数据不要
|
|
29
29
|
if (item.deleteAt) return false;
|
|
30
|
-
// 比当前 hylid-bridge
|
|
30
|
+
// 比当前 hylid-bridge 版本低的不要
|
|
31
31
|
if (item.hylidBridgeVersion && (0, _helper.compareVersion)(version, item.hylidBridgeVersion) < 0) return false;
|
|
32
32
|
// babel 配置中没有的平台和客户端不要
|
|
33
33
|
if (!targets.includes((item.platformType + item.clientName).toLowerCase())) return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-plugin-hylid-bridge",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.28",
|
|
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": "^4.0.0-alpha.
|
|
25
|
+
"hylid-bridge": "^4.0.0-alpha.28"
|
|
26
26
|
},
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|