@digipair/skill-keycloak 0.117.5 → 0.117.7
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/dist/index.esm.js +87 -91
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { snakeCase, kebabCase, camelCase } from 'case-anything/dist/index.js';
|
|
1
2
|
import require$$0$1 from 'buffer';
|
|
2
3
|
import require$$3 from 'stream';
|
|
3
4
|
import require$$5 from 'util';
|
|
@@ -22846,14 +22847,14 @@ function indent(str, spaces) {
|
|
|
22846
22847
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
22847
22848
|
// match is required
|
|
22848
22849
|
if (!match) {
|
|
22849
|
-
return
|
|
22850
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22850
22851
|
v: nextMatch1
|
|
22851
22852
|
};
|
|
22852
22853
|
}
|
|
22853
22854
|
var token = match.token, offset = match.offset;
|
|
22854
22855
|
i1 += offset;
|
|
22855
22856
|
if (token === ' ') {
|
|
22856
|
-
return
|
|
22857
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22857
22858
|
}
|
|
22858
22859
|
tokens1 = _to_consumable_array$4(tokens1).concat([
|
|
22859
22860
|
token
|
|
@@ -22872,7 +22873,7 @@ function indent(str, spaces) {
|
|
|
22872
22873
|
if (contextKeys.some(function(el) {
|
|
22873
22874
|
return el.startsWith(name);
|
|
22874
22875
|
})) {
|
|
22875
|
-
return
|
|
22876
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22876
22877
|
}
|
|
22877
22878
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22878
22879
|
return el === name;
|
|
@@ -22891,9 +22892,9 @@ function indent(str, spaces) {
|
|
|
22891
22892
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22892
22893
|
return el.startsWith(name);
|
|
22893
22894
|
})) {
|
|
22894
|
-
return
|
|
22895
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22895
22896
|
}
|
|
22896
|
-
return
|
|
22897
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22897
22898
|
v: nextMatch1
|
|
22898
22899
|
};
|
|
22899
22900
|
};
|
|
@@ -41552,7 +41553,7 @@ function _class_call_check$3(instance, Constructor) {
|
|
|
41552
41553
|
throw new TypeError("Cannot call a class as a function");
|
|
41553
41554
|
}
|
|
41554
41555
|
}
|
|
41555
|
-
function _defineProperties$1(target, props) {
|
|
41556
|
+
function _defineProperties$1$1(target, props) {
|
|
41556
41557
|
for(var i = 0; i < props.length; i++){
|
|
41557
41558
|
var descriptor = props[i];
|
|
41558
41559
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -41561,9 +41562,9 @@ function _defineProperties$1(target, props) {
|
|
|
41561
41562
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
41562
41563
|
}
|
|
41563
41564
|
}
|
|
41564
|
-
function _create_class$1(Constructor, protoProps, staticProps) {
|
|
41565
|
-
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
41566
|
-
if (staticProps) _defineProperties$1(Constructor, staticProps);
|
|
41565
|
+
function _create_class$1$1(Constructor, protoProps, staticProps) {
|
|
41566
|
+
if (protoProps) _defineProperties$1$1(Constructor.prototype, protoProps);
|
|
41567
|
+
if (staticProps) _defineProperties$1$1(Constructor, staticProps);
|
|
41567
41568
|
return Constructor;
|
|
41568
41569
|
}
|
|
41569
41570
|
function _get_prototype_of$3(o) {
|
|
@@ -41682,7 +41683,7 @@ var Parser = /*#__PURE__*/ function() {
|
|
|
41682
41683
|
this.skipValidations = has$1(config, "skipValidations") ? config.skipValidations // casting assumes the end user passing the correct type
|
|
41683
41684
|
: DEFAULT_PARSER_CONFIG.skipValidations;
|
|
41684
41685
|
}
|
|
41685
|
-
_create_class$1(Parser, [
|
|
41686
|
+
_create_class$1$1(Parser, [
|
|
41686
41687
|
{
|
|
41687
41688
|
key: "performSelfAnalysis",
|
|
41688
41689
|
value: function performSelfAnalysis() {
|
|
@@ -42894,7 +42895,7 @@ function _assert_this_initialized$1(self1) {
|
|
|
42894
42895
|
}
|
|
42895
42896
|
return self1;
|
|
42896
42897
|
}
|
|
42897
|
-
function _class_call_check$1(instance, Constructor) {
|
|
42898
|
+
function _class_call_check$1$1(instance, Constructor) {
|
|
42898
42899
|
if (!(instance instanceof Constructor)) {
|
|
42899
42900
|
throw new TypeError("Cannot call a class as a function");
|
|
42900
42901
|
}
|
|
@@ -42976,7 +42977,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
|
|
|
42976
42977
|
_inherits$1(CelParser, CstParser);
|
|
42977
42978
|
var _super = _create_super$1(CelParser);
|
|
42978
42979
|
function CelParser() {
|
|
42979
|
-
_class_call_check$1(this, CelParser);
|
|
42980
|
+
_class_call_check$1$1(this, CelParser);
|
|
42980
42981
|
var _this;
|
|
42981
42982
|
_this = _super.call(this, allTokens);
|
|
42982
42983
|
_define_property$1(_assert_this_initialized$1(_this), "expr", _this.RULE('expr', function() {
|
|
@@ -44219,7 +44220,10 @@ const DIGIPAIR_FUNCTIONS = {
|
|
|
44219
44220
|
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
44220
44221
|
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
44221
44222
|
JSONparse: (value)=>JSON.parse(value),
|
|
44222
|
-
JSONstringify: (value)=>JSON.stringify(value)
|
|
44223
|
+
JSONstringify: (value)=>JSON.stringify(value),
|
|
44224
|
+
camelCase: (value)=>camelCase(value),
|
|
44225
|
+
kebabCase: (value)=>kebabCase(value),
|
|
44226
|
+
snakeCase: (value)=>snakeCase(value)
|
|
44223
44227
|
};
|
|
44224
44228
|
const globalInstance = typeof window === 'undefined' ? global : window;
|
|
44225
44229
|
const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__ ?? {
|
|
@@ -45764,12 +45768,12 @@ var identifiers$1 = {
|
|
|
45764
45768
|
rcompareIdentifiers: rcompareIdentifiers
|
|
45765
45769
|
};
|
|
45766
45770
|
|
|
45767
|
-
function _class_call_check(instance, Constructor) {
|
|
45771
|
+
function _class_call_check$1(instance, Constructor) {
|
|
45768
45772
|
if (!(instance instanceof Constructor)) {
|
|
45769
45773
|
throw new TypeError("Cannot call a class as a function");
|
|
45770
45774
|
}
|
|
45771
45775
|
}
|
|
45772
|
-
function _defineProperties(target, props) {
|
|
45776
|
+
function _defineProperties$1(target, props) {
|
|
45773
45777
|
for(var i = 0; i < props.length; i++){
|
|
45774
45778
|
var descriptor = props[i];
|
|
45775
45779
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -45778,8 +45782,8 @@ function _defineProperties(target, props) {
|
|
|
45778
45782
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
45779
45783
|
}
|
|
45780
45784
|
}
|
|
45781
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
45782
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
45785
|
+
function _create_class$1(Constructor, protoProps, staticProps) {
|
|
45786
|
+
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
45783
45787
|
return Constructor;
|
|
45784
45788
|
}
|
|
45785
45789
|
function _instanceof$6(left, right) {
|
|
@@ -45800,7 +45804,7 @@ var parseOptions = parseOptions_1;
|
|
|
45800
45804
|
var compareIdentifiers = identifiers$1.compareIdentifiers;
|
|
45801
45805
|
var SemVer$d = /*#__PURE__*/ function() {
|
|
45802
45806
|
function SemVer(version, options) {
|
|
45803
|
-
_class_call_check(this, SemVer);
|
|
45807
|
+
_class_call_check$1(this, SemVer);
|
|
45804
45808
|
options = parseOptions(options);
|
|
45805
45809
|
if (_instanceof$6(version, SemVer)) {
|
|
45806
45810
|
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
|
|
@@ -45855,7 +45859,7 @@ var SemVer$d = /*#__PURE__*/ function() {
|
|
|
45855
45859
|
this.build = m[5] ? m[5].split('.') : [];
|
|
45856
45860
|
this.format();
|
|
45857
45861
|
}
|
|
45858
|
-
_create_class(SemVer, [
|
|
45862
|
+
_create_class$1(SemVer, [
|
|
45859
45863
|
{
|
|
45860
45864
|
key: "format",
|
|
45861
45865
|
value: function format() {
|
|
@@ -46436,78 +46440,70 @@ var coerce$1 = function(version, options) {
|
|
|
46436
46440
|
};
|
|
46437
46441
|
var coerce_1 = coerce$1;
|
|
46438
46442
|
|
|
46439
|
-
|
|
46440
|
-
|
|
46441
|
-
|
|
46442
|
-
|
|
46443
|
-
|
|
46444
|
-
|
|
46445
|
-
|
|
46446
|
-
|
|
46447
|
-
|
|
46448
|
-
|
|
46449
|
-
|
|
46450
|
-
|
|
46451
|
-
|
|
46452
|
-
var descriptor = props[i];
|
|
46453
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
46454
|
-
descriptor.configurable = true;
|
|
46455
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
46456
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
46457
|
-
}
|
|
46458
|
-
}
|
|
46459
|
-
function _create_class(Constructor, protoProps, staticProps) {
|
|
46460
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
46461
|
-
return Constructor;
|
|
46462
|
-
}
|
|
46463
|
-
var LRUCache = /*#__PURE__*/ function() {
|
|
46464
|
-
function LRUCache() {
|
|
46465
|
-
_class_call_check(this, LRUCache);
|
|
46466
|
-
this.max = 1000;
|
|
46467
|
-
this.map = new Map();
|
|
46468
|
-
}
|
|
46469
|
-
_create_class(LRUCache, [
|
|
46470
|
-
{
|
|
46471
|
-
key: "get",
|
|
46472
|
-
value: function get(key) {
|
|
46473
|
-
var value = this.map.get(key);
|
|
46474
|
-
if (value === undefined) {
|
|
46475
|
-
return undefined;
|
|
46476
|
-
} else {
|
|
46477
|
-
// Remove the key from the map and add it to the end
|
|
46478
|
-
this.map.delete(key);
|
|
46479
|
-
this.map.set(key, value);
|
|
46480
|
-
return value;
|
|
46481
|
-
}
|
|
46482
|
-
}
|
|
46483
|
-
},
|
|
46484
|
-
{
|
|
46485
|
-
key: "delete",
|
|
46486
|
-
value: function _delete(key) {
|
|
46487
|
-
return this.map.delete(key);
|
|
46488
|
-
}
|
|
46489
|
-
},
|
|
46490
|
-
{
|
|
46491
|
-
key: "set",
|
|
46492
|
-
value: function set(key, value) {
|
|
46493
|
-
var deleted = this.delete(key);
|
|
46494
|
-
if (!deleted && value !== undefined) {
|
|
46495
|
-
// If cache is full, delete the least recently used item
|
|
46496
|
-
if (this.map.size >= this.max) {
|
|
46497
|
-
var firstKey = this.map.keys().next().value;
|
|
46498
|
-
this.delete(firstKey);
|
|
46499
|
-
}
|
|
46500
|
-
this.map.set(key, value);
|
|
46501
|
-
}
|
|
46502
|
-
return this;
|
|
46503
|
-
}
|
|
46504
|
-
}
|
|
46505
|
-
]);
|
|
46506
|
-
return LRUCache;
|
|
46507
|
-
}();
|
|
46508
|
-
lrucache = LRUCache;
|
|
46509
|
-
return lrucache;
|
|
46443
|
+
function _class_call_check(instance, Constructor) {
|
|
46444
|
+
if (!(instance instanceof Constructor)) {
|
|
46445
|
+
throw new TypeError("Cannot call a class as a function");
|
|
46446
|
+
}
|
|
46447
|
+
}
|
|
46448
|
+
function _defineProperties(target, props) {
|
|
46449
|
+
for(var i = 0; i < props.length; i++){
|
|
46450
|
+
var descriptor = props[i];
|
|
46451
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
46452
|
+
descriptor.configurable = true;
|
|
46453
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
46454
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
46455
|
+
}
|
|
46510
46456
|
}
|
|
46457
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
46458
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
46459
|
+
return Constructor;
|
|
46460
|
+
}
|
|
46461
|
+
var LRUCache = /*#__PURE__*/ function() {
|
|
46462
|
+
function LRUCache() {
|
|
46463
|
+
_class_call_check(this, LRUCache);
|
|
46464
|
+
this.max = 1000;
|
|
46465
|
+
this.map = new Map();
|
|
46466
|
+
}
|
|
46467
|
+
_create_class(LRUCache, [
|
|
46468
|
+
{
|
|
46469
|
+
key: "get",
|
|
46470
|
+
value: function get(key) {
|
|
46471
|
+
var value = this.map.get(key);
|
|
46472
|
+
if (value === undefined) {
|
|
46473
|
+
return undefined;
|
|
46474
|
+
} else {
|
|
46475
|
+
// Remove the key from the map and add it to the end
|
|
46476
|
+
this.map.delete(key);
|
|
46477
|
+
this.map.set(key, value);
|
|
46478
|
+
return value;
|
|
46479
|
+
}
|
|
46480
|
+
}
|
|
46481
|
+
},
|
|
46482
|
+
{
|
|
46483
|
+
key: "delete",
|
|
46484
|
+
value: function _delete(key) {
|
|
46485
|
+
return this.map.delete(key);
|
|
46486
|
+
}
|
|
46487
|
+
},
|
|
46488
|
+
{
|
|
46489
|
+
key: "set",
|
|
46490
|
+
value: function set(key, value) {
|
|
46491
|
+
var deleted = this.delete(key);
|
|
46492
|
+
if (!deleted && value !== undefined) {
|
|
46493
|
+
// If cache is full, delete the least recently used item
|
|
46494
|
+
if (this.map.size >= this.max) {
|
|
46495
|
+
var firstKey = this.map.keys().next().value;
|
|
46496
|
+
this.delete(firstKey);
|
|
46497
|
+
}
|
|
46498
|
+
this.map.set(key, value);
|
|
46499
|
+
}
|
|
46500
|
+
return this;
|
|
46501
|
+
}
|
|
46502
|
+
}
|
|
46503
|
+
]);
|
|
46504
|
+
return LRUCache;
|
|
46505
|
+
}();
|
|
46506
|
+
var lrucache = LRUCache;
|
|
46511
46507
|
|
|
46512
46508
|
var range;
|
|
46513
46509
|
var hasRequiredRange;
|
|
@@ -46811,7 +46807,7 @@ function requireRange () {
|
|
|
46811
46807
|
return Range;
|
|
46812
46808
|
}();
|
|
46813
46809
|
range = Range;
|
|
46814
|
-
var LRU =
|
|
46810
|
+
var LRU = lrucache;
|
|
46815
46811
|
var cache = new LRU();
|
|
46816
46812
|
var parseOptions = parseOptions_1;
|
|
46817
46813
|
var Comparator = requireComparator();
|