shineout 1.12.20-beta.4 → 1.12.20

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/css/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as utils from './utils'
3
3
 
4
4
  declare const __default: {
5
5
  utils: typeof utils,
6
- version: '1.12.20-beta.4'
6
+ version: '1.12.20'
7
7
  }
8
8
 
9
9
  export default __default
package/css/index.js CHANGED
@@ -224,6 +224,6 @@ exports.Upload = _Upload.default;
224
224
  // Created by scripts/src-index.js.
225
225
  var _default = {
226
226
  utils: utils,
227
- version: '1.12.20-beta.4'
227
+ version: '1.12.20'
228
228
  };
229
229
  exports.default = _default;
@@ -44,10 +44,6 @@ var shallowClone = function shallowClone(val) {
44
44
  exports.shallowClone = shallowClone;
45
45
 
46
46
  var deepClone = function deepClone(source) {
47
- if (window.structuredClone) {
48
- return window.structuredClone(source);
49
- }
50
-
51
47
  if ((0, _is.isArray)(source)) return cloneArray(source);
52
48
  if ((0, _is.isMergeable)(source)) return cloneObject(source);
53
49
  return shallowClone(source);
package/dist/shineout.js CHANGED
@@ -421213,7 +421213,7 @@ var cov_1fvu52z35o = function () {
421213
421213
 
421214
421214
  /* harmony default export */ __webpack_exports__["default"] = ({
421215
421215
  utils: _utils__WEBPACK_IMPORTED_MODULE_0__,
421216
- version: '1.12.20-beta.4'
421216
+ version: '1.12.20'
421217
421217
  });
421218
421218
 
421219
421219
 
@@ -423314,7 +423314,7 @@ __webpack_require__.r(__webpack_exports__);
423314
423314
  /* harmony import */ var _is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./is */ "./src/utils/is.js");
423315
423315
  var cov_15sedu2pj3 = function () {
423316
423316
  var path = "/Users/spana/SHEIN/shineout/src/utils/clone.js",
423317
- hash = "5ba4396c1cbacdc1d9b831678b9ccfe19e7ec63b",
423317
+ hash = "8d0e570f5c35c00f282cddabe3aa1c715d094de9",
423318
423318
  Function = function () {}.constructor,
423319
423319
  global = new Function('return this')(),
423320
423320
  gcv = "__coverage__",
@@ -423567,7 +423567,7 @@ var cov_15sedu2pj3 = function () {
423567
423567
  column: 25
423568
423568
  },
423569
423569
  end: {
423570
- line: 34,
423570
+ line: 31,
423571
423571
  column: 1
423572
423572
  }
423573
423573
  },
@@ -423577,67 +423577,47 @@ var cov_15sedu2pj3 = function () {
423577
423577
  column: 2
423578
423578
  },
423579
423579
  end: {
423580
- line: 30,
423581
- column: 3
423582
- }
423583
- },
423584
- "26": {
423585
- start: {
423586
- line: 29,
423587
- column: 4
423588
- },
423589
- end: {
423590
- line: 29,
423591
- column: 41
423592
- }
423593
- },
423594
- "27": {
423595
- start: {
423596
- line: 31,
423597
- column: 2
423598
- },
423599
- end: {
423600
- line: 31,
423580
+ line: 28,
423601
423581
  column: 48
423602
423582
  }
423603
423583
  },
423604
- "28": {
423584
+ "26": {
423605
423585
  start: {
423606
- line: 31,
423586
+ line: 28,
423607
423587
  column: 23
423608
423588
  },
423609
423589
  end: {
423610
- line: 31,
423590
+ line: 28,
423611
423591
  column: 48
423612
423592
  }
423613
423593
  },
423614
- "29": {
423594
+ "27": {
423615
423595
  start: {
423616
- line: 32,
423596
+ line: 29,
423617
423597
  column: 2
423618
423598
  },
423619
423599
  end: {
423620
- line: 32,
423600
+ line: 29,
423621
423601
  column: 53
423622
423602
  }
423623
423603
  },
423624
- "30": {
423604
+ "28": {
423625
423605
  start: {
423626
- line: 32,
423606
+ line: 29,
423627
423607
  column: 27
423628
423608
  },
423629
423609
  end: {
423630
- line: 32,
423610
+ line: 29,
423631
423611
  column: 53
423632
423612
  }
423633
423613
  },
423634
- "31": {
423614
+ "29": {
423635
423615
  start: {
423636
- line: 33,
423616
+ line: 30,
423637
423617
  column: 2
423638
423618
  },
423639
423619
  end: {
423640
- line: 33,
423620
+ line: 30,
423641
423621
  column: 29
423642
423622
  }
423643
423623
  }
@@ -423805,7 +423785,7 @@ var cov_15sedu2pj3 = function () {
423805
423785
  column: 35
423806
423786
  },
423807
423787
  end: {
423808
- line: 34,
423788
+ line: 31,
423809
423789
  column: 1
423810
423790
  }
423811
423791
  },
@@ -424042,97 +424022,64 @@ var cov_15sedu2pj3 = function () {
424042
424022
  column: 2
424043
424023
  },
424044
424024
  end: {
424045
- line: 30,
424046
- column: 3
424047
- }
424048
- },
424049
- type: "if",
424050
- locations: [{
424051
- start: {
424052
- line: 28,
424053
- column: 2
424054
- },
424055
- end: {
424056
- line: 30,
424057
- column: 3
424058
- }
424059
- }, {
424060
- start: {
424061
424025
  line: 28,
424062
- column: 2
424063
- },
424064
- end: {
424065
- line: 30,
424066
- column: 3
424067
- }
424068
- }],
424069
- line: 28
424070
- },
424071
- "8": {
424072
- loc: {
424073
- start: {
424074
- line: 31,
424075
- column: 2
424076
- },
424077
- end: {
424078
- line: 31,
424079
424026
  column: 48
424080
424027
  }
424081
424028
  },
424082
424029
  type: "if",
424083
424030
  locations: [{
424084
424031
  start: {
424085
- line: 31,
424032
+ line: 28,
424086
424033
  column: 2
424087
424034
  },
424088
424035
  end: {
424089
- line: 31,
424036
+ line: 28,
424090
424037
  column: 48
424091
424038
  }
424092
424039
  }, {
424093
424040
  start: {
424094
- line: 31,
424041
+ line: 28,
424095
424042
  column: 2
424096
424043
  },
424097
424044
  end: {
424098
- line: 31,
424045
+ line: 28,
424099
424046
  column: 48
424100
424047
  }
424101
424048
  }],
424102
- line: 31
424049
+ line: 28
424103
424050
  },
424104
- "9": {
424051
+ "8": {
424105
424052
  loc: {
424106
424053
  start: {
424107
- line: 32,
424054
+ line: 29,
424108
424055
  column: 2
424109
424056
  },
424110
424057
  end: {
424111
- line: 32,
424058
+ line: 29,
424112
424059
  column: 53
424113
424060
  }
424114
424061
  },
424115
424062
  type: "if",
424116
424063
  locations: [{
424117
424064
  start: {
424118
- line: 32,
424065
+ line: 29,
424119
424066
  column: 2
424120
424067
  },
424121
424068
  end: {
424122
- line: 32,
424069
+ line: 29,
424123
424070
  column: 53
424124
424071
  }
424125
424072
  }, {
424126
424073
  start: {
424127
- line: 32,
424074
+ line: 29,
424128
424075
  column: 2
424129
424076
  },
424130
424077
  end: {
424131
- line: 32,
424078
+ line: 29,
424132
424079
  column: 53
424133
424080
  }
424134
424081
  }],
424135
- line: 32
424082
+ line: 29
424136
424083
  }
424137
424084
  },
424138
424085
  s: {
@@ -424165,9 +424112,7 @@ var cov_15sedu2pj3 = function () {
424165
424112
  "26": 0,
424166
424113
  "27": 0,
424167
424114
  "28": 0,
424168
- "29": 0,
424169
- "30": 0,
424170
- "31": 0
424115
+ "29": 0
424171
424116
  },
424172
424117
  f: {
424173
424118
  "0": 0,
@@ -424187,8 +424132,7 @@ var cov_15sedu2pj3 = function () {
424187
424132
  "5": [0, 0],
424188
424133
  "6": [0, 0],
424189
424134
  "7": [0, 0],
424190
- "8": [0, 0],
424191
- "9": [0, 0]
424135
+ "8": [0, 0]
424192
424136
  },
424193
424137
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184"
424194
424138
  },
@@ -424311,35 +424255,25 @@ var deepClone = function deepClone(source) {
424311
424255
  cov_15sedu2pj3.f[6]++;
424312
424256
  cov_15sedu2pj3.s[25]++;
424313
424257
 
424314
- if (window.structuredClone) {
424258
+ if (Object(_is__WEBPACK_IMPORTED_MODULE_1__["isArray"])(source)) {
424315
424259
  cov_15sedu2pj3.b[7][0]++;
424316
424260
  cov_15sedu2pj3.s[26]++;
424317
- return window.structuredClone(source);
424261
+ return cloneArray(source);
424318
424262
  } else {
424319
424263
  cov_15sedu2pj3.b[7][1]++;
424320
424264
  }
424321
424265
 
424322
424266
  cov_15sedu2pj3.s[27]++;
424323
424267
 
424324
- if (Object(_is__WEBPACK_IMPORTED_MODULE_1__["isArray"])(source)) {
424268
+ if (Object(_is__WEBPACK_IMPORTED_MODULE_1__["isMergeable"])(source)) {
424325
424269
  cov_15sedu2pj3.b[8][0]++;
424326
424270
  cov_15sedu2pj3.s[28]++;
424327
- return cloneArray(source);
424271
+ return cloneObject(source);
424328
424272
  } else {
424329
424273
  cov_15sedu2pj3.b[8][1]++;
424330
424274
  }
424331
424275
 
424332
424276
  cov_15sedu2pj3.s[29]++;
424333
-
424334
- if (Object(_is__WEBPACK_IMPORTED_MODULE_1__["isMergeable"])(source)) {
424335
- cov_15sedu2pj3.b[9][0]++;
424336
- cov_15sedu2pj3.s[30]++;
424337
- return cloneObject(source);
424338
- } else {
424339
- cov_15sedu2pj3.b[9][1]++;
424340
- }
424341
-
424342
- cov_15sedu2pj3.s[31]++;
424343
424277
  return shallowClone(source);
424344
424278
  };
424345
424279