Socket
Socket
Sign inDemoInstall

webpack-shell-plugin-alt

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.3.0 to 1.4.0

.DS_Store

1

lib/index.js

@@ -142,2 +142,3 @@ 'use strict';

for (var key in defaults) {
// eslint-disable-next-line no-prototype-builtins
if (options.hasOwnProperty(key)) {

@@ -144,0 +145,0 @@ defaults[key] = options[key];

25

package.json
{
"name": "webpack-shell-plugin-alt",
"version": "1.3.0",
"version": "1.4.0",
"description": "Run shell commands before and after webpack builds",

@@ -37,13 +37,16 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"css-loader": "^1.0.0",
"eslint": "^5.7.0",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.1",
"rollup-plugin-node-resolve": "^3.4.0",
"style-loader": "^0.23.1",
"webpack": "^4.22.0"
"@babel/core": "^7.5.5",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/preset-env": "^7.5.5",
"chalk": "^2.4.2",
"css-loader": "^3.2.0",
"eslint": "^6.3.0",
"rollup": "^1.20.3",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"style-loader": "^1.0.0",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.7",
"webpack-dev-server": "^3.8.0"
}
}

@@ -68,2 +68,3 @@ const spawn = require('child_process').spawn;

for (const key in defaults) {
// eslint-disable-next-line no-prototype-builtins
if (options.hasOwnProperty(key)) {

@@ -70,0 +71,0 @@ defaults[key] = options[key];

@@ -1,3 +0,3 @@

require("!style!css!./style.css");
require("./style.css");
document.write(require("./content.js"));
console.log('Hello');

@@ -7,2 +7,3 @@ const path = require('path');

module.exports = {
mode: 'development',
watch: true,

@@ -18,4 +19,14 @@ entry: path.resolve(__dirname, 'test/entry.js'),

module: {
loaders: [
{ test: /\.css$/, loader: 'style!css' }
rules: [
{
test: /\.css$/,
use: [
{
loader: 'style-loader',
},
{
loader: 'css-loader',
},
]
}
]

@@ -22,0 +33,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc