Comparing version 1.1.5 to 1.1.6
# Changelog | ||
## 1.1.6 | ||
* Backport, fixed `found-at` with absolute path ([#156](https://github.com/SassDoc/sassdoc/pull/156)) | ||
## 1.1.5 | ||
@@ -4,0 +8,0 @@ |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"license": { | ||
@@ -13,0 +13,0 @@ "type": "MIT", |
@@ -164,3 +164,3 @@ 'use strict'; | ||
item.file = { | ||
path: utils.getDisplayPath(file, exports.folder.base), | ||
path: path.relative(exports.folder.base, file), | ||
name: path.basename(file, '.scss') | ||
@@ -213,3 +213,3 @@ }; | ||
getData: function (folder) { | ||
exports.folder.base = path.basename(folder); | ||
exports.folder.base = folder; | ||
@@ -216,0 +216,0 @@ return exports.folder.parse(folder).then(function (response) { |
@@ -10,3 +10,3 @@ 'use strict'; | ||
* @param {string} filename - filename to retrieve extension from | ||
* @return {string} extension | ||
* @return {string} extension | ||
*/ | ||
@@ -18,12 +18,2 @@ getExtension: function (filename) { | ||
/** | ||
* Get file display path, relative to the project directory | ||
* @param {string} filePath - file path | ||
* @param {string} baseDir - project base directory | ||
* @return {string} display path | ||
*/ | ||
getDisplayPath: function (filePath, baseDir) { | ||
return path.join(baseDir, filePath); | ||
}, | ||
/** | ||
* Get current date/time | ||
@@ -30,0 +20,0 @@ * @return {string} Stringified date time |
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
110437
93
1141
1