Skip to content

Commit 0d1d488

Browse files
committed
Rename files
1 parent 5eaf98b commit 0d1d488

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

lib/node_modules/@stdlib/process/cwd/benchmark/benchmark.browser.js renamed to lib/node_modules/@stdlib/process/cwd/benchmark/benchmark.polyfill.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
var bench = require( '@stdlib/bench' );
66
var isString = require( '@stdlib/assert/is-string' ).isPrimitive;
77
var pkg = require( './../package.json' ).name;
8-
var cwd = require( './../lib/browser.js' );
8+
var cwd = require( './../lib/polyfill.js' );
99

1010

1111
// MAIN //
1212

13-
bench( pkg+'::browser', function benchmark( b ) {
13+
bench( pkg+'::polyfill', function benchmark( b ) {
1414
var dir;
1515
var i;
1616

File renamed without changes.

lib/node_modules/@stdlib/process/cwd/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"cwd": "./bin/cli"
1818
},
1919
"main": "./lib",
20-
"browser": "./lib/browser.js",
20+
"browser": "./lib/polyfill.js",
2121
"directories": {
2222
"benchmark": "./benchmark",
2323
"bin": "./bin",

lib/node_modules/@stdlib/process/cwd/test/test.browser.js renamed to lib/node_modules/@stdlib/process/cwd/test/test.polyfill.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// MODULES //
44

55
var tape = require( 'tape' );
6-
var cwd = require( './../lib/browser.js' );
6+
var cwd = require( './../lib/polyfill.js' );
77

88

99
// TESTS //
@@ -15,7 +15,6 @@ tape( 'main export is a function', function test( t ) {
1515
});
1616

1717
tape( 'the function returns the current working directory', function test( t ) {
18-
// TODO: update if, and when, we actually have a browser implementation
1918
t.equal( cwd(), '/', 'returns current working directory' );
2019
t.end();
2120
});

0 commit comments

Comments
 (0)