ui5-tooling-transpile
Advanced tools
Comparing version 3.3.4 to 3.3.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.3.5](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/ui5-tooling-transpile@3.3.4...ui5-tooling-transpile@3.3.5) (2024-02-23) | ||
### Bug Fixes | ||
* **ui5-tooling-transpile:** support special rhino target via env var ([#959](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/959)) ([3a0cc03](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/3a0cc031ca4b5acf0bbcefb3968416b4248eae61)) | ||
## [3.3.4](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/ui5-tooling-transpile@3.3.3...ui5-tooling-transpile@3.3.4) (2024-02-18) | ||
@@ -8,0 +19,0 @@ |
@@ -444,12 +444,22 @@ const os = require("os"); | ||
configuration?.debug && log.info(`Using browserslist configuration from ui5.yaml...`); | ||
envPreset.push({ | ||
targets: { | ||
// future: consider to read the browserslist config from OpenUI5/SAPUI5? | ||
// env variables must not use "-" or "." and therefore we use "_" only | ||
browsers: | ||
process.env?.["ui5_tooling_transpile__targetBrowsers"] || | ||
configuration?.targetBrowsers || | ||
"defaults" | ||
} | ||
}); | ||
if (process.env?.["ui5_tooling_transpile__target_rhino"]) { | ||
// necessary to transpile to ES5 for Rhino (to support some legacy Java tools) | ||
envPreset.push({ | ||
targets: { | ||
rhino: process.env?.["ui5_tooling_transpile__target_rhino"] | ||
} | ||
}); | ||
} else { | ||
envPreset.push({ | ||
targets: { | ||
// future: consider to read the browserslist config from OpenUI5/SAPUI5? | ||
// env variables must not use "-" or "." and therefore we use "_" only | ||
browsers: | ||
process.env?.["ui5_tooling_transpile__target_browsers"] || | ||
process.env?.["ui5_tooling_transpile__targetBrowsers"] || | ||
configuration?.targetBrowsers || | ||
"defaults" | ||
} | ||
}); | ||
} | ||
} | ||
@@ -456,0 +466,0 @@ babelConfigOptions.presets.push(envPreset); |
{ | ||
"name": "ui5-tooling-transpile", | ||
"version": "3.3.4", | ||
"version": "3.3.5", | ||
"description": "UI5 tooling extensions to transpile code", | ||
@@ -46,3 +46,3 @@ "author": "Jorge Martins, Peter Muessig", | ||
}, | ||
"gitHead": "c982231d4c48e09b2694a1124f032bb62267cd7c" | ||
"gitHead": "2ffd69e835caf238ce5980ae1342571748659bb1" | ||
} |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
99433
1062
13