vue-loader
Advanced tools
Comparing version 17.0.0 to 17.0.1
@@ -31,5 +31,6 @@ "use strict"; | ||
const stringifyRequest = (r) => loaderUtils.stringifyRequest(loaderContext, r); | ||
const { mode, target, sourceMap, rootContext, resourcePath, resourceQuery = '', } = loaderContext; | ||
const rawQuery = resourceQuery.slice(1); | ||
const { mode, target, sourceMap, rootContext, resourcePath, resourceQuery: _resourceQuery = '', } = loaderContext; | ||
const rawQuery = _resourceQuery.slice(1); | ||
const incomingQuery = qs.parse(rawQuery); | ||
const resourceQuery = rawQuery ? `&${rawQuery}` : ''; | ||
const options = (loaderUtils.getOptions(loaderContext) || | ||
@@ -36,0 +37,0 @@ {}); |
@@ -45,3 +45,3 @@ "use strict"; | ||
vueLoaderUse.options || {}); | ||
// for each user rule (expect the vue rule), create a cloned rule | ||
// for each user rule (except the vue rule), create a cloned rule | ||
// that targets the corresponding language blocks in *.vue files. | ||
@@ -48,0 +48,0 @@ const clonedRules = rules.filter((r) => r !== vueRule).map(cloneRule); |
@@ -96,3 +96,3 @@ "use strict"; | ||
vueLoaderUse.options || {}); | ||
// for each user rule (expect the vue rule), create a cloned rule | ||
// for each user rule (except the vue rule), create a cloned rule | ||
// that targets the corresponding language blocks in *.vue files. | ||
@@ -99,0 +99,0 @@ const refs = new Map(); |
{ | ||
"name": "vue-loader", | ||
"version": "17.0.0", | ||
"version": "17.0.1", | ||
"license": "MIT", | ||
"author": "Evan You", | ||
"repository": "vuejs/vue-loader", | ||
"main": "dist/index.js", | ||
@@ -42,2 +43,10 @@ "types": "dist/index.d.ts", | ||
}, | ||
"peerDependenciesMeta": { | ||
"@vue/compiler-sfc": { | ||
"optional": true | ||
}, | ||
"vue": { | ||
"optional": true | ||
} | ||
}, | ||
"devDependencies": { | ||
@@ -44,0 +53,0 @@ "@babel/core": "^7.7.7", |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
1154
59767
37