@refinitiv-ui/theme-compiler
Advanced tools
+6
-0
@@ -6,2 +6,8 @@ # Change Log | ||
| # [7.2.0](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/theme-compiler@7.1.4...@refinitiv-ui/theme-compiler@7.2.0) (2024-12-20) | ||
| ### Features | ||
| - add ds theme ([#1224](https://github.com/Refinitiv/refinitiv-ui/issues/1224)) ([ed96baf](https://github.com/Refinitiv/refinitiv-ui/commit/ed96baf581b1ea2fdb938b1c065e0362e3e11ef3)), closes [#1232](https://github.com/Refinitiv/refinitiv-ui/issues/1232) [#1233](https://github.com/Refinitiv/refinitiv-ui/issues/1233) [#1234](https://github.com/Refinitiv/refinitiv-ui/issues/1234) [#1236](https://github.com/Refinitiv/refinitiv-ui/issues/1236) [#1237](https://github.com/Refinitiv/refinitiv-ui/issues/1237) [#1238](https://github.com/Refinitiv/refinitiv-ui/issues/1238) [#1240](https://github.com/Refinitiv/refinitiv-ui/issues/1240) [#1235](https://github.com/Refinitiv/refinitiv-ui/issues/1235) [#1239](https://github.com/Refinitiv/refinitiv-ui/issues/1239) | ||
| ## [7.1.4](https://github.com/Refinitiv/refinitiv-ui/compare/@refinitiv-ui/theme-compiler@7.1.3...@refinitiv-ui/theme-compiler@7.1.4) (2024-01-22) | ||
@@ -8,0 +14,0 @@ |
+2
-2
| { | ||
| "name": "@refinitiv-ui/theme-compiler", | ||
| "version": "7.1.4", | ||
| "version": "7.2.0", | ||
| "description": "Compiles Element Framework themes into usable JavaScript", | ||
@@ -42,3 +42,3 @@ "author": "LSEG", | ||
| }, | ||
| "gitHead": "38cfb8606d3096b83d9142c2f7d62e57a75223a7" | ||
| "gitHead": "cf8179bfee0a13bd4fbc01cf64a4b161e28c932c" | ||
| } |
@@ -42,5 +42,9 @@ import { glob } from 'glob'; | ||
| if (this.options.isEntrypoint) { | ||
| return glob(filename.replace(prefix, ''), { cwd: currentDirectory }).then((files) => { | ||
| // Glob patterns should always use `/` as a path separator, even on Windows systems | ||
| const globPattern = path | ||
| .join(currentDirectory, filename.replace(prefix, '')) | ||
| .replaceAll(path.sep, path.posix.sep); | ||
| return glob(globPattern).then((files) => { | ||
| for (const file of files) { | ||
| addElementFile(path.join(currentDirectory, file)); | ||
| addElementFile(file); | ||
| } | ||
@@ -47,0 +51,0 @@ return { filename: '', contents: '' }; |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
32881
3.39%511
0.79%