diff --git a/README.md b/README.md
index 5ce483d8..5dac4140 100644
--- a/README.md
+++ b/README.md
@@ -277,9 +277,9 @@ const config = await loadConfig(configFile, cwd)
## Backers
-| [
](https://sheetjs.com/) | [
](http://fontello.com/) |
+| [
](https://sheetjs.com/) | [
](https://fontello.com/) |
|:-:|:-:|
-| [SheetJS LLC](https://sheetjs.com/) | [Fontello](http://fontello.com/) |
+| [SheetJS LLC](https://sheetjs.com/) | [Fontello](https://fontello.com/) |
## Donations
diff --git a/package.json b/package.json
index 4d846595..c0c0cff0 100644
--- a/package.json
+++ b/package.json
@@ -21,17 +21,17 @@
{
"name": "Sergey Belov",
"email": "peimei@ya.ru",
- "url": "http://github.com/arikon"
+ "url": "https://github.com/arikon"
},
{
"name": "Lev Solntsev",
"email": "lev.sun@ya.ru",
- "url": "http://github.com/GreLI"
+ "url": "https://github.com/GreLI"
},
{
"name": "Bogdan Chadkin",
"email": "trysound@yandex.ru",
- "url": "http://github.com/TrySound"
+ "url": "https://github.com/TrySound"
}
],
"repository": {
diff --git a/plugins/_collections.js b/plugins/_collections.js
index 8850e587..46837771 100644
--- a/plugins/_collections.js
+++ b/plugins/_collections.js
@@ -1,6 +1,6 @@
'use strict';
-// http://www.w3.org/TR/SVG11/intro.html#Definitions
+// https://www.w3.org/TR/SVG11/intro.html#Definitions
exports.elemsGroups = {
animation: ['animate', 'animateColor', 'animateMotion', 'animateTransform', 'set'],
descriptive: ['desc', 'metadata', 'title'],
@@ -19,7 +19,7 @@ exports.textElems = exports.elemsGroups.textContent.concat('title');
exports.pathElems = ['path', 'glyph', 'missing-glyph'];
-// http://www.w3.org/TR/SVG11/intro.html#Definitions
+// https://www.w3.org/TR/SVG11/intro.html#Definitions
exports.attrsGroups = {
animationAddition: ['additive', 'accumulate'],
animationAttributeTarget: ['attributeType', 'attributeName'],
@@ -158,7 +158,7 @@ exports.attrsGroupsDefaults = {
transferFunction: {slope: '1', intercept: '0', amplitude: '1', exponent: '1', offset: '0'}
};
-// http://www.w3.org/TR/SVG11/eltindex.html
+// https://www.w3.org/TR/SVG11/eltindex.html
exports.elems = {
a: {
attrsGroups: [
@@ -2269,7 +2269,7 @@ exports.elems = {
}
};
-// http://wiki.inkscape.org/wiki/index.php/Inkscape-specific_XML_attributes
+// https://wiki.inkscape.org/wiki/index.php/Inkscape-specific_XML_attributes
exports.editorNamespaces = [
'http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd',
'http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd',
@@ -2295,7 +2295,7 @@ exports.editorNamespaces = [
'http://www.vector.evaxdesign.sk'
];
-// http://www.w3.org/TR/SVG11/linking.html#processingIRI
+// https://www.w3.org/TR/SVG11/linking.html#processingIRI
exports.referencesProps = [
'clip-path',
'color-profile',
@@ -2309,7 +2309,7 @@ exports.referencesProps = [
'style'
];
-// http://www.w3.org/TR/SVG11/propidx.html
+// https://www.w3.org/TR/SVG11/propidx.html
exports.inheritableAttrs = [
'clip-rule',
'color',
@@ -2370,7 +2370,7 @@ exports.presentationNonInheritableGroupAttrs = [
'visibility'
];
-// http://www.w3.org/TR/SVG11/single-page.html#types-ColorKeywords
+// https://www.w3.org/TR/SVG11/single-page.html#types-ColorKeywords
exports.colorsNames = {
'aliceblue': '#f0f8ff',
'antiquewhite': '#faebd7',
@@ -2557,7 +2557,7 @@ exports.colorsShortNames = {
'#f5deb3': 'wheat'
};
-// http://www.w3.org/TR/SVG11/single-page.html#types-DataTypeColor
+// https://www.w3.org/TR/SVG11/single-page.html#types-DataTypeColor
exports.colorsProps = [
'color', 'fill', 'stroke', 'stop-color', 'flood-color', 'lighting-color'
];
diff --git a/plugins/_path.js b/plugins/_path.js
index d9f0c410..7a0cd5a2 100644
--- a/plugins/_path.js
+++ b/plugins/_path.js
@@ -75,7 +75,7 @@ exports.path2js = function(path) {
data = data.map(Number);
// Subsequent moveto pairs of coordinates are threated as implicit lineto commands
- // http://www.w3.org/TR/SVG11/paths.html#PathDataMovetoCommands
+ // https://www.w3.org/TR/SVG11/paths.html#PathDataMovetoCommands
if (instruction == 'M' || instruction == 'm') {
pathData.push({
instruction: pathData.length == 0 ? 'M' : instruction,
@@ -354,7 +354,7 @@ function transformPoint(matrix, x, y) {
/**
* Compute Cubic Bézie bounding box.
*
- * @see http://processingjs.nihongoresources.com/bezierinfo/
+ * @see https://pomax.github.io/bezierinfo/
*
* @param {Float} xa
* @param {Float} ya
@@ -461,7 +461,7 @@ function computeCubicFirstDerivativeRoots(a, b, c, d) {
/**
* Compute Quadratic Bézier bounding box.
*
- * @see http://processingjs.nihongoresources.com/bezierinfo/
+ * @see https://pomax.github.io/bezierinfo/
*
* @param {Float} xa
* @param {Float} ya
@@ -623,7 +623,7 @@ function set(dest, source) {
/**
* Checks if two paths have an intersection by checking convex hulls
* collision using Gilbert-Johnson-Keerthi distance algorithm
- * http://entropyinteractive.com/2011/04/gjk-algorithm/
+ * https://web.archive.org/web/20180822200027/http://entropyinteractive.com/2011/04/gjk-algorithm/
*
* @param {Array} path1 JS path representation
* @param {Array} path2 JS path representation
@@ -852,7 +852,7 @@ function gatherPoints(points, item, index, path) {
/**
* Forms a convex hull from set of points of every subpath using monotone chain convex hull algorithm.
- * http://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain
+ * https://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain
*
* @param points An array of [X, Y] coordinates
*/
@@ -914,7 +914,7 @@ function cross(o, a, b) {
function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {
// for more information of where this Math came from visit:
- // http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes
+ // https://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes
var _120 = Math.PI * 120 / 180,
rad = Math.PI / 180 * (+angle || 0),
res = [],
diff --git a/plugins/_transforms.js b/plugins/_transforms.js
index b050b65c..11c01982 100644
--- a/plugins/_transforms.js
+++ b/plugins/_transforms.js
@@ -115,7 +115,7 @@ var mth = exports.mth = {
/**
* Decompose matrix into simple transforms. See
- * http://frederic-wang.fr/decomposition-of-2d-transform-matrices.html
+ * https://frederic-wang.fr/decomposition-of-2d-transform-matrices.html
*
* @param {Object} data matrix transform object
* @return {Object|Array} transforms array or original transform object
diff --git a/plugins/cleanupEnableBackground.js b/plugins/cleanupEnableBackground.js
index 5ceb9517..579a1ab2 100644
--- a/plugins/cleanupEnableBackground.js
+++ b/plugins/cleanupEnableBackground.js
@@ -9,7 +9,7 @@ exports.description = 'remove or cleanup enable-background attribute when possib
/**
* Remove or cleanup enable-background attr which coincides with a width/height box.
*
- * @see http://www.w3.org/TR/SVG11/filters.html#EnableBackgroundProperty
+ * @see https://www.w3.org/TR/SVG11/filters.html#EnableBackgroundProperty
*
* @example
*