mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-04-17 03:49:23 +01:00
[Copilot] Update loader-utils dependency (#2458)
* Add copilot instructions and skills for build and tests. * Add dev-server skill. * Auth Util changes to fix Entra login while running from copilot. * Fix lint issue. * Copilot generated update for loader-utils & less-vars-loader dependency.
This commit is contained in:
13
patches/less-vars-loader+1.1.0.patch
Normal file
13
patches/less-vars-loader+1.1.0.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/node_modules/less-vars-loader/index.js b/node_modules/less-vars-loader/index.js
|
||||
index 14183c1..095c807 100644
|
||||
--- a/node_modules/less-vars-loader/index.js
|
||||
+++ b/node_modules/less-vars-loader/index.js
|
||||
@@ -7,7 +7,7 @@ const entries = require('object.entries');
|
||||
|
||||
module.exports = function(source) {
|
||||
this.cacheable && this.cacheable();
|
||||
- const query = loaderUtils.parseQuery(this.query);
|
||||
+ const query = loaderUtils.getOptions(this) || {};
|
||||
const camelCaseKeys = !!(query.camelCase || query.camelcase);
|
||||
const resolveVariables = !!(query.resolveVariables || query.resolvevariables);
|
||||
|
||||
Reference in New Issue
Block a user