Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack-dynamic-require

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-dynamic-require - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

12

lib/Dynamic.js

@@ -227,3 +227,3 @@ "use strict";

if (!module && isCss && needComboCssChunk.indexOf(chunkName) === -1) {
if (isCss && needComboCssChunk.indexOf(chunkName) === -1) {
needComboCssChunk.push(chunkName);

@@ -239,6 +239,8 @@ }

if (!csse) {
loadComponentCss(baseUrl, styleId, needComboCssChunk);
return loadComponentCss(baseUrl, styleId, needComboCssChunk).then(function () {
return module.a || module;
});
} else {
return Promise.resolve(module.a || module);
}
return Promise.resolve(module.a || module);
} // 新加载逻辑

@@ -284,2 +286,2 @@ // 加载css

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9EeW5hbWljLnRzIl0sIm5hbWVzIjpbImciLCJ3aW5kb3ciLCJnbG9iYWwiLCJvbmxvYWRDU1MiLCJzcyIsImNhbGxiYWNrIiwiY2FsbGVkIiwibmV3Y2IiLCJjYWxsIiwiYWRkRXZlbnRMaXN0ZW5lciIsImF0dGFjaEV2ZW50IiwibmF2aWdhdG9yIiwib25sb2FkY3NzZGVmaW5lZCIsImpzb25wIiwidXJsIiwib3B0IiwiZm4iLCJ0aW1lb3V0IiwiY2JLZXkiLCJjYlZhbCIsInRpbWVyIiwiRGF0ZSIsIm5vdyIsInMiLCJzbGljZSIsImluZGV4T2YiLCJzY3JpcHQiLCJkb2N1bWVudCIsImNyZWF0ZUVsZW1lbnQiLCJyZW1vdmUiLCJjbGVhclRpbWVvdXQiLCJoZWFkIiwicmVtb3ZlQ2hpbGQiLCJ1bmRlZmluZWQiLCJzcmMiLCJkYXRhIiwiYXBwZW5kQ2hpbGQiL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X1gO1xuICAgIGpzUHJvbWlzZSA9IG5ldyBQcm9taXNlKChyZXNvbHZlLCByZWplY3QpID0+IHtcbiAgICAgIFNjcmlwdGpzKGNvbWJvVXJsLCAoKSA9PiB7XG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ2xvYWQgY29tYm8ganMgZG9uZScsIG5hbWUpO1xuICAgICAgICAgIGNvbnN0IG1vZHVsZSA9IGcud2VicGFja0RhdGEoZW50cnlNb2R1bGVOYW1lKTtcbiAgICAgICAgICByZXNvbHZlKG1vZHVsZS5hIHx8IG1vZHVsZSk7XG4gICAgICAgIH0gY2F0Y2ggKGUpIHtcbiAgICAgICAgICByZWplY3QoZSk7XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgIH0pO1xuICAgIHJldHVybiBQcm9taXNlLmFsbChbc3NQcm9taXNlLCBqc1Byb21pc2VdKS50aGVuKChbc3MsIG1vZHVsZV0pID0+IHtcbiAgICAgIHJldHVybiBtb2R1bGU7XG4gICAgfSkuY2F0Y2goZSA9PiB7XG4gICAgICBjb25zb2xlLndhcm4oJ2Jvb3Rsb2FkIG1vZHVsZSBlcnJvcicsIGUpO1xuICAgIH0pXG4gIH0pLmNhdGNoKGZ1bmN0aW9uIChlcnJvcjogYW55KSB7XG4gICAgY29uc29sZS53YXJuKCdsb2FkIHJlbW90ZSBlcnJvcicpO1xuICAgIHRocm93IGVycm9yXG4gIH0pXG59Il19
{
"name": "webpack-dynamic-require",
"version": "1.0.4",
"version": "1.0.5",
"description": "you can require cdn bundle dynamic",

@@ -5,0 +5,0 @@ "main": "lib/Dynamic.js",

@@ -189,3 +189,3 @@ import Scriptjs from 'scriptjs';

}
if (!module && isCss && needComboCssChunk.indexOf(chunkName) === -1) {
if (isCss && needComboCssChunk.indexOf(chunkName) === -1) {
needComboCssChunk.push(chunkName);

@@ -202,5 +202,8 @@ }

if (!csse) {
loadComponentCss(baseUrl, styleId, needComboCssChunk);
return loadComponentCss(baseUrl, styleId, needComboCssChunk).then(() => {
return module.a || module;
});
} else {
return Promise.resolve(module.a || module);
}
return Promise.resolve(module.a || module);
}

@@ -207,0 +210,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc