@aurodesignsystem/auro-library 2.4.1 → 2.4.3
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/CHANGELOG.md +14 -0
- package/bin/generateDocs.mjs +1 -1
- package/package.json +1 -1
- package/scripts/utils/auroLibraryUtils.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Semantic Release Automated Changelog
|
|
2
2
|
|
|
3
|
+
## [2.4.3](https://github.com/AlaskaAirlines/auro-library/compare/v2.4.2...v2.4.3) (2024-02-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* remove accidental duplicate line ([9de53ed](https://github.com/AlaskaAirlines/auro-library/commit/9de53ed23512d11f293e30a97a2a7a23dc6e2874))
|
|
9
|
+
|
|
10
|
+
## [2.4.2](https://github.com/AlaskaAirlines/auro-library/compare/v2.4.1...v2.4.2) (2024-02-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Performance Improvements
|
|
14
|
+
|
|
15
|
+
* update regex ([0ac7870](https://github.com/AlaskaAirlines/auro-library/commit/0ac78704cf0cdc8867d3a88190534c7e9fd86d8a))
|
|
16
|
+
|
|
3
17
|
## [2.4.1](https://github.com/AlaskaAirlines/auro-library/compare/v2.4.0...v2.4.1) (2024-01-30)
|
|
4
18
|
|
|
5
19
|
|
package/bin/generateDocs.mjs
CHANGED
|
@@ -61,7 +61,7 @@ function formatTemplateFileContents(content, destination) {
|
|
|
61
61
|
result = result.replace(/>(\r\n|\r|\n){2,}/g, '>\r\n'); // Remove empty lines directly after a closing html tag.
|
|
62
62
|
result = result.replace(/>(\r\n|\r|\n)```/g, '>\r\n\r\n```'); // Ensure an empty line before code samples.
|
|
63
63
|
result = result.replace(/>(\r\n|\r|\n){2,}```(\r\n|\r|\n)/g, '>\r\n```\r\n'); // Ensure no empty lines before close of code sample.
|
|
64
|
-
result = result.replace(/([^(\r\n|\r|\n)])(\r
|
|
64
|
+
result = result.replace(/([^(\r\n|\r|\n)])(\r?\n|\r(?!\n))+#/g, "$1\r\n\r\n#"); // Ensure empty line before header sections.
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Write the result to the destination file
|
package/package.json
CHANGED
|
@@ -172,7 +172,7 @@ export default class AuroLibraryUtils {
|
|
|
172
172
|
result = result.replace(/>(\r\n|\r|\n){2,}/g, '>\r\n'); // Remove empty lines directly after a closing html tag.
|
|
173
173
|
result = result.replace(/>(\r\n|\r|\n)```/g, '>\r\n\r\n```'); // Ensure an empty line before code samples.
|
|
174
174
|
result = result.replace(/>(\r\n|\r|\n){2,}```(\r\n|\r|\n)/g, '>\r\n```\r\n'); // Ensure no empty lines before close of code sample.
|
|
175
|
-
result = result.replace(/([^(\r\n|\r|\n)])(\r
|
|
175
|
+
result = result.replace(/([^(\r\n|\r|\n)])(\r?\n|\r(?!\n))+#/g, "$1\r\n\r\n#"); // Ensure empty line before header sections.
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
178
|
* Write the result to the destination file.
|