@lark-apaas/db-schema-sync 0.1.23-alpha.20261024072618 → 0.1.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/dist/bin.js
CHANGED
|
@@ -485,7 +485,11 @@ var require_dist = __commonJS({
|
|
|
485
485
|
if (keys.some((key) => key.toLowerCase() === "x-use-ppe")) {
|
|
486
486
|
return headers;
|
|
487
487
|
}
|
|
488
|
-
const
|
|
488
|
+
const ttEnvValues = keys.filter((key) => key.toLowerCase() === "x-tt-env").map((key) => headers[key]);
|
|
489
|
+
if (!ttEnvValues.every((value) => typeof value === "string")) {
|
|
490
|
+
return headers;
|
|
491
|
+
}
|
|
492
|
+
const ttEnv = ttEnvValues.map((value) => value.replace(HTTP_WHITESPACE, "")).join(", ");
|
|
489
493
|
if (!ttEnv.startsWith("ppe")) {
|
|
490
494
|
return headers;
|
|
491
495
|
}
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/db-schema-sync",
|
|
3
|
-
"version": "0.1.23
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"node": ">=18.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@lark-apaas/http-client": "0.1.9
|
|
32
|
+
"@lark-apaas/http-client": "^0.1.9",
|
|
33
33
|
"dotenv": "^17.3.1",
|
|
34
34
|
"tiny-pinyin": "^1.3.2"
|
|
35
35
|
},
|