@digipair/skill-keycloak 0.65.1 → 0.65.3
Sign up to get free protection for your applications and to get access to all the features.
package/index.cjs.js
CHANGED
@@ -16550,7 +16550,6 @@ let KeycloakService = class KeycloakService {
|
|
16550
16550
|
if (context.request.params[0] === '__digipair_www__') {
|
16551
16551
|
let result;
|
16552
16552
|
try {
|
16553
|
-
var _infos_keywords, _infos_keywords1;
|
16554
16553
|
const fileUrl = context.protected.req.path.split('__digipair_www__/')[1];
|
16555
16554
|
if (!fileUrl) {
|
16556
16555
|
context.protected.res.status(404);
|
@@ -16573,12 +16572,15 @@ let KeycloakService = class KeycloakService {
|
|
16573
16572
|
status: 'not found'
|
16574
16573
|
};
|
16575
16574
|
}
|
16576
|
-
|
16577
|
-
|
16578
|
-
|
16579
|
-
|
16580
|
-
status
|
16581
|
-
|
16575
|
+
if (context.config.VERSIONS[library]) {
|
16576
|
+
var _infos_keywords, _infos_keywords1;
|
16577
|
+
const infos = require(`${library}/package.json`);
|
16578
|
+
if (!(((_infos_keywords = infos.keywords) == null ? void 0 : _infos_keywords.indexOf('digipair')) >= 0 && ((_infos_keywords1 = infos.keywords) == null ? void 0 : _infos_keywords1.indexOf('web')) >= 0)) {
|
16579
|
+
context.protected.res.status(404);
|
16580
|
+
return {
|
16581
|
+
status: 'not found'
|
16582
|
+
};
|
16583
|
+
}
|
16582
16584
|
}
|
16583
16585
|
const path = match[3];
|
16584
16586
|
let filePath = require.resolve(`${library}/${path}`);
|
package/index.esm.js
CHANGED
@@ -23907,14 +23907,14 @@ function indent(str, spaces) {
|
|
23907
23907
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
23908
23908
|
// match is required
|
23909
23909
|
if (!match) {
|
23910
|
-
return
|
23910
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
23911
23911
|
v: nextMatch1
|
23912
23912
|
};
|
23913
23913
|
}
|
23914
23914
|
var token = match.token, offset = match.offset;
|
23915
23915
|
i1 += offset;
|
23916
23916
|
if (token === " ") {
|
23917
|
-
return
|
23917
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
23918
23918
|
}
|
23919
23919
|
tokens1 = _to_consumable_array$3(tokens1).concat([
|
23920
23920
|
token
|
@@ -23933,7 +23933,7 @@ function indent(str, spaces) {
|
|
23933
23933
|
if (contextKeys.some(function(el) {
|
23934
23934
|
return el.startsWith(name);
|
23935
23935
|
})) {
|
23936
|
-
return
|
23936
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
23937
23937
|
}
|
23938
23938
|
if (dateTimeIdentifiers.some(function(el) {
|
23939
23939
|
return el === name;
|
@@ -23952,9 +23952,9 @@ function indent(str, spaces) {
|
|
23952
23952
|
if (dateTimeIdentifiers.some(function(el) {
|
23953
23953
|
return el.startsWith(name);
|
23954
23954
|
})) {
|
23955
|
-
return
|
23955
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
|
23956
23956
|
}
|
23957
|
-
return
|
23957
|
+
return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
|
23958
23958
|
v: nextMatch1
|
23959
23959
|
};
|
23960
23960
|
};
|
@@ -44578,7 +44578,6 @@ let KeycloakService = class KeycloakService {
|
|
44578
44578
|
if (context.request.params[0] === '__digipair_www__') {
|
44579
44579
|
let result;
|
44580
44580
|
try {
|
44581
|
-
var _infos_keywords, _infos_keywords1;
|
44582
44581
|
const fileUrl = context.protected.req.path.split('__digipair_www__/')[1];
|
44583
44582
|
if (!fileUrl) {
|
44584
44583
|
context.protected.res.status(404);
|
@@ -44601,12 +44600,15 @@ let KeycloakService = class KeycloakService {
|
|
44601
44600
|
status: 'not found'
|
44602
44601
|
};
|
44603
44602
|
}
|
44604
|
-
|
44605
|
-
|
44606
|
-
|
44607
|
-
|
44608
|
-
status
|
44609
|
-
|
44603
|
+
if (context.config.VERSIONS[library]) {
|
44604
|
+
var _infos_keywords, _infos_keywords1;
|
44605
|
+
const infos = require(`${library}/package.json`);
|
44606
|
+
if (!(((_infos_keywords = infos.keywords) == null ? void 0 : _infos_keywords.indexOf('digipair')) >= 0 && ((_infos_keywords1 = infos.keywords) == null ? void 0 : _infos_keywords1.indexOf('web')) >= 0)) {
|
44607
|
+
context.protected.res.status(404);
|
44608
|
+
return {
|
44609
|
+
status: 'not found'
|
44610
|
+
};
|
44611
|
+
}
|
44610
44612
|
}
|
44611
44613
|
const path = match[3];
|
44612
44614
|
let filePath = require.resolve(`${library}/${path}`);
|
package/package.json
CHANGED
File without changes
|
File without changes
|