From a45a861cacc5a617f3cd17972f482112055789a3 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 3 Sep 2022 01:18:51 +0000 Subject: [PATCH] fix: upgrade metalsmith from 2.4.2 to 2.5.0 Snyk has created this PR to upgrade metalsmith from 2.4.2 to 2.5.0. See this package in npm: https://www.npmjs.com/package/metalsmith See this project in Snyk: https://app.snyk.io/org/rexingq/project/574a8b93-8681-4f9c-9745-6ac17a77ba3b?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 244 ++++++---------------------------------------- package.json | 2 +- 2 files changed, 29 insertions(+), 217 deletions(-) diff --git a/package-lock.json b/package-lock.json index f8efd2c7fb71b..d8503f228fef5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,7 +20,7 @@ "junk": "^3.1.0", "lodash.defaultsdeep": "^4.6.1", "marked": "^4.0.15", - "metalsmith": "^2.4.2", + "metalsmith": "^2.5.0", "metalsmith-collections": "^0.9.0", "metalsmith-feed": "^1.0.0", "metalsmith-layouts": "^2.3.1", @@ -461,6 +461,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -876,6 +877,7 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -971,33 +973,11 @@ "resolved": "https://registry.npmjs.org/co/-/co-3.1.0.tgz", "integrity": "sha1-TqVOpaCJOBUxheFSEMaNkJK8G3g=" }, - "node_modules/co-from-stream": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/co-from-stream/-/co-from-stream-0.0.0.tgz", - "integrity": "sha1-GlzYztdyY5RglPo58kmaYyl7yvk=", - "dependencies": { - "co-read": "0.0.1" - } - }, - "node_modules/co-fs-extra": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/co-fs-extra/-/co-fs-extra-1.2.1.tgz", - "integrity": "sha1-O2rXfPJhRTD2d7HPYmZPW6dWtyI=", - "dependencies": { - "co-from-stream": "~0.0.0", - "fs-extra": "~0.26.5", - "thunkify-wrap": "~1.0.4" - } - }, - "node_modules/co-read": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/co-read/-/co-read-0.0.1.tgz", - "integrity": "sha1-+Bs+uKhmdf7FHj2IOn9WToc8k4k=" - }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "dependencies": { "color-name": "~1.1.4" }, @@ -1008,7 +988,8 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, "node_modules/colord": { "version": "2.9.2", @@ -1336,14 +1317,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "node_modules/enable": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/enable/-/enable-1.3.2.tgz", - "integrity": "sha1-nrpoN9FtCYK1n4fYib91REPVKTE=", - "engines": { - "node": ">= 0.10.0" - } - }, "node_modules/error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -2214,29 +2187,6 @@ "url": "https://www.patreon.com/infusion" } }, - "node_modules/fs-extra": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.26.7.tgz", - "integrity": "sha1-muH92UiXeY7at20JGM9C0MMYT6k=", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0", - "path-is-absolute": "^1.0.0", - "rimraf": "^2.2.8" - } - }, - "node_modules/fs-extra/node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -2526,6 +2476,7 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "engines": { "node": ">=8" } @@ -3198,14 +3149,6 @@ "json5": "lib/cli.js" } }, - "node_modules/jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, "node_modules/jsonist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/jsonist/-/jsonist-2.1.2.tgz", @@ -3253,14 +3196,6 @@ "node": ">=0.10.0" } }, - "node_modules/klaw": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", - "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", - "optionalDependencies": { - "graceful-fs": "^4.1.9" - } - }, "node_modules/kleur": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", @@ -3870,22 +3805,19 @@ } }, "node_modules/metalsmith": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/metalsmith/-/metalsmith-2.4.2.tgz", - "integrity": "sha512-HS/MRADloJS3+O5V/+4f/khBkwtdYUQFWEGqeviLT/7wNgHWknMiIflV99JeYzj0hbw+L0aTb2spPlnWW4/Adg==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/metalsmith/-/metalsmith-2.5.0.tgz", + "integrity": "sha512-tBFpCMq8t/ZeD8qbvyWSLjyW7aO8RJYeFSk8LyclgHYaeMWiSPrMxXc3NORVCJ3iG17aRxuL/+nla58Qq3DBcQ==", + "hasInstallScript": true, "dependencies": { - "chalk": "^4.1.2", - "clone": "^2.1.2", - "co-fs-extra": "^1.2.1", "commander": "^6.2.1", "cross-spawn": "^7.0.3", + "debug": "^4.3.3", "gray-matter": "^4.0.3", "is-utf8": "~0.2.0", - "micromatch": "^4.0.4", + "micromatch": "^4.0.5", "rimraf": "^3.0.2", "stat-mode": "^1.0.0", - "thunkify": "^2.1.2", - "unyield": "0.0.1", "ware": "^1.3.0" }, "bin": { @@ -3893,7 +3825,7 @@ "metalsmith": "bin/metalsmith" }, "engines": { - "node": ">=8.6" + "node": ">=12" } }, "node_modules/metalsmith-collections": { @@ -3967,14 +3899,6 @@ "node": ">=8" } }, - "node_modules/metalsmith/node_modules/clone": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", - "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=", - "engines": { - "node": ">=0.8" - } - }, "node_modules/micromark": { "version": "2.11.4", "resolved": "https://registry.npmjs.org/micromark/-/micromark-2.11.4.tgz", @@ -7456,6 +7380,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -7618,19 +7543,6 @@ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=" }, - "node_modules/thunkify": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/thunkify/-/thunkify-2.1.2.tgz", - "integrity": "sha1-+qDp0jDFGsyVyhOjYawFyn4EVT0=" - }, - "node_modules/thunkify-wrap": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/thunkify-wrap/-/thunkify-wrap-1.0.4.tgz", - "integrity": "sha1-tSvlSN3+/aIOALWMYJZ2K0PdaIA=", - "dependencies": { - "enable": "1" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -8094,14 +8006,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/unyield": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/unyield/-/unyield-0.0.1.tgz", - "integrity": "sha1-FQ5l2kK/d0JEW5WKZOubhdHSsYA=", - "dependencies": { - "co": "~3.1.0" - } - }, "node_modules/uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", @@ -8930,6 +8834,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "requires": { "color-convert": "^2.0.1" } @@ -9197,6 +9102,7 @@ "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "requires": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -9260,33 +9166,11 @@ "resolved": "https://registry.npmjs.org/co/-/co-3.1.0.tgz", "integrity": "sha1-TqVOpaCJOBUxheFSEMaNkJK8G3g=" }, - "co-from-stream": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/co-from-stream/-/co-from-stream-0.0.0.tgz", - "integrity": "sha1-GlzYztdyY5RglPo58kmaYyl7yvk=", - "requires": { - "co-read": "0.0.1" - } - }, - "co-fs-extra": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/co-fs-extra/-/co-fs-extra-1.2.1.tgz", - "integrity": "sha1-O2rXfPJhRTD2d7HPYmZPW6dWtyI=", - "requires": { - "co-from-stream": "~0.0.0", - "fs-extra": "~0.26.5", - "thunkify-wrap": "~1.0.4" - } - }, - "co-read": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/co-read/-/co-read-0.0.1.tgz", - "integrity": "sha1-+Bs+uKhmdf7FHj2IOn9WToc8k4k=" - }, "color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, "requires": { "color-name": "~1.1.4" } @@ -9294,7 +9178,8 @@ "color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true }, "colord": { "version": "2.9.2", @@ -9554,11 +9439,6 @@ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "dev": true }, - "enable": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/enable/-/enable-1.3.2.tgz", - "integrity": "sha1-nrpoN9FtCYK1n4fYib91REPVKTE=" - }, "error-ex": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", @@ -10202,28 +10082,6 @@ "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==" }, - "fs-extra": { - "version": "0.26.7", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.26.7.tgz", - "integrity": "sha1-muH92UiXeY7at20JGM9C0MMYT6k=", - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0", - "path-is-absolute": "^1.0.0", - "rimraf": "^2.2.8" - }, - "dependencies": { - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "requires": { - "glob": "^7.1.3" - } - } - } - }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -10432,7 +10290,8 @@ "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true }, "has-symbols": { "version": "1.0.2", @@ -10889,14 +10748,6 @@ "minimist": "^1.2.0" } }, - "jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", - "requires": { - "graceful-fs": "^4.1.6" - } - }, "jsonist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/jsonist/-/jsonist-2.1.2.tgz", @@ -10935,14 +10786,6 @@ "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==" }, - "klaw": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", - "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", - "requires": { - "graceful-fs": "^4.1.9" - } - }, "kleur": { "version": "4.1.4", "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", @@ -11399,30 +11242,19 @@ "dev": true }, "metalsmith": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/metalsmith/-/metalsmith-2.4.2.tgz", - "integrity": "sha512-HS/MRADloJS3+O5V/+4f/khBkwtdYUQFWEGqeviLT/7wNgHWknMiIflV99JeYzj0hbw+L0aTb2spPlnWW4/Adg==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/metalsmith/-/metalsmith-2.5.0.tgz", + "integrity": "sha512-tBFpCMq8t/ZeD8qbvyWSLjyW7aO8RJYeFSk8LyclgHYaeMWiSPrMxXc3NORVCJ3iG17aRxuL/+nla58Qq3DBcQ==", "requires": { - "chalk": "^4.1.2", - "clone": "^2.1.2", - "co-fs-extra": "^1.2.1", "commander": "^6.2.1", "cross-spawn": "^7.0.3", + "debug": "^4.3.3", "gray-matter": "^4.0.3", "is-utf8": "~0.2.0", - "micromatch": "^4.0.4", + "micromatch": "^4.0.5", "rimraf": "^3.0.2", "stat-mode": "^1.0.0", - "thunkify": "^2.1.2", - "unyield": "0.0.1", "ware": "^1.3.0" - }, - "dependencies": { - "clone": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", - "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=" - } } }, "metalsmith-collections": { @@ -13988,6 +13820,7 @@ "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "requires": { "has-flag": "^4.0.0" } @@ -14131,19 +13964,6 @@ } } }, - "thunkify": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/thunkify/-/thunkify-2.1.2.tgz", - "integrity": "sha1-+qDp0jDFGsyVyhOjYawFyn4EVT0=" - }, - "thunkify-wrap": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/thunkify-wrap/-/thunkify-wrap-1.0.4.tgz", - "integrity": "sha1-tSvlSN3+/aIOALWMYJZ2K0PdaIA=", - "requires": { - "enable": "1" - } - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -14487,14 +14307,6 @@ "unist-util-is": "^5.0.0" } }, - "unyield": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/unyield/-/unyield-0.0.1.tgz", - "integrity": "sha1-FQ5l2kK/d0JEW5WKZOubhdHSsYA=", - "requires": { - "co": "~3.1.0" - } - }, "uri-js": { "version": "4.4.1", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", diff --git a/package.json b/package.json index 9cbfc214f1bc9..bd9a0aedb885f 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "junk": "^3.1.0", "lodash.defaultsdeep": "^4.6.1", "marked": "^4.0.15", - "metalsmith": "^2.4.2", + "metalsmith": "^2.5.0", "metalsmith-collections": "^0.9.0", "metalsmith-feed": "^1.0.0", "metalsmith-layouts": "^2.3.1",