@rsmax/web 1.3.6 → 1.3.7

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.3.7](https://github.com/remaxjs/remax/compare/v1.3.6...v1.3.7) (2025-06-03)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **cli:** 修复 RouterType 为枚举类型 ([3f24bc7](https://github.com/remaxjs/remax/commit/3f24bc7b1d7c79922fcafcda73ff4badbf37e501))
11
+
6
12
  ## [1.3.6](https://github.com/remaxjs/remax/compare/v1.3.5...v1.3.6) (2025-06-03)
7
13
 
8
14
  ### Bug Fixes
@@ -3,7 +3,7 @@ export interface Page {
3
3
  route: string;
4
4
  config: PageConfig;
5
5
  }
6
- export declare const enum RouterType {
6
+ export declare enum RouterType {
7
7
  hash = "hash",
8
8
  browser = "browser"
9
9
  }
@@ -1,2 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RouterType = void 0;
4
+ var RouterType;
5
+ (function (RouterType) {
6
+ RouterType["hash"] = "hash";
7
+ RouterType["browser"] = "browser";
8
+ })(RouterType = exports.RouterType || (exports.RouterType = {}));
@@ -3,7 +3,7 @@ export interface Page {
3
3
  route: string;
4
4
  config: PageConfig;
5
5
  }
6
- export declare const enum RouterType {
6
+ export declare enum RouterType {
7
7
  hash = "hash",
8
8
  browser = "browser"
9
9
  }
@@ -1 +1,5 @@
1
- export {};
1
+ export var RouterType;
2
+ (function (RouterType) {
3
+ RouterType["hash"] = "hash";
4
+ RouterType["browser"] = "browser";
5
+ })(RouterType || (RouterType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsmax/web",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Shim of web for rsmax",
5
5
  "author": "Wei Zhu <yesmeck@gmail.com>",
6
6
  "homepage": "https://github.com/remaxjs/remax#readme",
@@ -26,7 +26,7 @@
26
26
  "dependencies": {
27
27
  "@loadable/component": "^5.12.0",
28
28
  "@remax/react-router-cache-route": "^1.8.4",
29
- "@rsmax/framework-shared": "1.3.6",
29
+ "@rsmax/framework-shared": "1.3.7",
30
30
  "history": "^5.3.0",
31
31
  "qs": "^6.9.3",
32
32
  "react-is": "^18.3.0",
@@ -49,5 +49,5 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
- "gitHead": "1121e316785a7e49396bdc6d19f654580d9aed7a"
52
+ "gitHead": "fb6333bb839377f3b27433ce8db92da0dbd1f753"
53
53
  }