From aaef33fc265522c223150756f059216c183b679e Mon Sep 17 00:00:00 2001 From: mpratt Date: Tue, 30 May 2017 16:08:54 -0500 Subject: [PATCH] Release 2.1.1 - Properly support older versions of node --- CHANGELOG.md | 13 +++++++++++-- index.js | 1 + package.json | 2 +- test/index.js | 4 +++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a90520..56a1be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,21 @@ # Changelog -# 2017-5-30: 2.1.0 +## 2017-5-30: +### 2.1.1 + +* Properly support older versions of node. Tested in: + * 4.8.3 + * 5.11.1 + * 6.10.3 + +### 2.1.0 * No longer will intercept what should be a standard Webpack "File not found" error. * This also resolves the issue where the plugin wouldn't recognize when a file was added. * Hardened tests. * Cleaned up code and added an 'engines' config to package.json -# 2017-3-31: 2.0.0 +## 2017-3-31: +### 2.0.0 * Use the compiler filesystem, which helps when other plugins change the 'fs' object being used by the compiler. diff --git a/index.js b/index.js index b4a5952..e7e1ab0 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,4 @@ +"use strict"; /* This plugin based on https://gist.github.com/Morhaus/333579c2a5b4db644bd5 Original license: diff --git a/package.json b/package.json index 3604d45..bd136aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "case-sensitive-paths-webpack-plugin", - "version": "2.1.0", + "version": "2.1.1", "description": "Enforces module path case sensitivity in Webpack", "engines": { "node": ">4.0" }, "main": "index.js", diff --git a/test/index.js b/test/index.js index bc51b52..6ee5888 100644 --- a/test/index.js +++ b/test/index.js @@ -1,3 +1,5 @@ +"use strict"; + let assert = require("assert"); let fs = require("fs-extra"); let path = require("path"); @@ -6,7 +8,7 @@ let webpack = require("webpack"); let CaseSensitivePathsPlugin = require("../"); -function webpackCompilerAtDir(dir, otherOpts = {}) { +function webpackCompilerAtDir(dir, otherOpts) { let opts = Object.assign({ context: path.join(__dirname, "fixtures", dir), entry: "./entry",