svgo-loader
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -5,3 +5,3 @@ const { optimize, loadConfig } = require('svgo'); | ||
async function loader(source) { | ||
const { configFile, ...options } = this.getOptions() || {}; | ||
const { configFile, ...options } = loaderUtils.getOptions(this) || {}; | ||
let config; | ||
@@ -8,0 +8,0 @@ if (typeof configFile === 'string') { |
{ | ||
"name": "svgo-loader", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "svgo loader for webpack", | ||
@@ -24,10 +24,10 @@ "main": "index.js", | ||
"devDependencies": { | ||
"file-loader": "^6.2.0", | ||
"webpack": "^5.74.0", | ||
"webpack-cli": "^4.10.0" | ||
"file-loader": "^2.0.0", | ||
"webpack": "^4.17.2", | ||
"webpack-cli": "^3.1.0" | ||
}, | ||
"dependencies": { | ||
"loader-utils": "^3.2.0", | ||
"loader-utils": "^2.0.3", | ||
"svgo": "^2.8.0" | ||
} | ||
} |
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
24878
15
+ Addedbig.js@5.2.2(transitive)
+ Addedemojis-list@3.0.0(transitive)
+ Addedjson5@2.2.3(transitive)
+ Addedloader-utils@2.0.4(transitive)
- Removedloader-utils@3.3.1(transitive)
Updatedloader-utils@^2.0.3