Skip to content

Commit 0252029

Browse files
committed
Move URLs to HTTPS
1 parent dc7176e commit 0252029

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
],
1111
"repository": "syntax-tree/mdast-util-to-hast",
1212
"bugs": "https://github.com/syntax-tree/mdast-util-to-hast/issues",
13-
"author": "Titus Wormer <[email protected]> (http://wooorm.com)",
13+
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
1414
"contributors": [
15-
"Titus Wormer <[email protected]> (http://wooorm.com)"
15+
"Titus Wormer <[email protected]> (https://wooorm.com)"
1616
],
1717
"files": [
1818
"lib",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ repository, organisation, or community you agree to abide by its terms.
230230

231231
[license]: license
232232

233-
[author]: http://wooorm.com
233+
[author]: https://wooorm.com
234234

235235
[mdast]: https://github.com/syntax-tree/mdast
236236

test/definition.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test('Definition', function(t) {
88
t.equal(
99
to(
1010
u('definition', {
11-
url: 'http://uniform.whiskey',
11+
url: 'https://uniform.whiskey',
1212
identifier: 'x-ray',
1313
title: 'yankee'
1414
})
@@ -21,12 +21,12 @@ test('Definition', function(t) {
2121
to(
2222
u('paragraph', [
2323
u('linkReference', {identifier: 'alpha'}, [u('text', 'bravo')]),
24-
u('definition', {identifier: 'alpha', url: 'http://charlie.com'}),
25-
u('definition', {identifier: 'alpha', url: 'http://delta.com'})
24+
u('definition', {identifier: 'alpha', url: 'https://charlie.com'}),
25+
u('definition', {identifier: 'alpha', url: 'https://delta.com'})
2626
])
2727
),
2828
u('element', {tagName: 'p', properties: {}}, [
29-
u('element', {tagName: 'a', properties: {href: 'http://delta.com'}}, [
29+
u('element', {tagName: 'a', properties: {href: 'https://delta.com'}}, [
3030
u('text', 'bravo')
3131
])
3232
]),
@@ -37,13 +37,13 @@ test('Definition', function(t) {
3737
to(
3838
u('paragraph', [
3939
u('linkReference', {identifier: 'alpha'}, [u('text', 'bravo')]),
40-
u('definition', {identifier: 'alpha', url: 'http://charlie.com'}),
41-
u('definition', {identifier: 'alpha', url: 'http://delta.com'})
40+
u('definition', {identifier: 'alpha', url: 'https://charlie.com'}),
41+
u('definition', {identifier: 'alpha', url: 'https://delta.com'})
4242
]),
4343
{commonmark: true}
4444
),
4545
u('element', {tagName: 'p', properties: {}}, [
46-
u('element', {tagName: 'a', properties: {href: 'http://charlie.com'}}, [
46+
u('element', {tagName: 'a', properties: {href: 'https://charlie.com'}}, [
4747
u('text', 'bravo')
4848
])
4949
]),

test/image-reference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ test('ImageReference', function(t) {
4444
}),
4545
u('definition', {
4646
identifier: 'november',
47-
url: 'http://papa.québec/romeo',
47+
url: 'https://papa.québec/romeo',
4848
title: 'sierra'
4949
})
5050
])
@@ -55,7 +55,7 @@ test('ImageReference', function(t) {
5555
{
5656
tagName: 'img',
5757
properties: {
58-
src: 'http://papa.qu%C3%A9bec/romeo',
58+
src: 'https://papa.qu%C3%A9bec/romeo',
5959
alt: 'oscar',
6060
title: 'sierra'
6161
}

test/image.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test('Image', function(t) {
88
t.deepEqual(
99
to(
1010
u('image', {
11-
url: 'http://november.oscar',
11+
url: 'https://november.oscar',
1212
alt: 'papa',
1313
title: 'québec'
1414
})
@@ -18,7 +18,7 @@ test('Image', function(t) {
1818
{
1919
tagName: 'img',
2020
properties: {
21-
src: 'http://november.oscar',
21+
src: 'https://november.oscar',
2222
alt: 'papa',
2323
title: 'québec'
2424
}
@@ -31,7 +31,7 @@ test('Image', function(t) {
3131
t.deepEqual(
3232
to(
3333
u('image', {
34-
url: 'http://romeo.sierra',
34+
url: 'https://romeo.sierra',
3535
alt: 'tango'
3636
})
3737
),
@@ -40,7 +40,7 @@ test('Image', function(t) {
4040
{
4141
tagName: 'img',
4242
properties: {
43-
src: 'http://romeo.sierra',
43+
src: 'https://romeo.sierra',
4444
alt: 'tango'
4545
}
4646
},

test/link-reference.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test('LinkReference', function(t) {
5151
u('linkReference', {identifier: 'juliett'}, [u('text', 'kilo')]),
5252
u('definition', {
5353
identifier: 'juliett',
54-
url: 'http://kilo.lima/mike',
54+
url: 'https://kilo.lima/mike',
5555
title: 'november'
5656
})
5757
])
@@ -61,7 +61,7 @@ test('LinkReference', function(t) {
6161
'element',
6262
{
6363
tagName: 'a',
64-
properties: {href: 'http://kilo.lima/mike', title: 'november'}
64+
properties: {href: 'https://kilo.lima/mike', title: 'november'}
6565
},
6666
[u('text', 'kilo')]
6767
)

test/link.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test('Link', function(t) {
1010
u(
1111
'link',
1212
{
13-
url: 'http://golf.hotel',
13+
url: 'https://golf.hotel',
1414
title: 'India'
1515
},
1616
[u('text', 'juliett')]
@@ -21,7 +21,7 @@ test('Link', function(t) {
2121
{
2222
tagName: 'a',
2323
properties: {
24-
href: 'http://golf.hotel',
24+
href: 'https://golf.hotel',
2525
title: 'India'
2626
}
2727
},
@@ -35,7 +35,7 @@ test('Link', function(t) {
3535
u(
3636
'link',
3737
{
38-
url: 'http://kilo.lima'
38+
url: 'https://kilo.lima'
3939
},
4040
[u('text', 'mike')]
4141
)
@@ -45,7 +45,7 @@ test('Link', function(t) {
4545
{
4646
tagName: 'a',
4747
properties: {
48-
href: 'http://kilo.lima'
48+
href: 'https://kilo.lima'
4949
}
5050
},
5151
[u('text', 'mike')]

0 commit comments

Comments
 (0)