Skip to content

Commit

Permalink
Merge pull request #1982 from browserify/fix-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Oct 9, 2020
2 parents 5113ea3 + e34ed8c commit 984ffc6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -44,7 +44,7 @@
"htmlescape": "^1.1.0",
"https-browserify": "^1.0.0",
"inherits": "~2.0.1",
"insert-module-globals": "^7.0.0",
"insert-module-globals": "^7.2.1",
"labeled-stream-splicer": "^2.0.0",
"mkdirp-classic": "^0.5.2",
"module-deps": "^6.2.3",
Expand Down
4 changes: 3 additions & 1 deletion test/crypto.js
Expand Up @@ -4,6 +4,7 @@ var path = require('path');
var fs = require('fs');
var vm = require('vm');
var concat = require('concat-stream');
var semver = require('semver');

var temp = require('temp');
temp.track();
Expand All @@ -13,7 +14,8 @@ fs.writeFileSync(tmpdir + '/main.js', 'beep(require("crypto"))\n');

if (!ArrayBuffer.isView) ArrayBuffer.isView = function () { return false; };

test('*-browserify libs from node_modules/', function (t) {
// `crypto-browserify` no longer works in node.js <4
test('*-browserify libs from node_modules/', { skip: semver.lt(process.version, 'v4.0.0') }, function (t) {
t.plan(2);

var bin = __dirname + '/../bin/cmd.js';
Expand Down
4 changes: 3 additions & 1 deletion test/crypto_ig.js
Expand Up @@ -4,6 +4,7 @@ var path = require('path');
var fs = require('fs');
var vm = require('vm');
var concat = require('concat-stream');
var semver = require('semver');

var temp = require('temp');
temp.track();
Expand All @@ -13,7 +14,8 @@ fs.writeFileSync(tmpdir + '/main.js', 'beep(require("crypto"))\n');

if (!ArrayBuffer.isView) ArrayBuffer.isView = function () { return false; };

test('crypto --insertGlobals', function (t) {
// `crypto-browserify` no longer works in node.js <4
test('crypto --insertGlobals', { skip: semver.lt(process.version, 'v4.0.0') }, function (t) {
t.plan(2);

var bin = __dirname + '/../bin/cmd.js';
Expand Down

0 comments on commit 984ffc6

Please sign in to comment.