updated npm modules

This commit is contained in:
2019-05-20 20:43:45 -05:00
parent 2319197b81
commit f166b72b7d
1113 changed files with 8758 additions and 12227 deletions

View File

@@ -22,7 +22,9 @@ if (/^6\./.test(babel.version)) {
throw new Error("\n babel-loader@8 will not work with the '@babel/core@6' bridge package. " + "If you want to use Babel 6.x, install 'babel-loader@7'.");
}
const pkg = require("../package.json");
const {
version
} = require("../package.json");
const cache = require("./cache");
@@ -30,7 +32,9 @@ const transform = require("./transform");
const injectCaller = require("./injectCaller");
const path = require("path");
const {
isAbsolute
} = require("path");
const loaderUtils = require("loader-utils");
@@ -66,7 +70,7 @@ function _loader() {
throw new Error("Customized loaders must be implemented as standalone modules.");
}
if (!path.isAbsolute(loaderOptions.customize)) {
if (!isAbsolute(loaderOptions.customize)) {
throw new Error("Customized loaders must be passed as absolute paths, since " + "babel-loader has no way to know what they would be relative to.");
}
@@ -165,7 +169,7 @@ function _loader() {
cacheIdentifier = JSON.stringify({
options,
"@babel/core": transform.version,
"@babel/loader": pkg.version
"@babel/loader": version
}),
cacheCompression = true,
metadataSubscribers = []