You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

webpack-modernizr-loader

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-modernizr-loader - npm Package Compare versions

Comparing version

to
3.0.0

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Change Log

# 3.0.0 - 2017-02-27
- Fixed: minimum required loader-utils version is now ~1.0.0.
- Removed: support `webpack` version `1`.
# 2.0.0 - 2017-02-01

@@ -9,0 +14,0 @@

8

index.js

@@ -43,8 +43,8 @@ /* eslint-disable strict, import/no-commonjs */

const callback = this.async();
const query = loaderUtils.parseQuery(this.query);
const options = loaderUtils.getOptions(this);
let userConfig = null;
if (Object.keys(query).length > 0) {
if (query.useConfigFile) {
if (options) {
if (options.useConfigFile) {
userConfig = resolveConfig && isJSON(resolveConfig)

@@ -54,3 +54,3 @@ ? JSON.parse(resolveConfig)

} else {
userConfig = query;
userConfig = options;
}

@@ -57,0 +57,0 @@ } else {

{
"name": "webpack-modernizr-loader",
"version": "2.0.0",
"version": "3.0.0",
"description": "Get your modernizr build bundled with webpack, use modernizr with webpack easily",

@@ -26,6 +26,6 @@ "repository": {

"modernizr": "^3.1.0",
"loader-utils": "^0.2.16"
"loader-utils": "^1.0.0"
},
"devDependencies": {
"ava": "^0.17.0",
"ava": "^0.18.1",
"ajv-cli": "^1.1.0",

@@ -35,12 +35,12 @@ "babel-preset-es2015": "^6.14.0",

"babel-register": "^6.14.0",
"eslint": "^3.14.0",
"eslint": "^3.15.0",
"eslint-plugin-ava": "^4.0.0",
"eslint-plugin-import": "^2.0.0",
"eslint-plugin-itgalaxy": "^36.0.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-itgalaxy": "^41.0.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-lodash": "^2.1.0",
"eslint-plugin-node": "^3.0.5",
"eslint-plugin-node": "^4.0.0",
"eslint-plugin-promise": "^3.0.0",
"eslint-plugin-react": "^6.2.0",
"eslint-plugin-unicorn": "^1.0.0",
"eslint-plugin-unicorn": "^2.0.0",
"npmpub": "^3.1.0",

@@ -50,5 +50,4 @@ "npm-run-all": "^4.0.0",

"package-schema": "^1.0.0",
"remark-cli": "^2.0.0",
"remark-lint": "^5.0.0",
"remark-preset-lint-itgalaxy": "^4.0.0",
"remark-cli": "^3.0.0",
"remark-preset-lint-itgalaxy": "^5.0.0",
"webpack": "^2.2.1",

@@ -59,3 +58,3 @@ "tmp": "^0.0.31",

"peerDependencies": {
"webpack": "^1.13.2 || ^2.2.1"
"webpack": "^2.0.0"
},

@@ -85,7 +84,2 @@ "scripts": {

},
"remarkConfig": {
"presets": [
"remark-preset-lint-itgalaxy"
]
},
"eslintConfig": {

@@ -98,3 +92,8 @@ "extends": [

"root": true
},
"remarkConfig": {
"plugins": [
"remark-preset-lint-itgalaxy"
]
}
}