Skip to content

Commit 3c30b46

Browse files
committed
Rename files and mark as browser-incompatible
1 parent 711eca7 commit 3c30b46

4 files changed

Lines changed: 18 additions & 13 deletions

File tree

lib/node_modules/@stdlib/utils/parallel/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
// MODULES //
3939

40-
var parallel = require( './parallel.js' );
40+
var parallel = require( './main.js' );
4141

4242

4343
// EXPORTS //
File renamed without changes.

lib/node_modules/@stdlib/utils/parallel/package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,10 @@
7676
"node",
7777
"nodejs",
7878
"node.js"
79-
]
79+
],
80+
"__stdlib__": {
81+
"envs": {
82+
"browser": false
83+
}
84+
}
8085
}

lib/node_modules/@stdlib/utils/parallel/test/test.parallel.js renamed to lib/node_modules/@stdlib/utils/parallel/test/test.main.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var path = require( 'path' );
2424
var tape = require( 'tape' );
2525
var proxyquire = require( 'proxyquire' );
2626
var noop = require( '@stdlib/utils/noop' );
27-
var parallel = require( './../lib/parallel.js' );
27+
var parallel = require( './../lib/main.js' );
2828

2929

3030
// FIXTURES //
@@ -58,7 +58,7 @@ tape( 'the function throws an error if the first argument is not a string array'
5858
5,
5959
NaN,
6060
true,
61-
undefined,
61+
void 0,
6262
null,
6363
{},
6464
function noop() {},
@@ -87,7 +87,7 @@ tape( 'the function throws an error if the first argument is not a string array
8787
5,
8888
NaN,
8989
true,
90-
undefined,
90+
void 0,
9191
null,
9292
{},
9393
function noop() {},
@@ -116,7 +116,7 @@ tape( 'the function throws an error if the callback argument is not a function',
116116
5,
117117
NaN,
118118
true,
119-
undefined,
119+
void 0,
120120
null,
121121
{},
122122
[]
@@ -143,7 +143,7 @@ tape( 'the function throws an error if the callback argument is not a function (
143143
5,
144144
NaN,
145145
true,
146-
undefined,
146+
void 0,
147147
null,
148148
{},
149149
[]
@@ -170,7 +170,7 @@ tape( 'the function throws an error if the options argument is not an object', f
170170
5,
171171
NaN,
172172
true,
173-
undefined,
173+
void 0,
174174
null,
175175
[],
176176
function noop() {}
@@ -198,7 +198,7 @@ tape( 'the function throws an error if provided an invalid option', function tes
198198
3.14,
199199
NaN,
200200
true,
201-
undefined,
201+
void 0,
202202
null,
203203
[],
204204
{},
@@ -220,7 +220,7 @@ tape( 'the function throws an error if provided an invalid option', function tes
220220
});
221221

222222
tape( 'the function calls a provided callback after executing all scripts', function test( t ) {
223-
var parallel = proxyquire( './../lib/parallel.js', {
223+
var parallel = proxyquire( './../lib/main.js', {
224224
'./node': exec
225225
});
226226

@@ -241,7 +241,7 @@ tape( 'the function calls a provided callback after executing all scripts', func
241241
});
242242

243243
tape( 'the function returns an error to the provided callback if an error is encountered during script execution', function test( t ) {
244-
var parallel = proxyquire( './../lib/parallel.js', {
244+
var parallel = proxyquire( './../lib/main.js', {
245245
'./node': exec
246246
});
247247

@@ -270,7 +270,7 @@ tape( 'if the concurrency is greater than the number of files, the function sets
270270
opts = {
271271
'concurrency': f.length + 10
272272
};
273-
parallel = proxyquire( './../lib/parallel.js', {
273+
parallel = proxyquire( './../lib/main.js', {
274274
'./node': exec
275275
});
276276

@@ -292,7 +292,7 @@ tape( 'if the number of workers is greater than the concurrency, the function se
292292
'workers': 10,
293293
'concurrency': 2
294294
};
295-
parallel = proxyquire( './../lib/parallel.js', {
295+
parallel = proxyquire( './../lib/main.js', {
296296
'./node': exec
297297
});
298298

0 commit comments

Comments
 (0)