@dcloudio/uni-cli-shared 2.0.1-34620220419001 → 2.0.1-34720220422001

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.
@@ -0,0 +1,29 @@
1
+ if (typeof Promise !== 'undefined' && !Promise.prototype.finally) {
2
+ Promise.prototype.finally = function (callback) {
3
+ var promise = this.constructor
4
+ return this.then(function (value) {
5
+ return promise.resolve(callback()).then(function () {
6
+ return value
7
+ })
8
+ }, function (reason) {
9
+ return promise.resolve(callback()).then(function () {
10
+ throw reason
11
+ })
12
+ })
13
+ }
14
+ }
15
+ if (typeof uni !== 'undefined' && uni && uni.requireGlobal) {
16
+ const global = uni.requireGlobal()
17
+ ArrayBuffer = global.ArrayBuffer
18
+ Int8Array = global.Int8Array
19
+ Uint8Array = global.Uint8Array
20
+ Uint8ClampedArray = global.Uint8ClampedArray
21
+ Int16Array = global.Int16Array
22
+ Uint16Array = global.Uint16Array
23
+ Int32Array = global.Int32Array
24
+ Uint32Array = global.Uint32Array
25
+ Float32Array = global.Float32Array
26
+ Float64Array = global.Float64Array
27
+ BigInt64Array = global.BigInt64Array
28
+ BigUint64Array = global.BigUint64Array
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-cli-shared",
3
- "version": "2.0.1-34620220419001",
3
+ "version": "2.0.1-34720220422001",
4
4
  "description": "uni-cli-shared",
5
5
  "main": "lib/index.js",
6
6
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "postcss-urlrewrite": "^0.2.2",
24
24
  "strip-json-comments": "^2.0.1"
25
25
  },
26
- "gitHead": "854e276491925f39e0a6145ccca2828e00f242c0"
26
+ "gitHead": "021b138a8234345830ee7fa11c3eec0b98f1c073"
27
27
  }