@db-ux/core-components 4.2.0 → 4.2.1
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
CHANGED
|
@@ -2,8 +2,8 @@ import { glob } from 'glob';
|
|
|
2
2
|
import { execFile } from 'node:child_process';
|
|
3
3
|
import { promisify } from 'node:util';
|
|
4
4
|
|
|
5
|
-
import { dirname } from 'path';
|
|
6
|
-
import { fileURLToPath } from 'url';
|
|
5
|
+
import { dirname } from 'node:path';
|
|
6
|
+
import { fileURLToPath } from 'node:url';
|
|
7
7
|
|
|
8
8
|
const __filename = fileURLToPath(import.meta.url);
|
|
9
9
|
const __dirname = dirname(__filename).replaceAll('\\', '/');
|
|
@@ -27,7 +27,7 @@ const generateFonts = async () => {
|
|
|
27
27
|
try {
|
|
28
28
|
const files = await glob(`${__dirname}/*.ttf`);
|
|
29
29
|
|
|
30
|
-
for (const file of files.map(f=> f.replaceAll('\\', '/'))) {
|
|
30
|
+
for (const file of files.map((f) => f.replaceAll('\\', '/'))) {
|
|
31
31
|
// Security: Validate that the file is within the expected directory
|
|
32
32
|
// and has the expected extension to prevent path traversal attacks
|
|
33
33
|
if (!file.startsWith(__dirname) || !file.endsWith('.ttf')) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/core-components",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "General technical components (styling, fonts and icons) out of DB UX Design System (Version 3)",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"start": "nodemon --watch src --watch scripts --watch scripts --ext js,tsx,ts,scss,json --exec \"npm run build\""
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@db-ux/core-foundations": "4.2.
|
|
50
|
+
"@db-ux/core-foundations": "4.2.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@builder.io/eslint-plugin-mitosis": "0.0.17",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"cpr": "3.0.1",
|
|
58
58
|
"cssnano": "7.1.2",
|
|
59
59
|
"hygen": "6.2.11",
|
|
60
|
-
"nodemon": "3.1.
|
|
60
|
+
"nodemon": "3.1.11",
|
|
61
61
|
"sass": "1.85.0",
|
|
62
62
|
"sassdoc": "2.7.4",
|
|
63
63
|
"tsx": "4.20.6"
|