diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 9dce7e980f..beebf6bc82 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -17276,9 +17276,9 @@ ] }, "node_modules/jsonschema": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.1.1.tgz", - "integrity": "sha1-PO3o4+QR03eHLu+8n98mODy8Ptk=", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.4.1.tgz", + "integrity": "sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==", "engines": { "node": "*" } @@ -18681,7 +18681,6 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", - "dev": true, "bin": { "mustache": "bin/mustache" } @@ -24801,12 +24800,12 @@ "jest-diff": "27.0.6", "js-yaml": "4.1.0", "jsonfile": "4.0.0", - "jsonschema": "1.1.1", + "jsonschema": "1.4.1", "lodash": "4.17.21", "lodash-deep": "2.0.0", "log4js": "6.4.6", "markdown-it": "12.3.2", - "mustache": "2.3.0", + "mustache": "4.2.0", "npm-package-arg": "9.1.0", "opener": "1.5.2", "pacote": "11.1.4", @@ -24989,17 +24988,6 @@ "node": ">=12" } }, - "packages/imperative/node_modules/mustache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.0.tgz", - "integrity": "sha512-IgZ/cCHtDG1ft0vdDV9wrlNz20SvbUu2ECoDF6dhk2ZtedLNy1Kehy4oFlzmHPxcUQmVZuXYS2j+d0NkaEjTXQ==", - "bin": { - "mustache": "bin/mustache" - }, - "engines": { - "npm": ">=1.4.0" - } - }, "packages/imperative/node_modules/npm-package-arg": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.0.tgz", @@ -32085,12 +32073,12 @@ "jest-diff": "27.0.6", "js-yaml": "4.1.0", "jsonfile": "4.0.0", - "jsonschema": "1.1.1", + "jsonschema": "1.4.1", "lodash": "4.17.21", "lodash-deep": "2.0.0", "log4js": "6.4.6", "markdown-it": "12.3.2", - "mustache": "2.3.0", + "mustache": "4.2.0", "npm-package-arg": "9.1.0", "opener": "1.5.2", "pacote": "11.1.4", @@ -32213,11 +32201,6 @@ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==" }, - "mustache": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-2.3.0.tgz", - "integrity": "sha512-IgZ/cCHtDG1ft0vdDV9wrlNz20SvbUu2ECoDF6dhk2ZtedLNy1Kehy4oFlzmHPxcUQmVZuXYS2j+d0NkaEjTXQ==" - }, "npm-package-arg": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.0.tgz", @@ -39075,9 +39058,9 @@ "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=" }, "jsonschema": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.1.1.tgz", - "integrity": "sha1-PO3o4+QR03eHLu+8n98mODy8Ptk=" + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsonschema/-/jsonschema-1.4.1.tgz", + "integrity": "sha512-S6cATIPVv1z0IlxdN+zUk5EPjkGCdnhN4wVSBlvoUO1tOLJootbo9CquNJmbIh4yikWHiUedhRYrNPn1arpEmQ==" }, "JSONStream": { "version": "1.3.5", @@ -40165,8 +40148,7 @@ "mustache": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", - "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==", - "dev": true + "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==" }, "mute-stream": { "version": "0.0.8", diff --git a/packages/imperative/CHANGELOG.md b/packages/imperative/CHANGELOG.md index eb6da797bb..0a37b378d7 100644 --- a/packages/imperative/CHANGELOG.md +++ b/packages/imperative/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the Imperative package will be documented in this file. +## Recent Changes + +- BugFix: Updated `mustache` and `jsonschema` dependencies for technical currency. + ## `5.21.0` - Enhancement: Hid the progress bar if `CI` environment variable is set, or if `FORCE_COLOR` environment variable is set to `0`. [#1845](https://github.com/zowe/zowe-cli/issues/1845) diff --git a/packages/imperative/package.json b/packages/imperative/package.json index 0690ec6e56..5558fb00ab 100644 --- a/packages/imperative/package.json +++ b/packages/imperative/package.json @@ -59,12 +59,12 @@ "jest-diff": "27.0.6", "js-yaml": "4.1.0", "jsonfile": "4.0.0", - "jsonschema": "1.1.1", + "jsonschema": "1.4.1", "lodash": "4.17.21", "lodash-deep": "2.0.0", "log4js": "6.4.6", "markdown-it": "12.3.2", - "mustache": "2.3.0", + "mustache": "4.2.0", "npm-package-arg": "9.1.0", "opener": "1.5.2", "pacote": "11.1.4", diff --git a/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.save.unit.test.ts.snap b/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.save.unit.test.ts.snap index bdd9d9b307..950e4aadfa 100644 --- a/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.save.unit.test.ts.snap +++ b/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.save.unit.test.ts.snap @@ -61,7 +61,7 @@ exports[`Basic Profile Manager Save should detect that the dependencies are pres exports[`Basic Profile Manager Save should fail a save request if a profile has more properties than defined on the schema 1`] = ` "Errors located in profile \\"tasty_apple\\" of type \\"apple\\": -profile additionalProperty \\"seedless\\" exists in instance when not allowed +profile is not allowed to have the additional property \\"seedless\\" " `; diff --git a/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.validate.unit.test.ts.snap b/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.validate.unit.test.ts.snap index 5d2a6372ff..0b4000e40e 100644 --- a/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.validate.unit.test.ts.snap +++ b/packages/imperative/src/profiles/__tests__/__snapshots__/BasicProfileManager.validate.unit.test.ts.snap @@ -35,7 +35,7 @@ exports[`Basic Profile Manager Validate should detect undefined parms 1`] = `"Ex exports[`Basic Profile Manager Validate should fail a save request if a profile has more properties than defined on the schema 1`] = ` "Errors located in profile \\"good_apple\\" of type \\"apple\\": -profile additionalProperty \\"seedless\\" exists in instance when not allowed +profile is not allowed to have the additional property \\"seedless\\" " `;