@prosopo/provider-mock 2.7.23 → 2.7.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.
- package/CHANGELOG.md +21 -0
- package/dist/bundle/provider-mock.start.bundle.js +27 -21
- package/package.json +10 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @prosopo/provider-mock
|
|
2
2
|
|
|
3
|
+
## 2.7.24
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- 828066d: remove empty test npm scripts, add missing npm test scripts
|
|
7
|
+
- 91bbe87: configure typecheck before bundle for vue packages
|
|
8
|
+
- 91bbe87: make typecheck script always recompile
|
|
9
|
+
- 346e092: NODE_ENV default to "development"
|
|
10
|
+
- 5d36e05: remove tsc --force
|
|
11
|
+
- Updated dependencies [828066d]
|
|
12
|
+
- Updated dependencies [df4e030]
|
|
13
|
+
- Updated dependencies [91bbe87]
|
|
14
|
+
- Updated dependencies [3ef4fd2]
|
|
15
|
+
- Updated dependencies [91bbe87]
|
|
16
|
+
- Updated dependencies [346e092]
|
|
17
|
+
- Updated dependencies [5d36e05]
|
|
18
|
+
- @prosopo/common@3.1.2
|
|
19
|
+
- @prosopo/types@3.0.6
|
|
20
|
+
- @prosopo/config@3.1.3
|
|
21
|
+
- @prosopo/provider@3.3.0
|
|
22
|
+
- @prosopo/api-express-router@3.0.6
|
|
23
|
+
|
|
3
24
|
## 2.7.23
|
|
4
25
|
### Patch Changes
|
|
5
26
|
|
|
@@ -29933,7 +29933,7 @@ function yte() {
|
|
|
29933
29933
|
}
|
|
29934
29934
|
}
|
|
29935
29935
|
function c(h) {
|
|
29936
|
-
return h && typeof h.host == "string" && typeof h.port == "number" && h.port >= 0 && h.port <= 65535;
|
|
29936
|
+
return h && typeof h.host == "string" && Buffer.byteLength(h.host) < 256 && typeof h.port == "number" && h.port >= 0 && h.port <= 65535;
|
|
29937
29937
|
}
|
|
29938
29938
|
function f(h) {
|
|
29939
29939
|
return h && (typeof h.host == "string" || typeof h.ipaddress == "string") && typeof h.port == "number" && h.port >= 0 && h.port <= 65535 && (h.type === 4 || h.type === 5);
|
|
@@ -73159,7 +73159,7 @@ function FH() {
|
|
|
73159
73159
|
if (T5) return ib;
|
|
73160
73160
|
T5 = 1;
|
|
73161
73161
|
function e(t) {
|
|
73162
|
-
i.debug = i, i.default = i, i.coerce = f, i.disable =
|
|
73162
|
+
i.debug = i, i.default = i, i.coerce = f, i.disable = l, i.enable = n, i.enabled = c, i.humanize = /* @__PURE__ */ qm(), i.destroy = u, Object.keys(t).forEach((a) => {
|
|
73163
73163
|
i[a] = t[a];
|
|
73164
73164
|
}), i.names = [], i.skips = [], i.formatters = {};
|
|
73165
73165
|
function r(a) {
|
|
@@ -73204,33 +73204,39 @@ function FH() {
|
|
|
73204
73204
|
}
|
|
73205
73205
|
function n(a) {
|
|
73206
73206
|
i.save(a), i.namespaces = a, i.names = [], i.skips = [];
|
|
73207
|
-
|
|
73208
|
-
const p
|
|
73209
|
-
|
|
73210
|
-
|
|
73207
|
+
const d = (typeof a == "string" ? a : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
73208
|
+
for (const p of d)
|
|
73209
|
+
p[0] === "-" ? i.skips.push(p.slice(1)) : i.names.push(p);
|
|
73210
|
+
}
|
|
73211
|
+
function o(a, d) {
|
|
73212
|
+
let p = 0, h = 0, y = -1, m = 0;
|
|
73213
|
+
for (; p < a.length; )
|
|
73214
|
+
if (h < d.length && (d[h] === a[p] || d[h] === "*"))
|
|
73215
|
+
d[h] === "*" ? (y = h, m = p, h++) : (p++, h++);
|
|
73216
|
+
else if (y !== -1)
|
|
73217
|
+
h = y + 1, m++, p = m;
|
|
73218
|
+
else
|
|
73219
|
+
return !1;
|
|
73220
|
+
for (; h < d.length && d[h] === "*"; )
|
|
73221
|
+
h++;
|
|
73222
|
+
return h === d.length;
|
|
73211
73223
|
}
|
|
73212
|
-
function
|
|
73224
|
+
function l() {
|
|
73213
73225
|
const a = [
|
|
73214
|
-
...i.names
|
|
73215
|
-
...i.skips.map(
|
|
73226
|
+
...i.names,
|
|
73227
|
+
...i.skips.map((d) => "-" + d)
|
|
73216
73228
|
].join(",");
|
|
73217
73229
|
return i.enable(""), a;
|
|
73218
73230
|
}
|
|
73219
|
-
function
|
|
73220
|
-
|
|
73221
|
-
|
|
73222
|
-
let d, p;
|
|
73223
|
-
for (d = 0, p = i.skips.length; d < p; d++)
|
|
73224
|
-
if (i.skips[d].test(a))
|
|
73231
|
+
function c(a) {
|
|
73232
|
+
for (const d of i.skips)
|
|
73233
|
+
if (o(a, d))
|
|
73225
73234
|
return !1;
|
|
73226
|
-
for (d
|
|
73227
|
-
if (
|
|
73235
|
+
for (const d of i.names)
|
|
73236
|
+
if (o(a, d))
|
|
73228
73237
|
return !0;
|
|
73229
73238
|
return !1;
|
|
73230
73239
|
}
|
|
73231
|
-
function c(a) {
|
|
73232
|
-
return a.toString().substring(2, a.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
73233
|
-
}
|
|
73234
73240
|
function f(a) {
|
|
73235
73241
|
return a instanceof Error ? a.stack || a.message : a;
|
|
73236
73242
|
}
|
|
@@ -73360,7 +73366,7 @@ function Hie() {
|
|
|
73360
73366
|
function n() {
|
|
73361
73367
|
let c;
|
|
73362
73368
|
try {
|
|
73363
|
-
c = t.storage.getItem("debug");
|
|
73369
|
+
c = t.storage.getItem("debug") || t.storage.getItem("DEBUG");
|
|
73364
73370
|
} catch {
|
|
73365
73371
|
}
|
|
73366
73372
|
return !c && typeof process < "u" && "env" in process && (c = process.env.DEBUG), c;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/provider-mock",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.24",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -18,18 +18,17 @@
|
|
|
18
18
|
"npm": "10.8.2"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
-
"build": "NODE_ENV=${NODE_ENV:-
|
|
21
|
+
"build": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.esm.config.ts --mode $NODE_ENV",
|
|
22
22
|
"build:tsc": "tsc --build --verbose",
|
|
23
|
-
"build:cjs": "NODE_ENV=${NODE_ENV:-
|
|
24
|
-
"typecheck": "tsc --build --declaration --emitDeclarationOnly
|
|
25
|
-
"
|
|
26
|
-
"bundle": "NODE_ENV=${NODE_ENV:-production}; vite build --config vite.config.ts --mode $NODE_ENV"
|
|
23
|
+
"build:cjs": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV",
|
|
24
|
+
"typecheck": "tsc --build --declaration --emitDeclarationOnly",
|
|
25
|
+
"bundle": "NODE_ENV=${NODE_ENV:-development}; vite build --config vite.config.ts --mode $NODE_ENV"
|
|
27
26
|
},
|
|
28
27
|
"dependencies": {
|
|
29
|
-
"@prosopo/api-express-router": "3.0.
|
|
30
|
-
"@prosopo/common": "3.1.
|
|
31
|
-
"@prosopo/provider": "3.
|
|
32
|
-
"@prosopo/types": "3.0.
|
|
28
|
+
"@prosopo/api-express-router": "3.0.6",
|
|
29
|
+
"@prosopo/common": "3.1.2",
|
|
30
|
+
"@prosopo/provider": "3.3.0",
|
|
31
|
+
"@prosopo/types": "3.0.6",
|
|
33
32
|
"@typegoose/auto-increment": "4.13.0",
|
|
34
33
|
"axios": "1.10.0",
|
|
35
34
|
"cors": "2.8.5",
|
|
@@ -37,7 +36,7 @@
|
|
|
37
36
|
"express": "4.21.2",
|
|
38
37
|
"mongodb": "6.9.0",
|
|
39
38
|
"read-tls-client-hello": "1.1.0",
|
|
40
|
-
"@prosopo/config": "3.1.
|
|
39
|
+
"@prosopo/config": "3.1.3",
|
|
41
40
|
"mongoose": "8.13.0",
|
|
42
41
|
"openpgp": "5.11.3",
|
|
43
42
|
"webpack-dev-server": "5.2.2"
|