Skip to content

Commit

Permalink
Merge pull request #1973 from browserify/browser-resolve-2
Browse files Browse the repository at this point in the history
update browser-resolve to v2
  • Loading branch information
goto-bus-stop committed Aug 3, 2020
2 parents da0f1e1 + fc324b5 commit 678d650
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -26,7 +26,7 @@
"JSONStream": "^1.0.3",
"assert": "^1.4.0",
"browser-pack": "^6.0.1",
"browser-resolve": "^1.11.0",
"browser-resolve": "^2.0.0",
"browserify-zlib": "~0.2.0",
"buffer": "~5.2.1",
"cached-path-relative": "^1.0.0",
Expand All @@ -47,7 +47,7 @@
"insert-module-globals": "^7.0.0",
"labeled-stream-splicer": "^2.0.0",
"mkdirp-classic": "^0.5.2",
"module-deps": "^6.0.0",
"module-deps": "^6.2.3",
"os-browserify": "~0.3.0",
"parents": "^1.0.1",
"path-browserify": "~0.0.0",
Expand Down
5 changes: 3 additions & 2 deletions test/shared_symlink.js
Expand Up @@ -9,8 +9,9 @@ test('shared symlink', { skip: process.platform === 'win32' }, function (t) {
var b = browserify(__dirname + '/shared_symlink/main.js');
b.bundle(function (err, src) {
// does the same thing as node: crashes
t.equal(err.message, "Cannot find module 'foo' from '"
+ __dirname + "/shared_symlink/shared'"
t.equal(err.message, "Can't walk dependency graph: Cannot find module 'foo' "
+ "from '" + __dirname + "/shared_symlink/shared/index.js'\n"
+ " required by " + __dirname + "/shared_symlink/shared/index.js"
);
});
});

0 comments on commit 678d650

Please sign in to comment.