@forsakringskassan/vite-lib-config 3.6.4 → 3.6.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/api-extractor.js
CHANGED
|
@@ -9115,7 +9115,8 @@ function createDedent(options) {
|
|
|
9115
9115
|
function dedent2(strings, ...values) {
|
|
9116
9116
|
const raw = typeof strings === "string" ? [strings] : strings.raw;
|
|
9117
9117
|
const {
|
|
9118
|
-
escapeSpecialCharacters = Array.isArray(strings)
|
|
9118
|
+
escapeSpecialCharacters = Array.isArray(strings),
|
|
9119
|
+
trimWhitespace = true
|
|
9119
9120
|
} = options;
|
|
9120
9121
|
let result = "";
|
|
9121
9122
|
for (let i = 0; i < raw.length; i++) {
|
|
@@ -9145,7 +9146,9 @@ function createDedent(options) {
|
|
|
9145
9146
|
const m = mindent;
|
|
9146
9147
|
result = lines.map((l) => l[0] === " " || l[0] === " " ? l.slice(m) : l).join("\n");
|
|
9147
9148
|
}
|
|
9148
|
-
|
|
9149
|
+
if (trimWhitespace) {
|
|
9150
|
+
result = result.trim();
|
|
9151
|
+
}
|
|
9149
9152
|
if (escapeSpecialCharacters) {
|
|
9150
9153
|
result = result.replace(/\\n/g, "\n");
|
|
9151
9154
|
}
|
package/dist/tsdoc-metadata.json
CHANGED
package/dist/vite.config.cjs
CHANGED
|
@@ -12174,7 +12174,8 @@ function createDedent(options) {
|
|
|
12174
12174
|
function dedent2(strings, ...values) {
|
|
12175
12175
|
const raw = typeof strings === "string" ? [strings] : strings.raw;
|
|
12176
12176
|
const {
|
|
12177
|
-
escapeSpecialCharacters = Array.isArray(strings)
|
|
12177
|
+
escapeSpecialCharacters = Array.isArray(strings),
|
|
12178
|
+
trimWhitespace = true
|
|
12178
12179
|
} = options;
|
|
12179
12180
|
let result = "";
|
|
12180
12181
|
for (let i = 0; i < raw.length; i++) {
|
|
@@ -12204,7 +12205,9 @@ function createDedent(options) {
|
|
|
12204
12205
|
const m = mindent;
|
|
12205
12206
|
result = lines.map((l) => l[0] === " " || l[0] === " " ? l.slice(m) : l).join("\n");
|
|
12206
12207
|
}
|
|
12207
|
-
|
|
12208
|
+
if (trimWhitespace) {
|
|
12209
|
+
result = result.trim();
|
|
12210
|
+
}
|
|
12208
12211
|
if (escapeSpecialCharacters) {
|
|
12209
12212
|
result = result.replace(/\\n/g, "\n");
|
|
12210
12213
|
}
|
package/dist/vite.config.mjs
CHANGED
|
@@ -12151,7 +12151,8 @@ function createDedent(options) {
|
|
|
12151
12151
|
function dedent2(strings, ...values) {
|
|
12152
12152
|
const raw = typeof strings === "string" ? [strings] : strings.raw;
|
|
12153
12153
|
const {
|
|
12154
|
-
escapeSpecialCharacters = Array.isArray(strings)
|
|
12154
|
+
escapeSpecialCharacters = Array.isArray(strings),
|
|
12155
|
+
trimWhitespace = true
|
|
12155
12156
|
} = options;
|
|
12156
12157
|
let result = "";
|
|
12157
12158
|
for (let i = 0; i < raw.length; i++) {
|
|
@@ -12181,7 +12182,9 @@ function createDedent(options) {
|
|
|
12181
12182
|
const m = mindent;
|
|
12182
12183
|
result = lines.map((l) => l[0] === " " || l[0] === " " ? l.slice(m) : l).join("\n");
|
|
12183
12184
|
}
|
|
12184
|
-
|
|
12185
|
+
if (trimWhitespace) {
|
|
12186
|
+
result = result.trim();
|
|
12187
|
+
}
|
|
12185
12188
|
if (escapeSpecialCharacters) {
|
|
12186
12189
|
result = result.replace(/\\n/g, "\n");
|
|
12187
12190
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/vite-lib-config",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.6",
|
|
4
4
|
"description": "Försäkringskassan toolchain to build libraries with Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vite"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dist"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@microsoft/api-extractor": "7.52.
|
|
45
|
+
"@microsoft/api-extractor": "7.52.7",
|
|
46
46
|
"@vue/babel-preset-app": "5.0.8"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|