@digipair/skill-keycloak 0.114.2 → 0.114.6
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.cjs.js +18 -16539
- package/dist/index.esm.js +85 -77
- package/package.json +4 -2
package/dist/index.esm.js
CHANGED
|
@@ -41552,7 +41552,7 @@ function _class_call_check$3(instance, Constructor) {
|
|
|
41552
41552
|
throw new TypeError("Cannot call a class as a function");
|
|
41553
41553
|
}
|
|
41554
41554
|
}
|
|
41555
|
-
function _defineProperties$1
|
|
41555
|
+
function _defineProperties$1(target, props) {
|
|
41556
41556
|
for(var i = 0; i < props.length; i++){
|
|
41557
41557
|
var descriptor = props[i];
|
|
41558
41558
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -41561,9 +41561,9 @@ function _defineProperties$1$1(target, props) {
|
|
|
41561
41561
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
41562
41562
|
}
|
|
41563
41563
|
}
|
|
41564
|
-
function _create_class$1
|
|
41565
|
-
if (protoProps) _defineProperties$1
|
|
41566
|
-
if (staticProps) _defineProperties$1
|
|
41564
|
+
function _create_class$1(Constructor, protoProps, staticProps) {
|
|
41565
|
+
if (protoProps) _defineProperties$1(Constructor.prototype, protoProps);
|
|
41566
|
+
if (staticProps) _defineProperties$1(Constructor, staticProps);
|
|
41567
41567
|
return Constructor;
|
|
41568
41568
|
}
|
|
41569
41569
|
function _get_prototype_of$3(o) {
|
|
@@ -41682,7 +41682,7 @@ var Parser = /*#__PURE__*/ function() {
|
|
|
41682
41682
|
this.skipValidations = has$1(config, "skipValidations") ? config.skipValidations // casting assumes the end user passing the correct type
|
|
41683
41683
|
: DEFAULT_PARSER_CONFIG.skipValidations;
|
|
41684
41684
|
}
|
|
41685
|
-
_create_class$1
|
|
41685
|
+
_create_class$1(Parser, [
|
|
41686
41686
|
{
|
|
41687
41687
|
key: "performSelfAnalysis",
|
|
41688
41688
|
value: function performSelfAnalysis() {
|
|
@@ -42894,7 +42894,7 @@ function _assert_this_initialized$1(self1) {
|
|
|
42894
42894
|
}
|
|
42895
42895
|
return self1;
|
|
42896
42896
|
}
|
|
42897
|
-
function _class_call_check$1
|
|
42897
|
+
function _class_call_check$1(instance, Constructor) {
|
|
42898
42898
|
if (!(instance instanceof Constructor)) {
|
|
42899
42899
|
throw new TypeError("Cannot call a class as a function");
|
|
42900
42900
|
}
|
|
@@ -42976,7 +42976,7 @@ var CelParser = /*#__PURE__*/ function(CstParser) {
|
|
|
42976
42976
|
_inherits$1(CelParser, CstParser);
|
|
42977
42977
|
var _super = _create_super$1(CelParser);
|
|
42978
42978
|
function CelParser() {
|
|
42979
|
-
_class_call_check$1
|
|
42979
|
+
_class_call_check$1(this, CelParser);
|
|
42980
42980
|
var _this;
|
|
42981
42981
|
_this = _super.call(this, allTokens);
|
|
42982
42982
|
_define_property$1(_assert_this_initialized$1(_this), "expr", _this.RULE('expr', function() {
|
|
@@ -45764,12 +45764,12 @@ var identifiers$1 = {
|
|
|
45764
45764
|
rcompareIdentifiers: rcompareIdentifiers
|
|
45765
45765
|
};
|
|
45766
45766
|
|
|
45767
|
-
function _class_call_check
|
|
45767
|
+
function _class_call_check(instance, Constructor) {
|
|
45768
45768
|
if (!(instance instanceof Constructor)) {
|
|
45769
45769
|
throw new TypeError("Cannot call a class as a function");
|
|
45770
45770
|
}
|
|
45771
45771
|
}
|
|
45772
|
-
function _defineProperties
|
|
45772
|
+
function _defineProperties(target, props) {
|
|
45773
45773
|
for(var i = 0; i < props.length; i++){
|
|
45774
45774
|
var descriptor = props[i];
|
|
45775
45775
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
@@ -45778,8 +45778,8 @@ function _defineProperties$1(target, props) {
|
|
|
45778
45778
|
Object.defineProperty(target, descriptor.key, descriptor);
|
|
45779
45779
|
}
|
|
45780
45780
|
}
|
|
45781
|
-
function _create_class
|
|
45782
|
-
if (protoProps) _defineProperties
|
|
45781
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
45782
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
45783
45783
|
return Constructor;
|
|
45784
45784
|
}
|
|
45785
45785
|
function _instanceof$6(left, right) {
|
|
@@ -45800,7 +45800,7 @@ var parseOptions = parseOptions_1;
|
|
|
45800
45800
|
var compareIdentifiers = identifiers$1.compareIdentifiers;
|
|
45801
45801
|
var SemVer$d = /*#__PURE__*/ function() {
|
|
45802
45802
|
function SemVer(version, options) {
|
|
45803
|
-
_class_call_check
|
|
45803
|
+
_class_call_check(this, SemVer);
|
|
45804
45804
|
options = parseOptions(options);
|
|
45805
45805
|
if (_instanceof$6(version, SemVer)) {
|
|
45806
45806
|
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
|
|
@@ -45855,7 +45855,7 @@ var SemVer$d = /*#__PURE__*/ function() {
|
|
|
45855
45855
|
this.build = m[5] ? m[5].split('.') : [];
|
|
45856
45856
|
this.format();
|
|
45857
45857
|
}
|
|
45858
|
-
_create_class
|
|
45858
|
+
_create_class(SemVer, [
|
|
45859
45859
|
{
|
|
45860
45860
|
key: "format",
|
|
45861
45861
|
value: function format() {
|
|
@@ -46436,70 +46436,78 @@ var coerce$1 = function(version, options) {
|
|
|
46436
46436
|
};
|
|
46437
46437
|
var coerce_1 = coerce$1;
|
|
46438
46438
|
|
|
46439
|
-
|
|
46440
|
-
|
|
46441
|
-
|
|
46442
|
-
|
|
46443
|
-
|
|
46444
|
-
|
|
46445
|
-
|
|
46446
|
-
|
|
46447
|
-
|
|
46448
|
-
|
|
46449
|
-
|
|
46450
|
-
|
|
46451
|
-
|
|
46452
|
-
|
|
46453
|
-
|
|
46454
|
-
|
|
46455
|
-
|
|
46439
|
+
var lrucache;
|
|
46440
|
+
var hasRequiredLrucache;
|
|
46441
|
+
|
|
46442
|
+
function requireLrucache () {
|
|
46443
|
+
if (hasRequiredLrucache) return lrucache;
|
|
46444
|
+
hasRequiredLrucache = 1;
|
|
46445
|
+
function _class_call_check(instance, Constructor) {
|
|
46446
|
+
if (!(instance instanceof Constructor)) {
|
|
46447
|
+
throw new TypeError("Cannot call a class as a function");
|
|
46448
|
+
}
|
|
46449
|
+
}
|
|
46450
|
+
function _defineProperties(target, props) {
|
|
46451
|
+
for(var i = 0; i < props.length; i++){
|
|
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;
|
|
46456
46510
|
}
|
|
46457
|
-
var LRUCache = /*#__PURE__*/ function() {
|
|
46458
|
-
function LRUCache() {
|
|
46459
|
-
_class_call_check(this, LRUCache);
|
|
46460
|
-
this.max = 1000;
|
|
46461
|
-
this.map = new Map();
|
|
46462
|
-
}
|
|
46463
|
-
_create_class(LRUCache, [
|
|
46464
|
-
{
|
|
46465
|
-
key: "get",
|
|
46466
|
-
value: function get(key) {
|
|
46467
|
-
var value = this.map.get(key);
|
|
46468
|
-
if (value === undefined) {
|
|
46469
|
-
return undefined;
|
|
46470
|
-
} else {
|
|
46471
|
-
// Remove the key from the map and add it to the end
|
|
46472
|
-
this.map.delete(key);
|
|
46473
|
-
this.map.set(key, value);
|
|
46474
|
-
return value;
|
|
46475
|
-
}
|
|
46476
|
-
}
|
|
46477
|
-
},
|
|
46478
|
-
{
|
|
46479
|
-
key: "delete",
|
|
46480
|
-
value: function _delete(key) {
|
|
46481
|
-
return this.map.delete(key);
|
|
46482
|
-
}
|
|
46483
|
-
},
|
|
46484
|
-
{
|
|
46485
|
-
key: "set",
|
|
46486
|
-
value: function set(key, value) {
|
|
46487
|
-
var deleted = this.delete(key);
|
|
46488
|
-
if (!deleted && value !== undefined) {
|
|
46489
|
-
// If cache is full, delete the least recently used item
|
|
46490
|
-
if (this.map.size >= this.max) {
|
|
46491
|
-
var firstKey = this.map.keys().next().value;
|
|
46492
|
-
this.delete(firstKey);
|
|
46493
|
-
}
|
|
46494
|
-
this.map.set(key, value);
|
|
46495
|
-
}
|
|
46496
|
-
return this;
|
|
46497
|
-
}
|
|
46498
|
-
}
|
|
46499
|
-
]);
|
|
46500
|
-
return LRUCache;
|
|
46501
|
-
}();
|
|
46502
|
-
var lrucache = LRUCache;
|
|
46503
46511
|
|
|
46504
46512
|
var range;
|
|
46505
46513
|
var hasRequiredRange;
|
|
@@ -46803,7 +46811,7 @@ function requireRange () {
|
|
|
46803
46811
|
return Range;
|
|
46804
46812
|
}();
|
|
46805
46813
|
range = Range;
|
|
46806
|
-
var LRU =
|
|
46814
|
+
var LRU = requireLrucache();
|
|
46807
46815
|
var cache = new LRU();
|
|
46808
46816
|
var parseOptions = parseOptions_1;
|
|
46809
46817
|
var Comparator = requireComparator();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digipair/skill-keycloak",
|
|
3
|
-
"version": "0.114.
|
|
3
|
+
"version": "0.114.6",
|
|
4
4
|
"main": "./dist/index.cjs.js",
|
|
5
5
|
"module": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
"name": "skill-keycloak"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"jsdom": "^25.0.1"
|
|
33
|
+
"jsdom": "^25.0.1",
|
|
34
|
+
"mime-types": "^2.1.35",
|
|
35
|
+
"jsonwebtoken": "^9.0.2"
|
|
34
36
|
}
|
|
35
37
|
}
|