@ray-js/api 1.7.72 → 1.7.73

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.
@@ -1,4 +1,5 @@
1
- const _getApp = getApp;
1
+ import "core-js/modules/es.global-this.js";
2
+ const _getApp = globalThis.getApp;
2
3
  /**
3
4
  * 获取应用唯一 App 实例,实例对象为 `src/App.tsx`
4
5
  *
@@ -1,6 +1,7 @@
1
+ import "core-js/modules/es.global-this.js";
1
2
  /** 页面实例对象 */
2
3
 
3
- const _getCurrentPages = getCurrentPages;
4
+ const _getCurrentPages = globalThis.getCurrentPages;
4
5
 
5
6
  /**
6
7
  * 获取当前页面栈。返回一个数组,数组中的元素为页面栈中的页面对象,数组第一个元素为首页,最后一个元素为当前页面。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.7.72",
3
+ "version": "1.7.73",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "watch": "ray start --type=component"
30
30
  },
31
31
  "dependencies": {
32
- "@ray-js/framework": "1.7.72",
33
- "@ray-js/router": "1.7.72",
32
+ "@ray-js/framework": "1.7.73",
33
+ "@ray-js/router": "1.7.73",
34
34
  "base64-browser": "^1.0.1",
35
35
  "query-string": "^7.1.3"
36
36
  },
@@ -38,7 +38,7 @@
38
38
  "@ray-js/wechat": "^0.3.13"
39
39
  },
40
40
  "devDependencies": {
41
- "@ray-js/cli": "1.7.72",
41
+ "@ray-js/cli": "1.7.73",
42
42
  "art-template": "^4.13.4",
43
43
  "fs-extra": "^10.1.0",
44
44
  "miniprogram-api-typings": "^3.12.3",
@@ -48,5 +48,5 @@
48
48
  "access": "public",
49
49
  "registry": "https://registry.npmjs.org"
50
50
  },
51
- "gitHead": "06415e2d0f0de0a3f27af53a0fece495cf4d9078"
51
+ "gitHead": "a2827527c73401382303ccfde1c1046440c2073d"
52
52
  }