Skip to content

Commit 41f2549

Browse files
feat(module federation): add more edge cases for URL Dependencies support
1 parent 13f7db4 commit 41f2549

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/SharingUtil.unittest.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ describe("normalize dep version", () => {
1818
"git+ssh://git@github.com:npm/cli#semver:^5.0": "^5.0",
1919
"git://github.com/npm/cli.git#v1.0.27": "v1.0.27",
2020
"git+https://isaacs@github.com/npm/cli.git": "",
21+
"http://github.com/npm/cli.git#v1.0": "v1.0",
2122
"v1.2": "v1.2",
2223
"^1.2.0": "^1.2.0",
2324
"git://localhost:12345/foo/bar#v1.0": "v1.0",
2425
"localhost:foo/bar#v1.0": "v1.0"
2526
};
2627

27-
// TODO 增加 非 正常协议、非正常 domain 的case
28-
2928
const githubInvalid = [
3029
// foo/bar shorthand but specifying auth
3130
"user@foo/bar#v1.0",

0 commit comments

Comments
 (0)