From 36ca9d9f9f8d568cf08320c89f72d17a751c0cb7 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Mon, 25 Feb 2019 20:52:24 +0100 Subject: [PATCH 01/10] =?UTF-8?q?Update=20mocha=20to=20the=20latest=20vers?= =?UTF-8?q?ion=20=F0=9F=9A=80=20(#1419)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(package): update mocha to version 6.0.2 * chore(package): update lockfile package-lock.json --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 06bb8e3f2..62b749341 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6514,9 +6514,9 @@ } }, "mocha": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-6.0.1.tgz", - "integrity": "sha512-tQzCxWqxSD6Oyg5r7Ptbev0yAMD8p+Vfh4snPFuiUsWqYj0eVYTDT2DkEY307FTj0WRlIWN9rWMMAUzRmijgVQ==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-6.0.2.tgz", + "integrity": "sha512-RtTJsmmToGyeTznSOMoM6TPEk1A84FQaHIciKrRqARZx+B5ccJ5tXlmJzEKGBxZdqk9UjpRsesZTUkZmR5YnuQ==", "dev": true, "requires": { "ansi-colors": "3.2.3", diff --git a/package.json b/package.json index f0c48faf0..8ed2adf22 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "karma-webpack": "3.0.5", "math-expression-evaluator": "1.2.17", "mkdirp": "0.5.1", - "mocha": "6.0.1", + "mocha": "6.0.2", "ndarray": "1.0.18", "ndarray-determinant": "1.0.0", "ndarray-gemm": "1.0.0", From 0c1ebaa6fc4eeea8a781c582b1e707a002952084 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Tue, 26 Feb 2019 01:02:00 +0000 Subject: [PATCH 02/10] =?UTF-8?q?Update=20babel7=20to=20the=20latest=20ver?= =?UTF-8?q?sion=20=F0=9F=9A=80=20(#1420)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(package): update @babel/core to version 7.3.4 * chore(package): update @babel/preset-env to version 7.3.4 * chore(package): update lockfile package-lock.json --- package-lock.json | 206 ++++++++++++++++++++++++++++++++++------------ package.json | 4 +- 2 files changed, 154 insertions(+), 56 deletions(-) diff --git a/package-lock.json b/package-lock.json index 62b749341..5eb3af94c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,18 +14,18 @@ } }, "@babel/core": { - "version": "7.3.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.3.3.tgz", - "integrity": "sha512-w445QGI2qd0E0GlSnq6huRZWPMmQGCp5gd5ZWS4hagn0EiwzxD5QMFkpchyusAyVC1n27OKXzQ0/88aVU9n4xQ==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.3.4.tgz", + "integrity": "sha512-jRsuseXBo9pN197KnDwhhaaBzyZr2oIcLHHTt2oDdQrej5Qp57dCCJafWx5ivU8/alEYDpssYqv1MUqcxwQlrA==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.3.3", + "@babel/generator": "^7.3.4", "@babel/helpers": "^7.2.0", - "@babel/parser": "^7.3.3", + "@babel/parser": "^7.3.4", "@babel/template": "^7.2.2", - "@babel/traverse": "^7.2.2", - "@babel/types": "^7.3.3", + "@babel/traverse": "^7.3.4", + "@babel/types": "^7.3.4", "convert-source-map": "^1.1.0", "debug": "^4.1.0", "json5": "^2.1.0", @@ -33,6 +33,55 @@ "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" + }, + "dependencies": { + "@babel/generator": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.3.4.tgz", + "integrity": "sha512-8EXhHRFqlVVWXPezBW5keTiQi/rJMQTg/Y9uVCEZ0CAF3PKtCCaVRnp64Ii1ujhkoDhhF1fVsImoN4yJ2uz4Wg==", + "dev": true, + "requires": { + "@babel/types": "^7.3.4", + "jsesc": "^2.5.1", + "lodash": "^4.17.11", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + } + }, + "@babel/parser": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.3.4.tgz", + "integrity": "sha512-tXZCqWtlOOP4wgCp6RjRvLmfuhnqTLy9VHwRochJBCP2nDm27JnnuFEnXFASVyQNHk36jD1tAammsCEEqgscIQ==", + "dev": true + }, + "@babel/traverse": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.3.4.tgz", + "integrity": "sha512-TvTHKp6471OYEcE/91uWmhR6PrrYywQntCHSaZ8CM8Vmp+pjAusal4nGB2WCCQd0rvI7nOMKn9GnbcvTUz3/ZQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/generator": "^7.3.4", + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-split-export-declaration": "^7.0.0", + "@babel/parser": "^7.3.4", + "@babel/types": "^7.3.4", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.11" + } + }, + "@babel/types": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.3.4.tgz", + "integrity": "sha512-WEkp8MsLftM7O/ty580wAmZzN1nDmCACc5+jFzUt+GUFNNIi3LdRlueYz0YIlmJhlZx1QYDMZL5vdWCL0fNjFQ==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.11", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/generator": { @@ -198,15 +247,64 @@ } }, "@babel/helper-replace-supers": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.2.3.tgz", - "integrity": "sha512-GyieIznGUfPXPWu0yLS6U55Mz67AZD9cUk0BfirOWlPrXlBcan9Gz+vHGz+cPfuoweZSnPzPIm67VtQM0OWZbA==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.3.4.tgz", + "integrity": "sha512-pvObL9WVf2ADs+ePg0jrqlhHoxRXlOa+SHRHzAXIz2xkYuOHfGl+fKxPMaS4Fq+uje8JQPobnertBBvyrWnQ1A==", "dev": true, "requires": { "@babel/helper-member-expression-to-functions": "^7.0.0", "@babel/helper-optimise-call-expression": "^7.0.0", - "@babel/traverse": "^7.2.3", - "@babel/types": "^7.0.0" + "@babel/traverse": "^7.3.4", + "@babel/types": "^7.3.4" + }, + "dependencies": { + "@babel/generator": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.3.4.tgz", + "integrity": "sha512-8EXhHRFqlVVWXPezBW5keTiQi/rJMQTg/Y9uVCEZ0CAF3PKtCCaVRnp64Ii1ujhkoDhhF1fVsImoN4yJ2uz4Wg==", + "dev": true, + "requires": { + "@babel/types": "^7.3.4", + "jsesc": "^2.5.1", + "lodash": "^4.17.11", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + } + }, + "@babel/parser": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.3.4.tgz", + "integrity": "sha512-tXZCqWtlOOP4wgCp6RjRvLmfuhnqTLy9VHwRochJBCP2nDm27JnnuFEnXFASVyQNHk36jD1tAammsCEEqgscIQ==", + "dev": true + }, + "@babel/traverse": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.3.4.tgz", + "integrity": "sha512-TvTHKp6471OYEcE/91uWmhR6PrrYywQntCHSaZ8CM8Vmp+pjAusal4nGB2WCCQd0rvI7nOMKn9GnbcvTUz3/ZQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/generator": "^7.3.4", + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-split-export-declaration": "^7.0.0", + "@babel/parser": "^7.3.4", + "@babel/types": "^7.3.4", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.11" + } + }, + "@babel/types": { + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.3.4.tgz", + "integrity": "sha512-WEkp8MsLftM7O/ty580wAmZzN1nDmCACc5+jFzUt+GUFNNIi3LdRlueYz0YIlmJhlZx1QYDMZL5vdWCL0fNjFQ==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.11", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/helper-simple-access": { @@ -290,9 +388,9 @@ } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz", - "integrity": "sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.4.tgz", + "integrity": "sha512-j7VQmbbkA+qrzNqbKHrBsW3ddFnOeva6wzSe/zB7T+xaxGc+RCpwo44wCmRixAIGRoIpmVgvzFzNJqQcO3/9RA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -366,9 +464,9 @@ } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.2.0.tgz", - "integrity": "sha512-CEHzg4g5UraReozI9D4fblBYABs7IM6UerAVG7EJVrTLC5keh00aEuLUT+O40+mJCEzaXkYfTCUKIyeDfMOFFQ==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.3.4.tgz", + "integrity": "sha512-Y7nCzv2fw/jEZ9f678MuKdMo99MFDJMT/PvD9LisrR5JDFcJH6vYeH6RnjVt3p5tceyGRvTtEN0VOlU+rgHZjA==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.0.0", @@ -386,19 +484,19 @@ } }, "@babel/plugin-transform-block-scoping": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.2.0.tgz", - "integrity": "sha512-vDTgf19ZEV6mx35yiPJe4fS02mPQUUcBNwWQSZFXSzTSbsJFQvHt7DqyS3LK8oOWALFOsJ+8bbqBgkirZteD5Q==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.3.4.tgz", + "integrity": "sha512-blRr2O8IOZLAOJklXLV4WhcEzpYafYQKSGT3+R26lWG41u/FODJuBggehtOwilVAcFu393v3OFj+HmaE6tVjhA==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", - "lodash": "^4.17.10" + "lodash": "^4.17.11" } }, "@babel/plugin-transform-classes": { - "version": "7.3.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.3.3.tgz", - "integrity": "sha512-n0CLbsg7KOXsMF4tSTLCApNMoXk0wOPb0DYfsOO1e7SfIb9gOyfbpKI2MZ+AXfqvlfzq2qsflJ1nEns48Caf2w==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.3.4.tgz", + "integrity": "sha512-J9fAvCFBkXEvBimgYxCjvaVDzL6thk0j0dBvCeZmIUDBwyt+nv6HfbImsSrWsYXfDNDivyANgJlFXDUWRTZBuA==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.0.0", @@ -406,7 +504,7 @@ "@babel/helper-function-name": "^7.1.0", "@babel/helper-optimise-call-expression": "^7.0.0", "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.1.0", + "@babel/helper-replace-supers": "^7.3.4", "@babel/helper-split-export-declaration": "^7.0.0", "globals": "^11.1.0" } @@ -509,9 +607,9 @@ } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.2.0.tgz", - "integrity": "sha512-aYJwpAhoK9a+1+O625WIjvMY11wkB/ok0WClVwmeo3mCjcNRjt+/8gHWrB5i+00mUju0gWsBkQnPpdvQ7PImmQ==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.3.4.tgz", + "integrity": "sha512-VZ4+jlGOF36S7TjKs8g4ojp4MEI+ebCQZdswWb/T9I4X84j8OtFAyjXjt/M16iIm5RIZn0UMQgg/VgIwo/87vw==", "dev": true, "requires": { "@babel/helper-hoist-variables": "^7.0.0", @@ -577,12 +675,12 @@ } }, "@babel/plugin-transform-regenerator": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.0.0.tgz", - "integrity": "sha512-sj2qzsEx8KDVv1QuJc/dEfilkg3RRPvPYx/VnKLtItVQRWt1Wqf5eVCOLZm29CiGFfYYsA3VPjfizTCV0S0Dlw==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.3.4.tgz", + "integrity": "sha512-hvJg8EReQvXT6G9H2MvNPXkv9zK36Vxa1+csAVTpE1J3j0zlHplw76uudEbJxgvqZzAq9Yh45FLD4pk5mKRFQA==", "dev": true, "requires": { - "regenerator-transform": "^0.13.3" + "regenerator-transform": "^0.13.4" } }, "@babel/plugin-transform-shorthand-properties": { @@ -644,16 +742,16 @@ } }, "@babel/preset-env": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.3.1.tgz", - "integrity": "sha512-FHKrD6Dxf30e8xgHQO0zJZpUPfVZg+Xwgz5/RdSWCbza9QLNk4Qbp40ctRoqDxml3O8RMzB1DU55SXeDG6PqHQ==", + "version": "7.3.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.3.4.tgz", + "integrity": "sha512-2mwqfYMK8weA0g0uBKOt4FE3iEodiHy9/CW0b+nWXcbL+pGzLx8ESYc+j9IIxr6LTDHWKgPm71i9smo02bw+gA==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.0.0", "@babel/helper-plugin-utils": "^7.0.0", "@babel/plugin-proposal-async-generator-functions": "^7.2.0", "@babel/plugin-proposal-json-strings": "^7.2.0", - "@babel/plugin-proposal-object-rest-spread": "^7.3.1", + "@babel/plugin-proposal-object-rest-spread": "^7.3.4", "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", "@babel/plugin-proposal-unicode-property-regex": "^7.2.0", "@babel/plugin-syntax-async-generators": "^7.2.0", @@ -661,10 +759,10 @@ "@babel/plugin-syntax-object-rest-spread": "^7.2.0", "@babel/plugin-syntax-optional-catch-binding": "^7.2.0", "@babel/plugin-transform-arrow-functions": "^7.2.0", - "@babel/plugin-transform-async-to-generator": "^7.2.0", + "@babel/plugin-transform-async-to-generator": "^7.3.4", "@babel/plugin-transform-block-scoped-functions": "^7.2.0", - "@babel/plugin-transform-block-scoping": "^7.2.0", - "@babel/plugin-transform-classes": "^7.2.0", + "@babel/plugin-transform-block-scoping": "^7.3.4", + "@babel/plugin-transform-classes": "^7.3.4", "@babel/plugin-transform-computed-properties": "^7.2.0", "@babel/plugin-transform-destructuring": "^7.2.0", "@babel/plugin-transform-dotall-regex": "^7.2.0", @@ -675,13 +773,13 @@ "@babel/plugin-transform-literals": "^7.2.0", "@babel/plugin-transform-modules-amd": "^7.2.0", "@babel/plugin-transform-modules-commonjs": "^7.2.0", - "@babel/plugin-transform-modules-systemjs": "^7.2.0", + "@babel/plugin-transform-modules-systemjs": "^7.3.4", "@babel/plugin-transform-modules-umd": "^7.2.0", "@babel/plugin-transform-named-capturing-groups-regex": "^7.3.0", "@babel/plugin-transform-new-target": "^7.0.0", "@babel/plugin-transform-object-super": "^7.2.0", "@babel/plugin-transform-parameters": "^7.2.0", - "@babel/plugin-transform-regenerator": "^7.0.0", + "@babel/plugin-transform-regenerator": "^7.3.4", "@babel/plugin-transform-shorthand-properties": "^7.2.0", "@babel/plugin-transform-spread": "^7.2.0", "@babel/plugin-transform-sticky-regex": "^7.2.0", @@ -1805,14 +1903,14 @@ } }, "browserslist": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.4.1.tgz", - "integrity": "sha512-pEBxEXg7JwaakBXjATYw/D1YZh4QUSCX/Mnd/wnqSRPPSi1U39iDhDoKGoBUcraKdxDlrYqJxSI5nNvD+dWP2A==", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.4.2.tgz", + "integrity": "sha512-ISS/AIAiHERJ3d45Fz0AVYKkgcy+F/eJHzKEvv1j0wwKGKD9T3BrwKr/5g45L+Y4XIK5PlTqefHciRFcfE1Jxg==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30000929", - "electron-to-chromium": "^1.3.103", - "node-releases": "^1.1.3" + "caniuse-lite": "^1.0.30000939", + "electron-to-chromium": "^1.3.113", + "node-releases": "^1.1.8" } }, "browserstack": { @@ -1999,9 +2097,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30000938", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000938.tgz", - "integrity": "sha512-ekW8NQ3/FvokviDxhdKLZZAx7PptXNwxKgXtnR5y+PR3hckwuP3yJ1Ir+4/c97dsHNqtAyfKUGdw8P4EYzBNgw==", + "version": "1.0.30000939", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000939.tgz", + "integrity": "sha512-oXB23ImDJOgQpGjRv1tCtzAvJr4/OvrHi5SO2vUgB0g0xpdZZoA/BxfImiWfdwoYdUTtQrPsXsvYU/dmCSM8gg==", "dev": true }, "chainsaw": { @@ -8929,9 +9027,9 @@ "dev": true }, "regenerator-transform": { - "version": "0.13.3", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.3.tgz", - "integrity": "sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA==", + "version": "0.13.4", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.4.tgz", + "integrity": "sha512-T0QMBjK3J0MtxjPmdIMXm72Wvj2Abb0Bd4HADdfijwMdoIsyQZ6fWC7kDFhk2YinBBEMZDL7Y7wh0J1sGx3S4A==", "dev": true, "requires": { "private": "^0.1.6" diff --git a/package.json b/package.json index 8ed2adf22..12c5c3b6e 100644 --- a/package.json +++ b/package.json @@ -119,9 +119,9 @@ "typed-function": "1.1.0" }, "devDependencies": { - "@babel/core": "7.3.3", + "@babel/core": "7.3.4", "@babel/plugin-transform-object-assign": "7.2.0", - "@babel/preset-env": "7.3.1", + "@babel/preset-env": "7.3.4", "@babel/register": "7.0.0", "babel-loader": "8.0.5", "benchmark": "2.1.4", From 1369aa605d501ed6430643362d99e6a3cd790e29 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Wed, 27 Feb 2019 08:52:03 +0100 Subject: [PATCH 03/10] =?UTF-8?q?Update=20decimal.js=20to=20the=20latest?= =?UTF-8?q?=20version=20=F0=9F=9A=80=20(#1421)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(package): update decimal.js to version 10.1.0 * chore(package): update lockfile package-lock.json --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5eb3af94c..e8c9a2af1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2663,9 +2663,9 @@ "dev": true }, "decimal.js": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.0.2.tgz", - "integrity": "sha512-qL5tUTXAWjB5cSBfm0V2a4jO5FaDLumCfwc/0f7WaTOT3WU8pIeq2HHrd98eXHtbey4qFWlaPzfml1JWIoO9TQ==" + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.1.0.tgz", + "integrity": "sha512-hLUDfcpdhGv/A/q64pxkk7XQh5PCAXnv1/KxFFA6g6TdX5q6f1/z8qeFcBH87v8gWCnGgZfHKX+wYUrlD9WHng==" }, "decode-uri-component": { "version": "0.2.0", diff --git a/package.json b/package.json index 12c5c3b6e..738b8627f 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ ], "dependencies": { "complex.js": "2.0.11", - "decimal.js": "10.0.2", + "decimal.js": "10.1.0", "escape-latex": "1.2.0", "fraction.js": "4.0.12", "javascript-natural-sort": "0.7.1", From b0ef7d4135652c62aab30731595ba0a5b3373385 Mon Sep 17 00:00:00 2001 From: jos Date: Wed, 27 Feb 2019 08:53:36 +0100 Subject: [PATCH 04/10] Describe upgrade of decimal.js in history --- HISTORY.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 19a5d18e2..1c7f52620 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,10 @@ # History +# Not yet published, version 5.6.0 + +- Upgrade decimal.js to v10.1.0 (#1421). + + # 2019-02-20, version 5.5.0 - Fixed #1401: methods `map` and `forEach` of `SparseMatrix` not working From 70cbc3ec301cf6ebf9f1ee12e372618613dfc47b Mon Sep 17 00:00:00 2001 From: jos Date: Wed, 27 Feb 2019 13:08:42 +0100 Subject: [PATCH 05/10] Replace http urls with https where supported --- CONTRIBUTING.md | 8 +++--- LICENSE | 2 +- NOTICE | 2 +- README.md | 20 +++++++------- bin/cli.js | 4 +-- composer.json | 4 +-- docs/core/extension.md | 2 +- docs/datatypes/units.md | 26 +++++++++---------- docs/expressions/algebra.md | 4 +-- docs/expressions/expression_trees.md | 2 +- docs/expressions/parsing.md | 2 +- docs/getting_started.md | 12 ++++----- docs/index.md | 6 ++--- docs/reference/classes.md | 2 +- docs/reference/functions/derivative.md | 2 +- docs/reference/functions/erf.md | 2 +- docs/reference/functions/eval.md | 2 +- docs/reference/functions/mod.md | 2 +- docs/reference/functions/parse.md | 2 +- docs/reference/functions/simplify.md | 2 +- docs/reference/functions/xgcd.md | 2 +- examples/browser/currency_conversion.html | 6 ++--- .../browser/pretty_printing_with_mathjax.html | 2 +- examples/browser/webworkers/webworkers.html | 2 +- examples/import.js | 2 +- package.json | 2 +- src/expression/function/eval.js | 2 +- src/expression/function/parse.js | 2 +- src/expression/parse.js | 6 ++--- src/function/algebra/derivative.js | 2 +- src/function/algebra/simplify.js | 2 +- src/function/algebra/sparse/csAmd.js | 2 -- src/function/arithmetic/cbrt.js | 2 +- src/function/arithmetic/divide.js | 6 ++--- src/function/arithmetic/gcd.js | 4 +-- src/function/arithmetic/lcm.js | 4 +-- src/function/arithmetic/mod.js | 4 +-- src/function/arithmetic/nthRoot.js | 4 +-- src/function/arithmetic/xgcd.js | 6 ++--- src/function/matrix/inv.js | 2 +- src/function/matrix/partitionSelect.js | 2 +- src/function/probability/distribution.js | 2 +- src/function/special/erf.js | 2 +- src/header.js | 2 +- src/type/unit/physicalConstants.js | 2 +- test/expression/parse.test.js | 2 +- test/pi_bailey-borwein-plouffe.html | 2 +- tools/matrixmarket.js | 2 +- 48 files changed, 93 insertions(+), 95 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4c468dee3..4478db6a3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ ideas and suggestions, and contribute to the code. There are a few preferences regarding code contributions: -- The code of math.js follows the JavaScript Standard Style as described on http://standardjs.com/. +- The code of math.js follows the JavaScript Standard Style as described on https://standardjs.com/. - Make sure you properly unit test your changes. - Before creating a pull request, run the unit tests to make sure they all pass. - Only commit changes done in the source files under `src`, not to the generated builds @@ -15,9 +15,9 @@ There are a few preferences regarding code contributions: What can I do? -- Search through the [issues](https://github.com/josdejong/mathjs/issues) looking - for something that looks interesting to you to pick up. Some issues are marked - ["help wanted"](https://github.com/josdejong/mathjs/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22), +- Search through the [issues](https://github.com/josdejong/mathjs/issues) looking + for something that looks interesting to you to pick up. Some issues are marked + ["help wanted"](https://github.com/josdejong/mathjs/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22), these are typically issues which should be relatively easy to pick up. Thanks! diff --git a/LICENSE b/LICENSE index ea2712c09..9cf8c11d8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION diff --git a/NOTICE b/NOTICE index 1d7847ad9..b054d04c7 100644 --- a/NOTICE +++ b/NOTICE @@ -7,7 +7,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/README.md b/README.md index 7a03e2546..28ec895d6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![math.js](https://raw.github.com/josdejong/mathjs/master/img/mathjs.png) -[http://mathjs.org](http://mathjs.org) +[https://mathjs.org](https://mathjs.org) Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices. Powerful and easy to use. @@ -37,13 +37,13 @@ Install math.js using [npm](https://www.npmjs.com/package/mathjs): Or download mathjs via one of the CDN's listed on the downloads page: -    [http://mathjs.org/download.html](http://mathjs.org/download.html#download) +    [https://mathjs.org/download.html](https://mathjs.org/download.html#download) Math.js can be used similar to JavaScript's built-in Math library. Besides that, math.js can evaluate -[expressions](http://mathjs.org/docs/expressions/index.html) +[expressions](https://mathjs.org/docs/expressions/index.html) and supports -[chained operations](http://mathjs.org/docs/core/chaining.html). +[chained operations](https://mathjs.org/docs/core/chaining.html). ```js // load math.js @@ -71,7 +71,7 @@ math.chain(3) .done() // 14 ``` -See the [Getting Started](http://mathjs.org/docs/getting_started.html) for a more detailed tutorial. +See the [Getting Started](https://mathjs.org/docs/getting_started.html) for a more detailed tutorial. ## Browser support @@ -84,10 +84,10 @@ when using the [es5-shim](https://github.com/kriskowal/es5-shim). ## Documentation -- [Getting Started](http://mathjs.org/docs/getting_started.html) -- [Examples](http://mathjs.org/examples/index.html) -- [Overview](http://mathjs.org/docs/index.html) -- [History](http://mathjs.org/history.html) +- [Getting Started](https://mathjs.org/docs/getting_started.html) +- [Examples](https://mathjs.org/examples/index.html) +- [Overview](https://mathjs.org/docs/index.html) +- [History](https://mathjs.org/history.html) ## Build @@ -154,7 +154,7 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - http://www.apache.org/licenses/LICENSE-2.0 + https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, diff --git a/bin/cli.js b/bin/cli.js index d1e02965e..80736fdbf 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -36,7 +36,7 @@ * use this file except in compliance with the License. You may obtain a copy * of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT @@ -323,7 +323,7 @@ function outputVersion () { */ function outputHelp () { console.log('math.js') - console.log('http://mathjs.org') + console.log('https://mathjs.org') console.log() console.log('Math.js is an extensive math library for JavaScript and Node.js. It features ') console.log('real and complex numbers, units, matrices, a large set of mathematical') diff --git a/composer.json b/composer.json index ebac137bb..b30a11cbb 100644 --- a/composer.json +++ b/composer.json @@ -2,12 +2,12 @@ "name": "components/mathjs", "description": "Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices.", "type": "component", - "homepage": "http://mathjs.org", + "homepage": "https://mathjs.org", "license": "Apache-2.0", "support": { "issues": "https://github.com/josdejong/mathjs/issues", "source": "https://github.com/josdejong/mathjs/", - "docs": "http://mathjs.org/docs" + "docs": "https://mathjs.org/docs" }, "authors": [ { diff --git a/docs/core/extension.md b/docs/core/extension.md index 7ca77e98c..cd649a873 100644 --- a/docs/core/extension.md +++ b/docs/core/extension.md @@ -56,7 +56,7 @@ parser.eval('hello("user")') // 'hello, user!' External libraries like [numbers.js](https://github.com/sjkaliski/numbers.js) and -[numeric.js](http://numericjs.com/) can be imported as follows. +[numeric.js](https://github.com/sloisel/numeric) can be imported as follows. The libraries must be installed using npm: $ npm install numbers diff --git a/docs/datatypes/units.md b/docs/datatypes/units.md index cf09c9b01..b9e77e2c7 100644 --- a/docs/datatypes/units.md +++ b/docs/datatypes/units.md @@ -72,7 +72,7 @@ math.cos(c) // Number 0.7071067811865476 // Kinetic energy of average sedan on highway const d = math.unit('80 mi/h') // Unit 80 mi/h const e = math.unit('2 tonne') // Unit 2 tonne -const f = math.multiply(0.5, math.multipy(math.pow(d, 2), e)) +const f = math.multiply(0.5, math.multipy(math.pow(d, 2), e)) // 1.2790064742399996 MJ ``` @@ -111,7 +111,7 @@ units on the page [Syntax](../expressions/syntax.md#units). You can add your own units to Math.js using the `math.createUnit` function. The following example defines a new unit `furlong`, then uses the user-defined unit in a calculation: ```js -math.createUnit('furlong', '220 yards') +math.createUnit('furlong', '220 yards') math.eval('1 mile to furlong') // 8 furlong ``` @@ -119,7 +119,7 @@ If you cannot express the new unit in terms of any existing unit, then the secon ```js // A 'foo' cannot be expressed in terms of any other unit. -math.createUnit('foo') +math.createUnit('foo') math.eval('8 foo * 4 feet') // 32 foo feet ``` @@ -217,7 +217,7 @@ The type of the returned value is always `number`. ### unit.toNumeric(unitName) Get the value of a unit when converted to the specified unit (a unit with optional prefix but without value). -The type of the returned value depends on how the unit was created and +The type of the returned value depends on how the unit was created and can be `number`, `Fraction`, or `BigNumber`. ### unit.toSI() @@ -241,7 +241,7 @@ Length | meter (m), inch (in), foot (ft), yard (yd), mile (mi), lin Surface area | m2, sqin, sqft, sqyd, sqmi, sqrd, sqch, sqmil, acre, hectare Volume | m3, litre (l, L, lt, liter), cc, cuin, cuft, cuyd, teaspoon, tablespoon Liquid volume | minim (min), fluiddram (fldr), fluidounce (floz), gill (gi), cup (cp), pint (pt), quart (qt), gallon (gal), beerbarrel (bbl), oilbarrel (obl), hogshead, drop (gtt) -Angles | rad (radian), deg (degree), grad (gradian), cycle, arcsec (arcsecond), arcmin (arcminute) +Angles | rad (radian), deg (degree), grad (gradian), cycle, arcsec (arcsecond), arcmin (arcminute) Time | second (s, secs, seconds), minute (mins, minutes), hour (h, hr, hrs, hours), day (days), week (weeks), month (months), year (years), decade (decades), century (centuries), millennium (millennia) Frequency | hertz (Hz) Mass | gram(g), tonne, ton, grain (gr), dram (dr), ounce (oz), poundmass (lbm, lb, lbs), hundredweight (cwt), stick, stone @@ -258,7 +258,7 @@ Binary | bit (b), byte (B) Note: all time units are based on the Julian year, with one month being 1/12th of a Julian year, a year being one Julian year, a decade being 10 Julian years, a century being 100, and a millennium being 1000. -Note that all relevant units can also be written in plural form, for example `5 meters` instead of `5 meter` or `10 seconds` instead of `10 second`. +Note that all relevant units can also be written in plural form, for example `5 meters` instead of `5 meter` or `10 seconds` instead of `10 second`. Surface and volume units can alternatively be expressed in terms of length units raised to a power, for example `100 in^2` instead of `100 sqin`. @@ -320,7 +320,7 @@ yotta | Y | 1e24 ### Physical Constants -Math.js includes the following physical constants. See [Wikipedia](http://en.wikipedia.org/wiki/Physical_constants) for more information. +Math.js includes the following physical constants. See [Wikipedia](https://en.wikipedia.org/wiki/Physical_constants) for more information. #### Universal constants @@ -330,7 +330,7 @@ Name | Symbol | speedOfLight | c | 299792458 | m · s-1 gravitationConstant | G | 6.6738480e-11 | m3 · kg-1 · s-2 planckConstant | h | 6.626069311e-34 | J · s -reducedPlanckConstant | h | 1.05457172647e-34 | J · s +reducedPlanckConstant | h | 1.05457172647e-34 | J · s #### Electromagnetic constants @@ -350,7 +350,7 @@ nuclearMagneton | μN | 5 klitzing | RK | 25812.807443484 | Ω @@ -392,11 +392,11 @@ secondRadiation | c2 | 1.438777013e-2 | m  stefanBoltzmann | σ | 5.67037321e-8 | W · m-2 · K-4 wienDisplacement | b | 2.897772126e-3 | m · K - -Note that the values of `loschmidt` and `molarVolume` are at `T = 273.15 K` and `p = 101.325 kPa`. +Note that the values of `loschmidt` and `molarVolume` are at `T = 273.15 K` and `p = 101.325 kPa`. The value of `sackurTetrode` is at `T = 1 K` and `p = 101.325 kPa`. @@ -415,7 +415,7 @@ atm | atm | 101325 | Pa Name | Symbol | Value | Unit ------------------|-----------------------|--------------------|----- planckLength | lP | 1.61619997e-35 | m -planckMass | mP | 2.1765113e-8 | kg +planckMass | mP | 2.1765113e-8 | kg planckTime | tP | 5.3910632e-44 | s planckCharge | qP | 1.87554595641e-18 | C -planckTemperature | TP | 1.41683385e+32 | K +planckTemperature | TP | 1.41683385e+32 | K diff --git a/docs/expressions/algebra.md b/docs/expressions/algebra.md index a76a11d4f..c6e2bf064 100644 --- a/docs/expressions/algebra.md +++ b/docs/expressions/algebra.md @@ -29,7 +29,7 @@ console.log(simplified.eval({x: 4})) // 12 For more details on the theory of expression simplification, see: -- [Strategies for simplifying math expressions (Stackoverflow)](http://stackoverflow.com/questions/7540227/strategies-for-simplifying-math-expressions) +- [Strategies for simplifying math expressions (Stackoverflow)](https://stackoverflow.com/questions/7540227/strategies-for-simplifying-math-expressions) - [Symbolic computation - Simplification (Wikipedia)](https://en.wikipedia.org/wiki/Symbolic_computation#Simplification) @@ -56,7 +56,7 @@ console.log(dh.eval({x: 3})) // '7' The rules used by `math.derivative` can be found on Wikipedia: -- [Differentiation rules (Wikipedia)](http://en.wikipedia.org/wiki/Differentiation_rules) +- [Differentiation rules (Wikipedia)](https://en.wikipedia.org/wiki/Differentiation_rules) ## Rationalize diff --git a/docs/expressions/expression_trees.md b/docs/expressions/expression_trees.md index ce4a91b6c..a62a9ee0b 100644 --- a/docs/expressions/expression_trees.md +++ b/docs/expressions/expression_trees.md @@ -168,7 +168,7 @@ All nodes have the following methods: - `toTex(options: object): string` - Get a [LaTeX](http://en.wikipedia.org/wiki/LaTeX) representation of the + Get a [LaTeX](https://en.wikipedia.org/wiki/LaTeX) representation of the expression. Example: ```js diff --git a/docs/expressions/parsing.md b/docs/expressions/parsing.md index 0d0c88d61..15a1f8df8 100644 --- a/docs/expressions/parsing.md +++ b/docs/expressions/parsing.md @@ -134,7 +134,7 @@ code2.eval(scope) // 27 Parsed expressions can be exported to text using `node.toString()`, and can be exported to LaTeX using `node.toTex()`. The LaTeX export can be used to pretty print an expression in the browser with a library like -[MathJax](http://www.mathjax.org/). Example usage: +[MathJax](https://www.mathjax.org/). Example usage: ```js // parse an expression diff --git a/docs/getting_started.md b/docs/getting_started.md index 799797786..c11838873 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -5,13 +5,13 @@ This getting started describes how to install, load, and use math.js. ## Install -Math.js can be installed using various package managers like [npm](https://npmjs.org/), or by just downloading the library from the website: [http://mathjs.org/download.html](http://mathjs.org/download.html). +Math.js can be installed using various package managers like [npm](https://npmjs.org/), or by just downloading the library from the website: [https://mathjs.org/download.html](https://mathjs.org/download.html). To install via npm, run: npm install mathjs -Other ways to install math.js are described on the [website](http://mathjs.org/download.html). +Other ways to install math.js are described on the [website](https://mathjs.org/download.html). ## Load @@ -35,7 +35,7 @@ math.sqrt(-4) // 2i ### Node.js -Load math.js in [node.js](http://nodejs.org/): +Load math.js in [node.js](https://nodejs.org/): ```js // load math.js @@ -73,7 +73,7 @@ as well. ### Require.js -Load math.js in the browser using [require.js](http://requirejs.org/): +Load math.js in the browser using [require.js](https://requirejs.org/): ```js require.config({ @@ -94,7 +94,7 @@ math.js can evaluate expressions (see [Expressions](expressions/index.md)) and supports chaining (see [Chaining](core/chaining.md)). The example code below shows how to use math.js. More examples can be found in the -section [Examples](http://mathjs.org/examples/index.html). +section [Examples](https://mathjs.org/examples/index.html). ```js // functions and constants @@ -123,4 +123,4 @@ math.chain(3) To learn more about math.js, check out the available documentation and examples: - [Documentation](index.md) -- [Examples](http://mathjs.org/examples/index.html) +- [Examples](https://mathjs.org/examples/index.html) diff --git a/docs/index.md b/docs/index.md index 86239a441..f3e77f96e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,13 +1,13 @@ # Documentation -[Math.js](http://mathjs.org) is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices. +[Math.js](https://mathjs.org) is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with different data types like numbers, big numbers, complex numbers, fractions, units, and matrices. -Math.js can be used in the browser, in node.js and in any JavaScript engine. Installation and download instructions are available on the [Download page](http://mathjs.org/download.html) of the website. +Math.js can be used in the browser, in node.js and in any JavaScript engine. Installation and download instructions are available on the [Download page](https://mathjs.org/download.html) of the website. ## Getting Started - [Getting Started](getting_started.md) -- [Examples](http://mathjs.org/examples/index.html) +- [Examples](//mathjs.org/examples/index.html) ## Documentation diff --git a/docs/reference/classes.md b/docs/reference/classes.md index 68ea34126..36f2851d2 100644 --- a/docs/reference/classes.md +++ b/docs/reference/classes.md @@ -31,7 +31,7 @@ Stores values for a fractional number. Stores values for a arbitrary-precision floating point number. - [Overview](../datatypes/bignumbers.md) -- [Class API](http://mikemcl.github.io/decimal.js/) +- [Class API](https://mikemcl.github.io/decimal.js/) ## Matrix diff --git a/docs/reference/functions/derivative.md b/docs/reference/functions/derivative.md index 3552e1f26..48997c8fe 100644 --- a/docs/reference/functions/derivative.md +++ b/docs/reference/functions/derivative.md @@ -9,7 +9,7 @@ it will return a partial derivative. This uses rules of differentiation which can be found here: -- [Differentiation rules (Wikipedia)](http://en.wikipedia.org/wiki/Differentiation_rules) +- [Differentiation rules (Wikipedia)](https://en.wikipedia.org/wiki/Differentiation_rules) ## Syntax diff --git a/docs/reference/functions/erf.md b/docs/reference/functions/erf.md index bd001e337..70c1dcc4e 100644 --- a/docs/reference/functions/erf.md +++ b/docs/reference/functions/erf.md @@ -6,7 +6,7 @@ Compute the erf function of a value using a rational Chebyshev approximations for different intervals of x. This is a translation of W. J. Cody's Fortran implementation from 1987 -( http://www.netlib.org/specfun/erf ). See the AMS publication +( https://www.netlib.org/specfun/erf ). See the AMS publication "Rational Chebyshev Approximations for the Error Function" by W. J. Cody for an explanation of this process. diff --git a/docs/reference/functions/eval.md b/docs/reference/functions/eval.md index cbc6ea26d..503d4f8d9 100644 --- a/docs/reference/functions/eval.md +++ b/docs/reference/functions/eval.md @@ -5,7 +5,7 @@ Evaluate an expression. Note the evaluating arbitrary expressions may involve security risks, -see [http://mathjs.org/docs/expressions/security.html](http://mathjs.org/docs/expressions/security.html) for more information. +see [https://mathjs.org/docs/expressions/security.html](https://mathjs.org/docs/expressions/security.html) for more information. ## Syntax diff --git a/docs/reference/functions/mod.md b/docs/reference/functions/mod.md index 33a8bb97f..3b3af3379 100644 --- a/docs/reference/functions/mod.md +++ b/docs/reference/functions/mod.md @@ -10,7 +10,7 @@ The modulus is defined as: x - y * floor(x / y) -See http://en.wikipedia.org/wiki/Modulo_operation. +See https://en.wikipedia.org/wiki/Modulo_operation. ## Syntax diff --git a/docs/reference/functions/parse.md b/docs/reference/functions/parse.md index 48a0d7bfb..4a8366522 100644 --- a/docs/reference/functions/parse.md +++ b/docs/reference/functions/parse.md @@ -6,7 +6,7 @@ Parse an expression. Returns a node tree, which can be evaluated by invoking node.eval(). Note the evaluating arbitrary expressions may involve security risks, -see [http://mathjs.org/docs/expressions/security.html](http://mathjs.org/docs/expressions/security.html) for more information. +see [https://mathjs.org/docs/expressions/security.html](https://mathjs.org/docs/expressions/security.html) for more information. ## Syntax diff --git a/docs/reference/functions/simplify.md b/docs/reference/functions/simplify.md index 3920854dc..b642af6b6 100644 --- a/docs/reference/functions/simplify.md +++ b/docs/reference/functions/simplify.md @@ -33,7 +33,7 @@ and can be used as a basis to built a set of custom rules. For more details on the theory, see: -- [Strategies for simplifying math expressions (Stackoverflow)](http://stackoverflow.com/questions/7540227/strategies-for-simplifying-math-expressions) +- [Strategies for simplifying math expressions (Stackoverflow)](https://stackoverflow.com/questions/7540227/strategies-for-simplifying-math-expressions) - [Symbolic computation - Simplification (Wikipedia)](https://en.wikipedia.org/wiki/Symbolic_computation#Simplification) An optional `options` argument can be passed as last argument of `simplify`. diff --git a/docs/reference/functions/xgcd.md b/docs/reference/functions/xgcd.md index 8c858cf88..04021b6bb 100644 --- a/docs/reference/functions/xgcd.md +++ b/docs/reference/functions/xgcd.md @@ -3,7 +3,7 @@ # Function xgcd Calculate the extended greatest common divisor for two values. -See http://en.wikipedia.org/wiki/Extended_Euclidean_algorithm. +See https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm. ## Syntax diff --git a/examples/browser/currency_conversion.html b/examples/browser/currency_conversion.html index 835ae53e7..4346b6298 100644 --- a/examples/browser/currency_conversion.html +++ b/examples/browser/currency_conversion.html @@ -33,11 +33,11 @@

Currency conversion with math.js

- This example demonstrates how you can fetch actual currencies from fixer.io and use them in math.js. + This example demonstrates how you can fetch actual currencies from fixer.io and use them in math.js.

- Create a (free) account at fixer.io and fill in your API access key below: + Create a (free) account at fixer.io and fill in your API access key below:

@@ -82,7 +82,7 @@ function fetchAndImportCurrencies (accessKey) { // fetch actual currency conversion rates - return fetch('http://data.fixer.io/api/latest?access_key=' + accessKey) + return fetch('https://data.fixer.io/api/latest?access_key=' + accessKey) .then(function (response) { return response.json() }) diff --git a/examples/browser/pretty_printing_with_mathjax.html b/examples/browser/pretty_printing_with_mathjax.html index 50f890c05..a67bc4704 100644 --- a/examples/browser/pretty_printing_with_mathjax.html +++ b/examples/browser/pretty_printing_with_mathjax.html @@ -4,7 +4,7 @@ math.js | pretty printing with MathJax - +