@forsakringskassan/vite-lib-config 1.7.10 → 1.7.12
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/api-extractor.js +27 -8
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/vite.config.js +27 -8
- package/package.json +2 -2
package/dist/api-extractor.js
CHANGED
|
@@ -1442,6 +1442,7 @@ var require_lrucache = __commonJS({
|
|
|
1442
1442
|
// node_modules/semver/classes/range.js
|
|
1443
1443
|
var require_range = __commonJS({
|
|
1444
1444
|
"node_modules/semver/classes/range.js"(exports2, module2) {
|
|
1445
|
+
var SPACE_CHARACTERS = /\s+/g;
|
|
1445
1446
|
var Range = class _Range {
|
|
1446
1447
|
constructor(range, options) {
|
|
1447
1448
|
options = parseOptions(options);
|
|
@@ -1455,13 +1456,13 @@ var require_range = __commonJS({
|
|
|
1455
1456
|
if (range instanceof Comparator) {
|
|
1456
1457
|
this.raw = range.value;
|
|
1457
1458
|
this.set = [[range]];
|
|
1458
|
-
this.
|
|
1459
|
+
this.formatted = void 0;
|
|
1459
1460
|
return this;
|
|
1460
1461
|
}
|
|
1461
1462
|
this.options = options;
|
|
1462
1463
|
this.loose = !!options.loose;
|
|
1463
1464
|
this.includePrerelease = !!options.includePrerelease;
|
|
1464
|
-
this.raw = range.trim().
|
|
1465
|
+
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
1465
1466
|
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
1466
1467
|
if (!this.set.length) {
|
|
1467
1468
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
@@ -1480,10 +1481,27 @@ var require_range = __commonJS({
|
|
|
1480
1481
|
}
|
|
1481
1482
|
}
|
|
1482
1483
|
}
|
|
1483
|
-
this.
|
|
1484
|
+
this.formatted = void 0;
|
|
1485
|
+
}
|
|
1486
|
+
get range() {
|
|
1487
|
+
if (this.formatted === void 0) {
|
|
1488
|
+
this.formatted = "";
|
|
1489
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
1490
|
+
if (i > 0) {
|
|
1491
|
+
this.formatted += "||";
|
|
1492
|
+
}
|
|
1493
|
+
const comps = this.set[i];
|
|
1494
|
+
for (let k = 0; k < comps.length; k++) {
|
|
1495
|
+
if (k > 0) {
|
|
1496
|
+
this.formatted += " ";
|
|
1497
|
+
}
|
|
1498
|
+
this.formatted += comps[k].toString().trim();
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
return this.formatted;
|
|
1484
1503
|
}
|
|
1485
1504
|
format() {
|
|
1486
|
-
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
1487
1505
|
return this.range;
|
|
1488
1506
|
}
|
|
1489
1507
|
toString() {
|
|
@@ -3510,10 +3528,11 @@ var Minimatch = class {
|
|
|
3510
3528
|
for (let i = 0; i < globParts.length - 1; i++) {
|
|
3511
3529
|
for (let j = i + 1; j < globParts.length; j++) {
|
|
3512
3530
|
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
|
|
3513
|
-
if (
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3531
|
+
if (matched) {
|
|
3532
|
+
globParts[i] = [];
|
|
3533
|
+
globParts[j] = matched;
|
|
3534
|
+
break;
|
|
3535
|
+
}
|
|
3517
3536
|
}
|
|
3518
3537
|
}
|
|
3519
3538
|
return globParts.filter((gs) => gs.length);
|
package/dist/tsdoc-metadata.json
CHANGED
package/dist/vite.config.js
CHANGED
|
@@ -4817,6 +4817,7 @@ var require_lrucache = __commonJS({
|
|
|
4817
4817
|
// node_modules/semver/classes/range.js
|
|
4818
4818
|
var require_range = __commonJS({
|
|
4819
4819
|
"node_modules/semver/classes/range.js"(exports2, module2) {
|
|
4820
|
+
var SPACE_CHARACTERS = /\s+/g;
|
|
4820
4821
|
var Range = class _Range {
|
|
4821
4822
|
constructor(range, options) {
|
|
4822
4823
|
options = parseOptions(options);
|
|
@@ -4830,13 +4831,13 @@ var require_range = __commonJS({
|
|
|
4830
4831
|
if (range instanceof Comparator) {
|
|
4831
4832
|
this.raw = range.value;
|
|
4832
4833
|
this.set = [[range]];
|
|
4833
|
-
this.
|
|
4834
|
+
this.formatted = void 0;
|
|
4834
4835
|
return this;
|
|
4835
4836
|
}
|
|
4836
4837
|
this.options = options;
|
|
4837
4838
|
this.loose = !!options.loose;
|
|
4838
4839
|
this.includePrerelease = !!options.includePrerelease;
|
|
4839
|
-
this.raw = range.trim().
|
|
4840
|
+
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
4840
4841
|
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
4841
4842
|
if (!this.set.length) {
|
|
4842
4843
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
@@ -4855,10 +4856,27 @@ var require_range = __commonJS({
|
|
|
4855
4856
|
}
|
|
4856
4857
|
}
|
|
4857
4858
|
}
|
|
4858
|
-
this.
|
|
4859
|
+
this.formatted = void 0;
|
|
4860
|
+
}
|
|
4861
|
+
get range() {
|
|
4862
|
+
if (this.formatted === void 0) {
|
|
4863
|
+
this.formatted = "";
|
|
4864
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
4865
|
+
if (i > 0) {
|
|
4866
|
+
this.formatted += "||";
|
|
4867
|
+
}
|
|
4868
|
+
const comps = this.set[i];
|
|
4869
|
+
for (let k = 0; k < comps.length; k++) {
|
|
4870
|
+
if (k > 0) {
|
|
4871
|
+
this.formatted += " ";
|
|
4872
|
+
}
|
|
4873
|
+
this.formatted += comps[k].toString().trim();
|
|
4874
|
+
}
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
return this.formatted;
|
|
4859
4878
|
}
|
|
4860
4879
|
format() {
|
|
4861
|
-
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
4862
4880
|
return this.range;
|
|
4863
4881
|
}
|
|
4864
4882
|
toString() {
|
|
@@ -6988,10 +7006,11 @@ var Minimatch = class {
|
|
|
6988
7006
|
for (let i = 0; i < globParts.length - 1; i++) {
|
|
6989
7007
|
for (let j = i + 1; j < globParts.length; j++) {
|
|
6990
7008
|
const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
|
|
6991
|
-
if (
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
7009
|
+
if (matched) {
|
|
7010
|
+
globParts[i] = [];
|
|
7011
|
+
globParts[j] = matched;
|
|
7012
|
+
break;
|
|
7013
|
+
}
|
|
6995
7014
|
}
|
|
6996
7015
|
}
|
|
6997
7016
|
return globParts.filter((gs) => gs.length);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/vite-lib-config",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.12",
|
|
4
4
|
"description": "Försäkringskassan toolchain to build libraries with Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dist"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "7.47.
|
|
44
|
+
"@microsoft/api-extractor": "7.47.2",
|
|
45
45
|
"@vue/babel-preset-app": "5.0.8"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|