@forsakringskassan/vite-lib-config 4.3.0 → 4.3.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/dist/api-extractor.js +11 -0
- package/dist/vite.config.cjs +391 -539
- package/dist/vite.config.mjs +391 -539
- package/package.json +1 -1
package/dist/api-extractor.js
CHANGED
|
@@ -9348,6 +9348,17 @@ function createDedent(options) {
|
|
|
9348
9348
|
if (escapeSpecialCharacters) {
|
|
9349
9349
|
result = result.replace(/\\n/g, "\n");
|
|
9350
9350
|
}
|
|
9351
|
+
if (typeof Bun !== "undefined") {
|
|
9352
|
+
result = result.replace(
|
|
9353
|
+
// Matches e.g. \\u{1f60a} or \\u5F1F
|
|
9354
|
+
/\\u(?:\{([\da-fA-F]{1,6})\}|([\da-fA-F]{4}))/g,
|
|
9355
|
+
(_, braced, unbraced) => {
|
|
9356
|
+
var _ref;
|
|
9357
|
+
const hex = (_ref = braced !== null && braced !== void 0 ? braced : unbraced) !== null && _ref !== void 0 ? _ref : "";
|
|
9358
|
+
return String.fromCodePoint(parseInt(hex, 16));
|
|
9359
|
+
}
|
|
9360
|
+
);
|
|
9361
|
+
}
|
|
9351
9362
|
return result;
|
|
9352
9363
|
}
|
|
9353
9364
|
}
|