@forsakringskassan/vite-lib-config 1.7.1 → 1.7.2
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/assets/index.html +1 -1
- package/dist/api-extractor.js +46 -17
- package/dist/vite.config.js +46 -17
- package/package.json +2 -2
package/assets/index.html
CHANGED
package/dist/api-extractor.js
CHANGED
|
@@ -3094,10 +3094,10 @@ var import_node_fs2 = require("node:fs");
|
|
|
3094
3094
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
|
3095
3095
|
var import_node_path3 = __toESM(require("node:path"));
|
|
3096
3096
|
|
|
3097
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3097
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/index.js
|
|
3098
3098
|
var import_brace_expansion = __toESM(require_brace_expansion(), 1);
|
|
3099
3099
|
|
|
3100
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3100
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
3101
3101
|
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
3102
3102
|
var assertValidPattern = (pattern) => {
|
|
3103
3103
|
if (typeof pattern !== "string") {
|
|
@@ -3108,7 +3108,7 @@ var assertValidPattern = (pattern) => {
|
|
|
3108
3108
|
}
|
|
3109
3109
|
};
|
|
3110
3110
|
|
|
3111
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3111
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js
|
|
3112
3112
|
var posixClasses = {
|
|
3113
3113
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
3114
3114
|
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
@@ -3218,12 +3218,12 @@ var parseClass = (glob2, position) => {
|
|
|
3218
3218
|
return [comb, uflag, endPos - pos, true];
|
|
3219
3219
|
};
|
|
3220
3220
|
|
|
3221
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3221
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/unescape.js
|
|
3222
3222
|
var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
3223
3223
|
return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
3224
3224
|
};
|
|
3225
3225
|
|
|
3226
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3226
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/ast.js
|
|
3227
3227
|
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
3228
3228
|
var isExtglobType = (c) => types.has(c);
|
|
3229
3229
|
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
@@ -3500,6 +3500,9 @@ var AST = class _AST {
|
|
|
3500
3500
|
_glob: glob2
|
|
3501
3501
|
});
|
|
3502
3502
|
}
|
|
3503
|
+
get options() {
|
|
3504
|
+
return this.#options;
|
|
3505
|
+
}
|
|
3503
3506
|
// returns the string match, the regexp source, whether there's magic
|
|
3504
3507
|
// in the regexp (so a regular expression is required) and whether or
|
|
3505
3508
|
// not the uflag is needed for the regular expression (for posix classes)
|
|
@@ -3703,12 +3706,12 @@ var AST = class _AST {
|
|
|
3703
3706
|
}
|
|
3704
3707
|
};
|
|
3705
3708
|
|
|
3706
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3709
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/escape.js
|
|
3707
3710
|
var escape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
3708
3711
|
return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
|
|
3709
3712
|
};
|
|
3710
3713
|
|
|
3711
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
3714
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/index.js
|
|
3712
3715
|
var minimatch = (p, pattern, options = {}) => {
|
|
3713
3716
|
assertValidPattern(pattern);
|
|
3714
3717
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
@@ -4307,7 +4310,10 @@ var Minimatch = class {
|
|
|
4307
4310
|
fastTest = dotStarTest;
|
|
4308
4311
|
}
|
|
4309
4312
|
const re = AST.fromGlob(pattern, this.options).toMMPattern();
|
|
4310
|
-
|
|
4313
|
+
if (fastTest && typeof re === "object") {
|
|
4314
|
+
Reflect.defineProperty(re, "test", { value: fastTest });
|
|
4315
|
+
}
|
|
4316
|
+
return re;
|
|
4311
4317
|
}
|
|
4312
4318
|
makeRe() {
|
|
4313
4319
|
if (this.regexp || this.regexp === false)
|
|
@@ -5706,14 +5712,14 @@ var LRUCache = class _LRUCache {
|
|
|
5706
5712
|
}
|
|
5707
5713
|
};
|
|
5708
5714
|
|
|
5709
|
-
// node_modules/path-scurry/dist/
|
|
5715
|
+
// node_modules/path-scurry/dist/esm/index.js
|
|
5710
5716
|
var import_path = require("path");
|
|
5711
5717
|
var import_url = require("url");
|
|
5712
5718
|
var actualFS = __toESM(require("fs"), 1);
|
|
5713
5719
|
var import_fs = require("fs");
|
|
5714
5720
|
var import_promises = require("fs/promises");
|
|
5715
5721
|
|
|
5716
|
-
// node_modules/minipass/dist/
|
|
5722
|
+
// node_modules/minipass/dist/esm/index.js
|
|
5717
5723
|
var import_events = require("events");
|
|
5718
5724
|
var import_stream = __toESM(require("stream"), 1);
|
|
5719
5725
|
var import_string_decoder = require("string_decoder");
|
|
@@ -6593,7 +6599,7 @@ var Minipass = class extends import_events.EventEmitter {
|
|
|
6593
6599
|
}
|
|
6594
6600
|
};
|
|
6595
6601
|
|
|
6596
|
-
// node_modules/path-scurry/dist/
|
|
6602
|
+
// node_modules/path-scurry/dist/esm/index.js
|
|
6597
6603
|
var realpathSync = import_fs.realpathSync.native;
|
|
6598
6604
|
var defaultFS = {
|
|
6599
6605
|
lstatSync: import_fs.lstatSync,
|
|
@@ -7153,6 +7159,7 @@ var PathBase = class {
|
|
|
7153
7159
|
* Result is cached, and thus may be outdated if the filesystem is mutated.
|
|
7154
7160
|
*/
|
|
7155
7161
|
async readlink() {
|
|
7162
|
+
var _a2;
|
|
7156
7163
|
const target = this.#linkTarget;
|
|
7157
7164
|
if (target) {
|
|
7158
7165
|
return target;
|
|
@@ -7165,7 +7172,7 @@ var PathBase = class {
|
|
|
7165
7172
|
}
|
|
7166
7173
|
try {
|
|
7167
7174
|
const read = await this.#fs.promises.readlink(this.fullpath());
|
|
7168
|
-
const linkTarget = this.parent.resolve(read);
|
|
7175
|
+
const linkTarget = (_a2 = await this.parent.realpath()) == null ? void 0 : _a2.resolve(read);
|
|
7169
7176
|
if (linkTarget) {
|
|
7170
7177
|
return this.#linkTarget = linkTarget;
|
|
7171
7178
|
}
|
|
@@ -7178,6 +7185,7 @@ var PathBase = class {
|
|
|
7178
7185
|
* Synchronous {@link PathBase.readlink}
|
|
7179
7186
|
*/
|
|
7180
7187
|
readlinkSync() {
|
|
7188
|
+
var _a2;
|
|
7181
7189
|
const target = this.#linkTarget;
|
|
7182
7190
|
if (target) {
|
|
7183
7191
|
return target;
|
|
@@ -7190,7 +7198,7 @@ var PathBase = class {
|
|
|
7190
7198
|
}
|
|
7191
7199
|
try {
|
|
7192
7200
|
const read = this.#fs.readlinkSync(this.fullpath());
|
|
7193
|
-
const linkTarget = this.parent.resolve(read);
|
|
7201
|
+
const linkTarget = (_a2 = this.parent.realpathSync()) == null ? void 0 : _a2.resolve(read);
|
|
7194
7202
|
if (linkTarget) {
|
|
7195
7203
|
return this.#linkTarget = linkTarget;
|
|
7196
7204
|
}
|
|
@@ -7202,7 +7210,9 @@ var PathBase = class {
|
|
|
7202
7210
|
#readdirSuccess(children) {
|
|
7203
7211
|
this.#type |= READDIR_CALLED;
|
|
7204
7212
|
for (let p = children.provisional; p < children.length; p++) {
|
|
7205
|
-
children[p]
|
|
7213
|
+
const c = children[p];
|
|
7214
|
+
if (c)
|
|
7215
|
+
c.#markENOENT();
|
|
7206
7216
|
}
|
|
7207
7217
|
}
|
|
7208
7218
|
#markENOENT() {
|
|
@@ -8497,6 +8507,10 @@ var Ignore = class {
|
|
|
8497
8507
|
if (!parsed || !globParts) {
|
|
8498
8508
|
throw new Error("invalid pattern object");
|
|
8499
8509
|
}
|
|
8510
|
+
while (parsed[0] === "." && globParts[0] === ".") {
|
|
8511
|
+
parsed.shift();
|
|
8512
|
+
globParts.shift();
|
|
8513
|
+
}
|
|
8500
8514
|
const p = new Pattern(parsed, globParts, 0, platform);
|
|
8501
8515
|
const m = new Minimatch(p.globString(), mmopts);
|
|
8502
8516
|
const children = globParts[globParts.length - 1] === "**";
|
|
@@ -8841,10 +8855,18 @@ var GlobUtil = class {
|
|
|
8841
8855
|
e = rpc;
|
|
8842
8856
|
}
|
|
8843
8857
|
const needStat = e.isUnknown() || this.opts.stat;
|
|
8844
|
-
|
|
8858
|
+
const s = needStat ? await e.lstat() : e;
|
|
8859
|
+
if (this.opts.follow && this.opts.nodir && (s == null ? void 0 : s.isSymbolicLink())) {
|
|
8860
|
+
const target = await s.realpath();
|
|
8861
|
+
if (target && (target.isUnknown() || this.opts.stat)) {
|
|
8862
|
+
await target.lstat();
|
|
8863
|
+
}
|
|
8864
|
+
}
|
|
8865
|
+
return this.matchCheckTest(s, ifDir);
|
|
8845
8866
|
}
|
|
8846
8867
|
matchCheckTest(e, ifDir) {
|
|
8847
|
-
|
|
8868
|
+
var _a2;
|
|
8869
|
+
return e && (this.maxDepth === Infinity || e.depth() <= this.maxDepth) && (!ifDir || e.canReaddir()) && (!this.opts.nodir || !e.isDirectory()) && (!this.opts.nodir || !this.opts.follow || !e.isSymbolicLink() || !((_a2 = e.realpathCached()) == null ? void 0 : _a2.isDirectory())) && !this.#ignored(e) ? e : void 0;
|
|
8848
8870
|
}
|
|
8849
8871
|
matchCheckSync(e, ifDir) {
|
|
8850
8872
|
if (ifDir && this.opts.nodir)
|
|
@@ -8857,7 +8879,14 @@ var GlobUtil = class {
|
|
|
8857
8879
|
e = rpc;
|
|
8858
8880
|
}
|
|
8859
8881
|
const needStat = e.isUnknown() || this.opts.stat;
|
|
8860
|
-
|
|
8882
|
+
const s = needStat ? e.lstatSync() : e;
|
|
8883
|
+
if (this.opts.follow && this.opts.nodir && (s == null ? void 0 : s.isSymbolicLink())) {
|
|
8884
|
+
const target = s.realpathSync();
|
|
8885
|
+
if (target && ((target == null ? void 0 : target.isUnknown()) || this.opts.stat)) {
|
|
8886
|
+
target.lstatSync();
|
|
8887
|
+
}
|
|
8888
|
+
}
|
|
8889
|
+
return this.matchCheckTest(s, ifDir);
|
|
8861
8890
|
}
|
|
8862
8891
|
matchFinish(e, absolute) {
|
|
8863
8892
|
if (this.#ignored(e))
|
package/dist/vite.config.js
CHANGED
|
@@ -6567,10 +6567,10 @@ function detectInternalDependencies(packages2, dependencies2) {
|
|
|
6567
6567
|
var import_fs2 = __toESM(require("fs"));
|
|
6568
6568
|
var import_node_path2 = __toESM(require("node:path"));
|
|
6569
6569
|
|
|
6570
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
6570
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/index.js
|
|
6571
6571
|
var import_brace_expansion = __toESM(require_brace_expansion(), 1);
|
|
6572
6572
|
|
|
6573
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
6573
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
6574
6574
|
var MAX_PATTERN_LENGTH = 1024 * 64;
|
|
6575
6575
|
var assertValidPattern = (pattern) => {
|
|
6576
6576
|
if (typeof pattern !== "string") {
|
|
@@ -6581,7 +6581,7 @@ var assertValidPattern = (pattern) => {
|
|
|
6581
6581
|
}
|
|
6582
6582
|
};
|
|
6583
6583
|
|
|
6584
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
6584
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/brace-expressions.js
|
|
6585
6585
|
var posixClasses = {
|
|
6586
6586
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
6587
6587
|
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
@@ -6691,12 +6691,12 @@ var parseClass = (glob2, position) => {
|
|
|
6691
6691
|
return [comb, uflag, endPos - pos, true];
|
|
6692
6692
|
};
|
|
6693
6693
|
|
|
6694
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
6694
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/unescape.js
|
|
6695
6695
|
var unescape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
6696
6696
|
return windowsPathsNoEscape ? s.replace(/\[([^\/\\])\]/g, "$1") : s.replace(/((?!\\).|^)\[([^\/\\])\]/g, "$1$2").replace(/\\([^\/])/g, "$1");
|
|
6697
6697
|
};
|
|
6698
6698
|
|
|
6699
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
6699
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/ast.js
|
|
6700
6700
|
var types = /* @__PURE__ */ new Set(["!", "?", "+", "*", "@"]);
|
|
6701
6701
|
var isExtglobType = (c) => types.has(c);
|
|
6702
6702
|
var startNoTraversal = "(?!(?:^|/)\\.\\.?(?:$|/))";
|
|
@@ -6973,6 +6973,9 @@ var AST = class _AST {
|
|
|
6973
6973
|
_glob: glob2
|
|
6974
6974
|
});
|
|
6975
6975
|
}
|
|
6976
|
+
get options() {
|
|
6977
|
+
return this.#options;
|
|
6978
|
+
}
|
|
6976
6979
|
// returns the string match, the regexp source, whether there's magic
|
|
6977
6980
|
// in the regexp (so a regular expression is required) and whether or
|
|
6978
6981
|
// not the uflag is needed for the regular expression (for posix classes)
|
|
@@ -7176,12 +7179,12 @@ var AST = class _AST {
|
|
|
7176
7179
|
}
|
|
7177
7180
|
};
|
|
7178
7181
|
|
|
7179
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
7182
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/escape.js
|
|
7180
7183
|
var escape = (s, { windowsPathsNoEscape = false } = {}) => {
|
|
7181
7184
|
return windowsPathsNoEscape ? s.replace(/[?*()[\]]/g, "[$&]") : s.replace(/[?*()[\]\\]/g, "\\$&");
|
|
7182
7185
|
};
|
|
7183
7186
|
|
|
7184
|
-
// node_modules/glob/node_modules/minimatch/dist/
|
|
7187
|
+
// node_modules/glob/node_modules/minimatch/dist/esm/index.js
|
|
7185
7188
|
var minimatch = (p, pattern, options = {}) => {
|
|
7186
7189
|
assertValidPattern(pattern);
|
|
7187
7190
|
if (!options.nocomment && pattern.charAt(0) === "#") {
|
|
@@ -7780,7 +7783,10 @@ var Minimatch = class {
|
|
|
7780
7783
|
fastTest = dotStarTest;
|
|
7781
7784
|
}
|
|
7782
7785
|
const re = AST.fromGlob(pattern, this.options).toMMPattern();
|
|
7783
|
-
|
|
7786
|
+
if (fastTest && typeof re === "object") {
|
|
7787
|
+
Reflect.defineProperty(re, "test", { value: fastTest });
|
|
7788
|
+
}
|
|
7789
|
+
return re;
|
|
7784
7790
|
}
|
|
7785
7791
|
makeRe() {
|
|
7786
7792
|
if (this.regexp || this.regexp === false)
|
|
@@ -9179,14 +9185,14 @@ var LRUCache = class _LRUCache {
|
|
|
9179
9185
|
}
|
|
9180
9186
|
};
|
|
9181
9187
|
|
|
9182
|
-
// node_modules/path-scurry/dist/
|
|
9188
|
+
// node_modules/path-scurry/dist/esm/index.js
|
|
9183
9189
|
var import_path = require("path");
|
|
9184
9190
|
var import_url = require("url");
|
|
9185
9191
|
var actualFS = __toESM(require("fs"), 1);
|
|
9186
9192
|
var import_fs = require("fs");
|
|
9187
9193
|
var import_promises2 = require("fs/promises");
|
|
9188
9194
|
|
|
9189
|
-
// node_modules/minipass/dist/
|
|
9195
|
+
// node_modules/minipass/dist/esm/index.js
|
|
9190
9196
|
var import_events = require("events");
|
|
9191
9197
|
var import_stream = __toESM(require("stream"), 1);
|
|
9192
9198
|
var import_string_decoder = require("string_decoder");
|
|
@@ -10066,7 +10072,7 @@ var Minipass = class extends import_events.EventEmitter {
|
|
|
10066
10072
|
}
|
|
10067
10073
|
};
|
|
10068
10074
|
|
|
10069
|
-
// node_modules/path-scurry/dist/
|
|
10075
|
+
// node_modules/path-scurry/dist/esm/index.js
|
|
10070
10076
|
var realpathSync = import_fs.realpathSync.native;
|
|
10071
10077
|
var defaultFS = {
|
|
10072
10078
|
lstatSync: import_fs.lstatSync,
|
|
@@ -10626,6 +10632,7 @@ var PathBase = class {
|
|
|
10626
10632
|
* Result is cached, and thus may be outdated if the filesystem is mutated.
|
|
10627
10633
|
*/
|
|
10628
10634
|
async readlink() {
|
|
10635
|
+
var _a2;
|
|
10629
10636
|
const target = this.#linkTarget;
|
|
10630
10637
|
if (target) {
|
|
10631
10638
|
return target;
|
|
@@ -10638,7 +10645,7 @@ var PathBase = class {
|
|
|
10638
10645
|
}
|
|
10639
10646
|
try {
|
|
10640
10647
|
const read = await this.#fs.promises.readlink(this.fullpath());
|
|
10641
|
-
const linkTarget = this.parent.resolve(read);
|
|
10648
|
+
const linkTarget = (_a2 = await this.parent.realpath()) == null ? void 0 : _a2.resolve(read);
|
|
10642
10649
|
if (linkTarget) {
|
|
10643
10650
|
return this.#linkTarget = linkTarget;
|
|
10644
10651
|
}
|
|
@@ -10651,6 +10658,7 @@ var PathBase = class {
|
|
|
10651
10658
|
* Synchronous {@link PathBase.readlink}
|
|
10652
10659
|
*/
|
|
10653
10660
|
readlinkSync() {
|
|
10661
|
+
var _a2;
|
|
10654
10662
|
const target = this.#linkTarget;
|
|
10655
10663
|
if (target) {
|
|
10656
10664
|
return target;
|
|
@@ -10663,7 +10671,7 @@ var PathBase = class {
|
|
|
10663
10671
|
}
|
|
10664
10672
|
try {
|
|
10665
10673
|
const read = this.#fs.readlinkSync(this.fullpath());
|
|
10666
|
-
const linkTarget = this.parent.resolve(read);
|
|
10674
|
+
const linkTarget = (_a2 = this.parent.realpathSync()) == null ? void 0 : _a2.resolve(read);
|
|
10667
10675
|
if (linkTarget) {
|
|
10668
10676
|
return this.#linkTarget = linkTarget;
|
|
10669
10677
|
}
|
|
@@ -10675,7 +10683,9 @@ var PathBase = class {
|
|
|
10675
10683
|
#readdirSuccess(children) {
|
|
10676
10684
|
this.#type |= READDIR_CALLED;
|
|
10677
10685
|
for (let p = children.provisional; p < children.length; p++) {
|
|
10678
|
-
children[p]
|
|
10686
|
+
const c = children[p];
|
|
10687
|
+
if (c)
|
|
10688
|
+
c.#markENOENT();
|
|
10679
10689
|
}
|
|
10680
10690
|
}
|
|
10681
10691
|
#markENOENT() {
|
|
@@ -11970,6 +11980,10 @@ var Ignore = class {
|
|
|
11970
11980
|
if (!parsed || !globParts) {
|
|
11971
11981
|
throw new Error("invalid pattern object");
|
|
11972
11982
|
}
|
|
11983
|
+
while (parsed[0] === "." && globParts[0] === ".") {
|
|
11984
|
+
parsed.shift();
|
|
11985
|
+
globParts.shift();
|
|
11986
|
+
}
|
|
11973
11987
|
const p = new Pattern(parsed, globParts, 0, platform);
|
|
11974
11988
|
const m = new Minimatch(p.globString(), mmopts);
|
|
11975
11989
|
const children = globParts[globParts.length - 1] === "**";
|
|
@@ -12314,10 +12328,18 @@ var GlobUtil = class {
|
|
|
12314
12328
|
e = rpc;
|
|
12315
12329
|
}
|
|
12316
12330
|
const needStat = e.isUnknown() || this.opts.stat;
|
|
12317
|
-
|
|
12331
|
+
const s = needStat ? await e.lstat() : e;
|
|
12332
|
+
if (this.opts.follow && this.opts.nodir && (s == null ? void 0 : s.isSymbolicLink())) {
|
|
12333
|
+
const target = await s.realpath();
|
|
12334
|
+
if (target && (target.isUnknown() || this.opts.stat)) {
|
|
12335
|
+
await target.lstat();
|
|
12336
|
+
}
|
|
12337
|
+
}
|
|
12338
|
+
return this.matchCheckTest(s, ifDir);
|
|
12318
12339
|
}
|
|
12319
12340
|
matchCheckTest(e, ifDir) {
|
|
12320
|
-
|
|
12341
|
+
var _a2;
|
|
12342
|
+
return e && (this.maxDepth === Infinity || e.depth() <= this.maxDepth) && (!ifDir || e.canReaddir()) && (!this.opts.nodir || !e.isDirectory()) && (!this.opts.nodir || !this.opts.follow || !e.isSymbolicLink() || !((_a2 = e.realpathCached()) == null ? void 0 : _a2.isDirectory())) && !this.#ignored(e) ? e : void 0;
|
|
12321
12343
|
}
|
|
12322
12344
|
matchCheckSync(e, ifDir) {
|
|
12323
12345
|
if (ifDir && this.opts.nodir)
|
|
@@ -12330,7 +12352,14 @@ var GlobUtil = class {
|
|
|
12330
12352
|
e = rpc;
|
|
12331
12353
|
}
|
|
12332
12354
|
const needStat = e.isUnknown() || this.opts.stat;
|
|
12333
|
-
|
|
12355
|
+
const s = needStat ? e.lstatSync() : e;
|
|
12356
|
+
if (this.opts.follow && this.opts.nodir && (s == null ? void 0 : s.isSymbolicLink())) {
|
|
12357
|
+
const target = s.realpathSync();
|
|
12358
|
+
if (target && ((target == null ? void 0 : target.isUnknown()) || this.opts.stat)) {
|
|
12359
|
+
target.lstatSync();
|
|
12360
|
+
}
|
|
12361
|
+
}
|
|
12362
|
+
return this.matchCheckTest(s, ifDir);
|
|
12334
12363
|
}
|
|
12335
12364
|
matchFinish(e, absolute) {
|
|
12336
12365
|
if (this.#ignored(e))
|
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.2",
|
|
4
4
|
"description": "Försäkringskassan toolchain to build libraries with Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vue": "^2.7 || ^3"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
|
56
|
-
"node": ">= 16",
|
|
56
|
+
"node": ">= 16.14",
|
|
57
57
|
"npm": ">= 7"
|
|
58
58
|
}
|
|
59
59
|
}
|