less-openui5
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -5,6 +5,12 @@ # Changelog | ||
A list of unreleased changes can be found [here](https://github.com/SAP/less-openui5/compare/v0.8.1...HEAD). | ||
A list of unreleased changes can be found [here](https://github.com/SAP/less-openui5/compare/v0.8.2...HEAD). | ||
<a name="v0.8.2"></a> | ||
## [v0.8.2] - 2019-12-16 | ||
### Bug Fixes | ||
- Support absolute import paths in less files ([#107](https://github.com/SAP/less-openui5/issues/107)) [`266b06d`](https://github.com/SAP/less-openui5/commit/266b06d9b091d34e6f279fbdf567702bcb9dbaed) | ||
<a name="v0.8.1"></a> | ||
## [v0.8.1] - 2019-12-02 | ||
## [v0.8.1] - 2019-12-03 | ||
### Bug Fixes | ||
@@ -33,2 +39,3 @@ - Improve rule diffing algorithm ([#104](https://github.com/SAP/less-openui5/issues/104)) [`2527189`](https://github.com/SAP/less-openui5/commit/252718912861d2edde2041729a106fb3e0a6316b) | ||
[v0.8.2]: https://github.com/SAP/less-openui5/compare/v0.8.1...v0.8.2 | ||
[v0.8.1]: https://github.com/SAP/less-openui5/compare/v0.8.0...v0.8.1 | ||
@@ -35,0 +42,0 @@ [v0.8.0]: https://github.com/SAP/less-openui5/compare/0.7.0...v0.8.0 |
@@ -153,4 +153,11 @@ // Copyright 2019 SAP SE. | ||
function fileHandler(file, currentFileInfo, handleDataAndCallCallback, callback) { | ||
const pathname = path.posix.join(currentFileInfo.currentDirectory, file); | ||
let pathname; | ||
// support absolute paths such as "/resources/my/base.less" | ||
if (path.posix.isAbsolute(file)) { | ||
pathname = path.posix.normalize(file); | ||
} else { | ||
pathname = path.posix.join(currentFileInfo.currentDirectory, file); | ||
} | ||
that.fileUtils.readFile(pathname, options.rootPaths).then(function(result) { | ||
@@ -157,0 +164,0 @@ if (!result) { |
{ | ||
"name": "less-openui5", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "Build OpenUI5 themes with Less.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
352458
8021
1