less-loader
Advanced tools
Comparing version 10.0.1 to 10.1.0
@@ -71,3 +71,8 @@ "use strict"; | ||
this.addDependency(_path.default.normalize(item)); | ||
const normalizedItem = _path.default.normalize(item); // Custom `importer` can return only `contents` so item will be relative | ||
if (_path.default.isAbsolute(normalizedItem)) { | ||
this.addDependency(normalizedItem); | ||
} | ||
}); | ||
@@ -74,0 +79,0 @@ let map = typeof result.map === "string" ? JSON.parse(result.map) : result.map; |
@@ -6,3 +6,4 @@ { | ||
"lessOptions": { | ||
"description": "Options to pass through to `Less` (https://github.com/webpack-contrib/less-loader#lessoptions).", | ||
"description": "Options to pass through to `Less`.", | ||
"link": "https://github.com/webpack-contrib/less-loader#lessoptions", | ||
"anyOf": [ | ||
@@ -19,3 +20,4 @@ { | ||
"additionalData": { | ||
"description": "Prepends/Appends `Less` code to the actual entry file (https://github.com/webpack-contrib/less-loader#additionalData).", | ||
"description": "Prepends/Appends `Less` code to the actual entry file.", | ||
"link": "https://github.com/webpack-contrib/less-loader#additionalData", | ||
"anyOf": [ | ||
@@ -31,11 +33,14 @@ { | ||
"sourceMap": { | ||
"description": "Enables/Disables generation of source maps (https://github.com/webpack-contrib/less-loader#sourcemap).", | ||
"description": "Enables/Disables generation of source maps.", | ||
"link": "https://github.com/webpack-contrib/less-loader#sourcemap", | ||
"type": "boolean" | ||
}, | ||
"webpackImporter": { | ||
"description": "Enables/Disables default `webpack` importer (https://github.com/webpack-contrib/less-loader#webpackimporter).", | ||
"description": "Enables/Disables default `webpack` importer.", | ||
"link": "https://github.com/webpack-contrib/less-loader#webpackimporter", | ||
"type": "boolean" | ||
}, | ||
"implementation": { | ||
"description": "The implementation of the `Less` to be used (https://github.com/webpack-contrib/less-loader#implementation).", | ||
"description": "The implementation of the `Less` to be used.", | ||
"link": "https://github.com/webpack-contrib/less-loader#implementation", | ||
"anyOf": [ | ||
@@ -42,0 +47,0 @@ { |
@@ -6,6 +6,6 @@ "use strict"; | ||
}); | ||
exports.getLessImplementation = getLessImplementation; | ||
exports.getLessOptions = getLessOptions; | ||
exports.isUnsupportedUrl = isUnsupportedUrl; | ||
exports.normalizeSourceMap = normalizeSourceMap; | ||
exports.getLessImplementation = getLessImplementation; | ||
@@ -12,0 +12,0 @@ var _path = _interopRequireDefault(require("path")); |
{ | ||
"name": "less-loader", | ||
"version": "10.0.1", | ||
"version": "10.1.0", | ||
"description": "A Less loader for webpack. Compiles Less to CSS.", | ||
@@ -49,23 +49,24 @@ "license": "MIT", | ||
"@babel/core": "^7.14.6", | ||
"@babel/preset-env": "^7.14.5", | ||
"@commitlint/cli": "^12.1.4", | ||
"@commitlint/config-conventional": "^12.1.4", | ||
"@babel/preset-env": "^7.14.7", | ||
"@commitlint/cli": "^13.1.0", | ||
"@commitlint/config-conventional": "^13.1.0", | ||
"@webpack-contrib/eslint-config-webpack": "^3.0.0", | ||
"babel-jest": "^27.0.2", | ||
"babel-jest": "^27.0.6", | ||
"cross-env": "^7.0.3", | ||
"del": "^6.0.0", | ||
"del-cli": "^4.0.0", | ||
"eslint": "^7.28.0", | ||
"del-cli": "^4.0.1", | ||
"eslint": "^7.30.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.23.4", | ||
"husky": "^6.0.0", | ||
"jest": "^27.0.4", | ||
"eslint-plugin-import": "^2.24.1", | ||
"husky": "^7.0.1", | ||
"jest": "^27.0.6", | ||
"less": "^4.1.1", | ||
"lint-staged": "^11.0.0", | ||
"less-plugin-glob": "^3.0.0", | ||
"lint-staged": "^11.0.1", | ||
"memfs": "^3.2.2", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.3.1", | ||
"standard-version": "^9.3.0", | ||
"prettier": "^2.3.2", | ||
"standard-version": "^9.3.1", | ||
"strip-ansi": "^7.0.0", | ||
"webpack": "^5.39.1" | ||
"webpack": "^5.51.1" | ||
}, | ||
@@ -72,0 +73,0 @@ "keywords": [ |
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
32787
326
24