@tuya-sat/micro-script 3.0.7 → 3.0.9

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.
@@ -22,7 +22,7 @@ function parse_SDF_CONFIG(html) {
22
22
  }
23
23
  function parse_SDF(html) {
24
24
  var _a;
25
- const REGEX = /(?<=window._SDF=).*?(?=;)/;
25
+ const REGEX = /(?<=window._SDF=).*?}(?=;)/;
26
26
  return ((_a = REGEX.exec(html)) === null || _a === void 0 ? void 0 : _a[0]) || '';
27
27
  }
28
28
  function parse__MAIN_APP_PUBLIC_PATH(html) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuya-sat/micro-script",
3
- "version": "3.0.7",
3
+ "version": "3.0.9",
4
4
  "bin": "./dist/bin/cli.js",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
@@ -20,9 +20,9 @@
20
20
  "@babel/preset-react": "7.16.7",
21
21
  "@babel/preset-typescript": "7.16.7",
22
22
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.4",
23
- "@tuya-sat/micro-dev-loader": "3.0.7",
24
- "@tuya-sat/micro-dev-proxy": "3.0.7",
25
- "@tuya-sat/micro-utils": "3.0.7",
23
+ "@tuya-sat/micro-dev-loader": "3.0.9",
24
+ "@tuya-sat/micro-dev-proxy": "3.0.9",
25
+ "@tuya-sat/micro-utils": "3.0.9",
26
26
  "@types/kill-port": "^2.0.0",
27
27
  "babel-loader": "8.2.4",
28
28
  "babel-plugin-import": "1.13.3",