bajo-extra 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -0
- package/package.json +1 -1
- package/wiki/CHANGES.md +5 -1
package/index.js
CHANGED
|
@@ -283,6 +283,7 @@ async function factory (pkgName) {
|
|
|
283
283
|
for (const q in query) {
|
|
284
284
|
if (!isSet(query[q])) delete query[q]
|
|
285
285
|
}
|
|
286
|
+
opts.query = opts.query ?? {}
|
|
286
287
|
if (!isEmpty(query)) opts.query = query
|
|
287
288
|
delete opts.params
|
|
288
289
|
if (!has(extra, 'cacheBuster')) extra.cacheBuster = true
|
package/package.json
CHANGED