@prosopo/provider-mock 2.7.14 → 2.7.16
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 +12 -0
- package/dist/bundle/provider-mock.start.bundle.js +20 -26
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @prosopo/provider-mock
|
|
2
2
|
|
|
3
|
+
## 2.7.16
|
|
4
|
+
### Patch Changes
|
|
5
|
+
|
|
6
|
+
- @prosopo/provider@3.1.2
|
|
7
|
+
|
|
8
|
+
## 2.7.15
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [b0d7207]
|
|
12
|
+
- @prosopo/provider@3.1.1
|
|
13
|
+
- @prosopo/types@3.0.3
|
|
14
|
+
|
|
3
15
|
## 2.7.14
|
|
4
16
|
### Patch Changes
|
|
5
17
|
|
|
@@ -73160,7 +73160,7 @@ function YH() {
|
|
|
73160
73160
|
if (N5) return ab;
|
|
73161
73161
|
N5 = 1;
|
|
73162
73162
|
function e(t) {
|
|
73163
|
-
i.debug = i, i.default = i, i.coerce = f, i.disable =
|
|
73163
|
+
i.debug = i, i.default = i, i.coerce = f, i.disable = o, i.enable = n, i.enabled = l, i.humanize = /* @__PURE__ */ zm(), i.destroy = u, Object.keys(t).forEach((a) => {
|
|
73164
73164
|
i[a] = t[a];
|
|
73165
73165
|
}), i.names = [], i.skips = [], i.formatters = {};
|
|
73166
73166
|
function r(a) {
|
|
@@ -73205,39 +73205,33 @@ function YH() {
|
|
|
73205
73205
|
}
|
|
73206
73206
|
function n(a) {
|
|
73207
73207
|
i.save(a), i.namespaces = a, i.names = [], i.skips = [];
|
|
73208
|
-
|
|
73209
|
-
|
|
73210
|
-
|
|
73211
|
-
|
|
73212
|
-
function o(a, d) {
|
|
73213
|
-
let p = 0, h = 0, y = -1, m = 0;
|
|
73214
|
-
for (; p < a.length; )
|
|
73215
|
-
if (h < d.length && (d[h] === a[p] || d[h] === "*"))
|
|
73216
|
-
d[h] === "*" ? (y = h, m = p, h++) : (p++, h++);
|
|
73217
|
-
else if (y !== -1)
|
|
73218
|
-
h = y + 1, m++, p = m;
|
|
73219
|
-
else
|
|
73220
|
-
return !1;
|
|
73221
|
-
for (; h < d.length && d[h] === "*"; )
|
|
73222
|
-
h++;
|
|
73223
|
-
return h === d.length;
|
|
73208
|
+
let d;
|
|
73209
|
+
const p = (typeof a == "string" ? a : "").split(/[\s,]+/), h = p.length;
|
|
73210
|
+
for (d = 0; d < h; d++)
|
|
73211
|
+
p[d] && (a = p[d].replace(/\*/g, ".*?"), a[0] === "-" ? i.skips.push(new RegExp("^" + a.slice(1) + "$")) : i.names.push(new RegExp("^" + a + "$")));
|
|
73224
73212
|
}
|
|
73225
|
-
function
|
|
73213
|
+
function o() {
|
|
73226
73214
|
const a = [
|
|
73227
|
-
...i.names,
|
|
73228
|
-
...i.skips.map((d) => "-" + d)
|
|
73215
|
+
...i.names.map(c),
|
|
73216
|
+
...i.skips.map(c).map((d) => "-" + d)
|
|
73229
73217
|
].join(",");
|
|
73230
73218
|
return i.enable(""), a;
|
|
73231
73219
|
}
|
|
73232
|
-
function
|
|
73233
|
-
|
|
73234
|
-
|
|
73220
|
+
function l(a) {
|
|
73221
|
+
if (a[a.length - 1] === "*")
|
|
73222
|
+
return !0;
|
|
73223
|
+
let d, p;
|
|
73224
|
+
for (d = 0, p = i.skips.length; d < p; d++)
|
|
73225
|
+
if (i.skips[d].test(a))
|
|
73235
73226
|
return !1;
|
|
73236
|
-
for (
|
|
73237
|
-
if (
|
|
73227
|
+
for (d = 0, p = i.names.length; d < p; d++)
|
|
73228
|
+
if (i.names[d].test(a))
|
|
73238
73229
|
return !0;
|
|
73239
73230
|
return !1;
|
|
73240
73231
|
}
|
|
73232
|
+
function c(a) {
|
|
73233
|
+
return a.toString().substring(2, a.toString().length - 2).replace(/\.\*\?$/, "*");
|
|
73234
|
+
}
|
|
73241
73235
|
function f(a) {
|
|
73242
73236
|
return a instanceof Error ? a.stack || a.message : a;
|
|
73243
73237
|
}
|
|
@@ -73367,7 +73361,7 @@ function eoe() {
|
|
|
73367
73361
|
function n() {
|
|
73368
73362
|
let c;
|
|
73369
73363
|
try {
|
|
73370
|
-
c = t.storage.getItem("debug")
|
|
73364
|
+
c = t.storage.getItem("debug");
|
|
73371
73365
|
} catch {
|
|
73372
73366
|
}
|
|
73373
73367
|
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.16",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@prosopo/api-express-router": "3.0.3",
|
|
21
21
|
"@prosopo/common": "3.0.2",
|
|
22
|
-
"@prosopo/provider": "3.1.
|
|
23
|
-
"@prosopo/types": "3.0.
|
|
22
|
+
"@prosopo/provider": "3.1.2",
|
|
23
|
+
"@prosopo/types": "3.0.3",
|
|
24
24
|
"@typegoose/auto-increment": "4.13.0",
|
|
25
25
|
"axios": "1.10.0",
|
|
26
26
|
"cors": "2.8.5",
|