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"