Socket
Socket
Sign inDemoInstall

grunt-webpack

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-webpack - npm Package Compare versions

Comparing version 0.10.3 to 0.10.4

5

package.json
{
"name": "grunt-webpack",
"description": "Use webpack with grunt.",
"version": "0.10.3",
"version": "0.10.4",
"homepage": "https://github.com/webpack/grunt-webpack",

@@ -16,2 +16,5 @@ "author": {

},
"dependencies": {
"lodash": "~1.2.0"
},
"peerDependencies": {

@@ -18,0 +21,0 @@ "webpack": "0.10.x"

12

tasks/webpack.js

@@ -10,2 +10,3 @@ /*

var path = require("path");
var _ = require("lodash");
module.exports = function(grunt) {

@@ -24,3 +25,8 @@

// Get options from this.data
var options = grunt.util._.merge(
function getWithPlugins(ns) {
var obj = grunt.config(ns);
if(obj.plugins) obj.plugins = grunt.config.getRaw(ns.concat(["plugins"]));
return obj;
}
var options = _.merge(
{

@@ -33,4 +39,4 @@ context: ".",

},
grunt.config([this.name, "options"]),
this.data,
getWithPlugins([this.name, "options"]),
getWithPlugins([this.name, this.target]),
function(a, b) {

@@ -37,0 +43,0 @@ return grunt.util._.isArray(a) && grunt.util._.isArray(b) ? a.concat(b) : undefined;

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