Skip to content

Commit 0750174

Browse files
committed
Use HTTPS URLs where possible
1 parent 86811a9 commit 0750174

File tree

4 files changed

+10
-20
lines changed

4 files changed

+10
-20
lines changed

LICENSE-MIT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright Mathias Bynens <http://mathiasbynens.be/>
1+
Copyright Mathias Bynens <https://mathiasbynens.be/>
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ require('String.prototype.codePointAt');
3434

3535
## Notes
3636

37-
[A polyfill + test suite for `String.fromCodePoint`](http://mths.be/fromcodepoint) is available, too.
37+
[A polyfill + test suite for `String.fromCodePoint`](https://mths.be/fromcodepoint) is available, too.
3838

3939
## Author
4040

4141
| [![twitter/mathias](https://gravatar.com/avatar/24e08a9ea84deb17ae121074d0f17125?s=70)](https://twitter.com/mathias "Follow @mathias on Twitter") |
4242
|---|
43-
| [Mathias Bynens](http://mathiasbynens.be/) |
43+
| [Mathias Bynens](https://mathiasbynens.be/) |
4444

4545
## License
4646

47-
This polyfill is available under the [MIT](http://mths.be/mit) license.
47+
This polyfill is available under the [MIT](https://mths.be/mit) license.

codepointat.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! http://mths.be/codepointat v0.2.0 by @mathias */
1+
/*! https://mths.be/codepointat v0.2.0 by @mathias */
22
if (!String.prototype.codePointAt) {
33
(function() {
44
'use strict'; // needed to support `apply`/`call` with `undefined`/`null`
@@ -35,7 +35,7 @@ if (!String.prototype.codePointAt) {
3535
) {
3636
second = string.charCodeAt(index + 1);
3737
if (second >= 0xDC00 && second <= 0xDFFF) { // low surrogate
38-
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
38+
// https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
3939
return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000;
4040
}
4141
}

package.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "string.prototype.codepointat",
33
"version": "0.2.0",
44
"description": "A robust & optimized `String.prototype.codePointAt` polyfill, based on the ECMAScript 6 specification.",
5-
"homepage": "http://mths.be/codepointat",
5+
"homepage": "https://mths.be/codepointat",
66
"main": "codepointat.js",
77
"keywords": [
88
"string",
@@ -11,30 +11,20 @@
1111
"ecmascript",
1212
"polyfill"
1313
],
14-
"licenses": [
15-
{
16-
"type": "MIT",
17-
"url": "http://mths.be/mit"
18-
}
19-
],
14+
"license": "MIT",
2015
"author": {
2116
"name": "Mathias Bynens",
22-
"url": "http://mathiasbynens.be/"
17+
"url": "https://mathiasbynens.be/"
2318
},
2419
"repository": {
2520
"type": "git",
2621
"url": "https://github.com/mathiasbynens/String.prototype.codePointAt.git"
2722
},
28-
"bugs": {
29-
"url": "https://github.com/mathiasbynens/String.prototype.codePointAt/issues"
30-
},
23+
"bugs": "https://github.com/mathiasbynens/String.prototype.codePointAt/issues",
3124
"files": [
3225
"LICENSE-MIT.txt",
3326
"codepointat.js"
3427
],
35-
"directories": {
36-
"test": "tests"
37-
},
3828
"scripts": {
3929
"test": "node tests/tests.js",
4030
"cover": "istanbul cover --report html --verbose --dir coverage tests/tests.js"

0 commit comments

Comments
 (0)