From 94eb2bc502f41e80dbce468c89f26bb0e92be520 Mon Sep 17 00:00:00 2001 From: Bamieh Date: Sat, 16 Dec 2017 13:54:14 +0200 Subject: [PATCH] drop support for ie9 and ie19; closes https://github.com/mochajs/mocha/issues/3148 drop sublime gitignore --- Makefile | 1 - karma.conf.js | 4 +--- mocha.sublime-project | 21 +++++++++++++++++++++ package.json | 4 +--- 4 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 mocha.sublime-project diff --git a/Makefile b/Makefile index 7567fc16a0..67b0a0d734 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,6 @@ mocha.js: $(SRC) browser-entry.js @printf "==> [Browser :: build]\n" mkdir -p ${@D} $(BROWSERIFY) ./browser-entry \ - --require buffer/:buffer \ --plugin ./scripts/dedefine \ --ignore 'fs' \ --ignore 'glob' \ diff --git a/karma.conf.js b/karma.conf.js index c4d752d409..e9a11bc2c8 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -9,8 +9,6 @@ const browserPlatformPairs = { 'chrome@latest': 'Windows 8', 'MicrosoftEdge@latest': 'Windows 10', 'internet explorer@11.0': 'Windows 8.1', - 'internet explorer@10.0': 'Windows 8', - 'internet explorer@9.0': 'Windows 7', 'firefox@latest': 'Windows 10', 'safari@latest': 'OS X 10.12' }; @@ -39,7 +37,7 @@ module.exports = config => { .ignore('fs') .ignore('path') .ignore('supports-color') - .require(path.join(__dirname, 'node_modules', 'buffer'), {expose: 'buffer'}) + // .require(path.join(__dirname, 'node_modules', 'buffer'), {expose: 'buffer'}) .on('bundled', (err, content) => { if (!err && bundleDirpath) { // write bundle to directory for debugging diff --git a/mocha.sublime-project b/mocha.sublime-project new file mode 100644 index 0000000000..a5ddc77605 --- /dev/null +++ b/mocha.sublime-project @@ -0,0 +1,21 @@ +{ + "folders": + [ + { + "file_exclude_patterns": + [ + "package-lock.json", + "yarn.lock", + "mocha.js" + ], + "folder_exclude_patterns": + [ + "distribution", + "node_modules", + ".tmp", + ".git" + ], + "path": "." + } + ] +} diff --git a/package.json b/package.json index 00cea01277..f63d728955 100644 --- a/package.json +++ b/package.json @@ -323,7 +323,6 @@ "devDependencies": { "assert": "^1.4.1", "browserify": "^14.4.0", - "buffer": "^4.9.1", "coffee-script": "^1.10.0", "coveralls": "^3.0.0", "cross-spawn": "^5.1.0", @@ -365,8 +364,7 @@ "fs": false, "glob": false, "path": false, - "supports-color": false, - "buffer": "buffer" + "supports-color": false }, "homepage": "https://mochajs.org", "logo": "https://cldup.com/S9uQ-cOLYz.svg"