@things-factory/operato-mms 4.3.23 → 4.3.24

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,16 +1,13 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.NoGenerator = void 0;
7
- const v4_1 = __importDefault(require("uuid/v4"));
4
+ const uuid_1 = require("uuid");
8
5
  class NoGenerator {
9
6
  static id() {
10
- return `${(0, v4_1.default)()}`;
7
+ return `${(0, uuid_1.v4)()}`;
11
8
  }
12
9
  static sku() {
13
- return `SKU-${(0, v4_1.default)()}`;
10
+ return `SKU-${(0, uuid_1.v4)()}`;
14
11
  }
15
12
  }
16
13
  exports.NoGenerator = NoGenerator;
@@ -1 +1 @@
1
- {"version":3,"file":"no-generator.js","sourceRoot":"","sources":["../../server/util/no-generator.ts"],"names":[],"mappings":";;;;;;AAAA,iDAA0B;AAE1B,MAAa,WAAW;IACtB,MAAM,CAAC,EAAE;QACP,OAAO,GAAG,IAAA,YAAI,GAAE,EAAE,CAAA;IACpB,CAAC;IAED,MAAM,CAAC,GAAG;QACR,OAAO,OAAO,IAAA,YAAI,GAAE,EAAE,CAAA;IACxB,CAAC;CACF;AARD,kCAQC"}
1
+ {"version":3,"file":"no-generator.js","sourceRoot":"","sources":["../../server/util/no-generator.ts"],"names":[],"mappings":";;;AAAA,+BAAmC;AAEnC,MAAa,WAAW;IACtB,MAAM,CAAC,EAAE;QACP,OAAO,GAAG,IAAA,SAAM,GAAE,EAAE,CAAA;IACtB,CAAC;IAED,MAAM,CAAC,GAAG;QACR,OAAO,OAAO,IAAA,SAAM,GAAE,EAAE,CAAA;IAC1B,CAAC;CACF;AARD,kCAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/operato-mms",
3
- "version": "4.3.23",
3
+ "version": "4.3.24",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -61,31 +61,31 @@
61
61
  "@operato/scene-timer": "^0.1.6",
62
62
  "@operato/scene-wheel-sorter": "^0.1.6",
63
63
  "@things-factory/apptool-ui": "^4.3.23",
64
- "@things-factory/attachment-base": "^4.3.23",
65
- "@things-factory/auth-ui": "^4.3.23",
66
- "@things-factory/biz-base": "^4.3.23",
67
- "@things-factory/board-service": "^4.3.23",
68
- "@things-factory/board-ui": "^4.3.23",
69
- "@things-factory/code-ui": "^4.3.23",
64
+ "@things-factory/attachment-base": "^4.3.24",
65
+ "@things-factory/auth-ui": "^4.3.24",
66
+ "@things-factory/biz-base": "^4.3.24",
67
+ "@things-factory/board-service": "^4.3.24",
68
+ "@things-factory/board-ui": "^4.3.24",
69
+ "@things-factory/code-ui": "^4.3.24",
70
70
  "@things-factory/context-ui": "^4.3.23",
71
- "@things-factory/dashboard": "^4.3.23",
71
+ "@things-factory/dashboard": "^4.3.24",
72
72
  "@things-factory/export-ui": "^4.3.23",
73
73
  "@things-factory/export-ui-csv": "^4.3.23",
74
74
  "@things-factory/export-ui-excel": "^4.3.23",
75
- "@things-factory/geography": "^4.3.23",
75
+ "@things-factory/geography": "^4.3.24",
76
76
  "@things-factory/grist-ui": "^4.3.23",
77
77
  "@things-factory/help": "^4.3.23",
78
78
  "@things-factory/i18n-base": "^4.3.23",
79
- "@things-factory/integration-fulfillment": "^4.3.23",
80
- "@things-factory/integration-lmd": "^4.3.23",
81
- "@things-factory/lite-menu": "^4.3.23",
82
- "@things-factory/marketplace-base": "^4.3.23",
79
+ "@things-factory/integration-fulfillment": "^4.3.24",
80
+ "@things-factory/integration-lmd": "^4.3.24",
81
+ "@things-factory/lite-menu": "^4.3.24",
82
+ "@things-factory/marketplace-base": "^4.3.24",
83
83
  "@things-factory/more-ui": "^4.3.23",
84
- "@things-factory/notification": "^4.3.23",
85
- "@things-factory/oauth2-client": "^4.3.23",
84
+ "@things-factory/notification": "^4.3.24",
85
+ "@things-factory/oauth2-client": "^4.3.24",
86
86
  "@things-factory/pdf": "^4.3.23",
87
- "@things-factory/product-base": "^4.3.23",
88
- "@things-factory/resource-ui": "^4.3.23",
87
+ "@things-factory/product-base": "^4.3.24",
88
+ "@things-factory/resource-ui": "^4.3.24",
89
89
  "@things-factory/scene-data-transform": "^4.3.23",
90
90
  "@things-factory/scene-excel": "^4.3.23",
91
91
  "@things-factory/scene-firebase": "^4.3.23",
@@ -97,13 +97,13 @@
97
97
  "@things-factory/scene-mqtt": "^4.3.23",
98
98
  "@things-factory/scene-restful": "^4.3.23",
99
99
  "@things-factory/scene-visualizer": "^4.3.23",
100
- "@things-factory/setting-ui": "^4.3.23",
100
+ "@things-factory/setting-ui": "^4.3.24",
101
101
  "@things-factory/system-ui": "^4.3.23",
102
- "@things-factory/warehouse-base": "^4.3.23"
102
+ "@things-factory/warehouse-base": "^4.3.24"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@things-factory/builder": "^4.3.23",
106
106
  "@types/node-fetch": "^2.5.7"
107
107
  },
108
- "gitHead": "1fc1cde1702acc5f1c1b7adedeb1ba4448438848"
108
+ "gitHead": "43ba20d3476c8604e94f6a6b0bd7e84b6ec1bfd8"
109
109
  }
@@ -1,11 +1,11 @@
1
- import uuid from 'uuid/v4'
1
+ import { v4 as uuidv4 } from 'uuid'
2
2
 
3
3
  export class NoGenerator {
4
4
  static id() {
5
- return `${uuid()}`
5
+ return `${uuidv4()}`
6
6
  }
7
7
 
8
8
  static sku() {
9
- return `SKU-${uuid()}`
9
+ return `SKU-${uuidv4()}`
10
10
  }
11
11
  }