New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wordpress/dependency-extraction-webpack-plugin

Package Overview
Dependencies
Maintainers
25
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/dependency-extraction-webpack-plugin - npm Package Compare versions

Comparing version 3.3.2 to 3.3.3-next.a55ed9455a.0

12

lib/index.js

@@ -58,3 +58,3 @@ /**

// Handle via options.requestToExternal first
// Handle via options.requestToExternal first.
if ( typeof this.options.requestToExternal === 'function' ) {

@@ -64,3 +64,3 @@ externalRequest = this.options.requestToExternal( request );

// Cascade to default if unhandled and enabled
// Cascade to default if unhandled and enabled.
if (

@@ -87,3 +87,3 @@ typeof externalRequest === 'undefined' &&

mapRequestToDependency( request ) {
// Handle via options.requestToHandle first
// Handle via options.requestToHandle first.
if ( typeof this.options.requestToHandle === 'function' ) {

@@ -96,3 +96,3 @@ const scriptDependency = this.options.requestToHandle( request );

// Cascade to default if enabled
// Cascade to default if enabled.
if ( this.options.useDefaults ) {

@@ -105,3 +105,3 @@ const scriptDependency = defaultRequestToHandle( request );

// Fall back to the request name
// Fall back to the request name.
return request;

@@ -197,3 +197,3 @@ }

processModule( chunkModule );
// loop through submodules of ConcatenatedModule
// Loop through submodules of ConcatenatedModule.
if ( chunkModule.modules ) {

@@ -200,0 +200,0 @@ for ( const concatModule of chunkModule.modules ) {

{
"name": "@wordpress/dependency-extraction-webpack-plugin",
"version": "3.3.2",
"version": "3.3.3-next.a55ed9455a.0",
"description": "Extract WordPress script dependencies from webpack bundles.",

@@ -41,3 +41,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "4566ac290359553d04de4eb574545309343f790b"
"gitHead": "c5108185851b824d531bce55991a3589947e8551"
}
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