initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

17
node_modules/url-parse-as-address/test/basic.js generated vendored Normal file
View File

@@ -0,0 +1,17 @@
var test = require('tap').test
var parse = require('../')
var tests = {
'x': 'http://x/',
'foo.com': 'http://foo.com/',
'a@b:123/c': 'http://a@b:123/c'
}
Object.keys(tests).forEach(function (c) {
test(c, function (t) {
t.equal(parse(c).href, tests[c])
t.equal(parse(tests[c]).href, tests[c])
t.equal(parse.format(c), tests[c])
t.end()
})
})