utiller 1.0.311 → 1.0.312

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.
@@ -3417,7 +3417,10 @@ var Utiller = /*#__PURE__*/function () {
3417
3417
  */
3418
3418
  }, {
3419
3419
  key: "generateCombinations",
3420
- value: function generateCombinations(attributes) {
3420
+ value: function generateCombinations() {
3421
+ for (var _len29 = arguments.length, attributes = new Array(_len29), _key39 = 0; _key39 < _len29; _key39++) {
3422
+ attributes[_key39] = arguments[_key39];
3423
+ }
3421
3424
  var keys = attributes.map(function (attr) {
3422
3425
  return attr.key;
3423
3426
  }); // 屬性順序
@@ -3453,12 +3456,12 @@ var Utiller = /*#__PURE__*/function () {
3453
3456
  try {
3454
3457
  for (_iterator19.s(); !(_step19 = _iterator19.n()).done;) {
3455
3458
  var _step19$value = _step19.value,
3456
- _key39 = _step19$value.key,
3459
+ _key40 = _step19$value.key,
3457
3460
  value = _step19$value.value,
3458
3461
  label = _step19$value.label;
3459
- trait[_key39] = value;
3460
- idParts.push("".concat(_key39, "_").concat(value));
3461
- contentParts.push("".concat(labelMap[_key39].label, "\uFF1A").concat(label));
3462
+ trait[_key40] = value;
3463
+ idParts.push("".concat(_key40, "_").concat(value));
3464
+ contentParts.push("".concat(labelMap[_key40].label, "\uFF1A").concat(label));
3462
3465
  }
3463
3466
  } catch (err) {
3464
3467
  _iterator19.e(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utiller",
3
- "version": "1.0.311",
3
+ "version": "1.0.312",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
13
  "configerer": "^1.0.11",
14
- "utiller": "^1.0.310",
14
+ "utiller": "^1.0.311",
15
15
  "linepayer": "^1.0.4",
16
16
  "databazer": "^1.0.12",
17
17
  "lodash": "^4.17.20",