From e0632b5db451e296e90b39c29721659afbda046c Mon Sep 17 00:00:00 2001 From: Kelly Joseph Price Date: Fri, 8 Mar 2024 10:41:30 -0800 Subject: [PATCH] chore(deps): more security updates --- package-lock.json | 48 ++++++++++++++++++----------------------------- package.json | 5 ++++- 2 files changed, 22 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index 931d77ad0..73850f2b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@readme/emojis": "^5.1.0", - "@readme/syntax-highlighter": "^12.1.3", + "@readme/syntax-highlighter": "^12.1.5", "copy-to-clipboard": "^3.3.3", "emoji-regex": "^10.3.0", "hast-util-sanitize": "^4.0.0", @@ -4670,11 +4670,11 @@ } }, "node_modules/@readme/syntax-highlighter": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@readme/syntax-highlighter/-/syntax-highlighter-12.1.3.tgz", - "integrity": "sha512-HnSse7YTFDIm3bAd+NlqsFSyz/7ac/EH7SYhieazYP0NHs+qTFl4noJ4AJwXmBD6QqC4XLmx0SLryoP4ltNEmg==", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@readme/syntax-highlighter/-/syntax-highlighter-12.1.5.tgz", + "integrity": "sha512-8xYfWNqVcQAu0wyCjteJlbbshHHzTACqpOReCU2047tFCKku5nc38m0XIg6WbRQW/cc35DmQFd67hY90y1zNhg==", "dependencies": { - "codemirror": "5.54.0", + "codemirror": "^5.54.0", "codemirror-graphql": "1.0.2", "prop-types": "^15.7.2", "react-codemirror2": "^7.2.1" @@ -4688,11 +4688,6 @@ "react-dom": "16.x || 17.x" } }, - "node_modules/@readme/syntax-highlighter/node_modules/codemirror": { - "version": "5.54.0", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.54.0.tgz", - "integrity": "sha512-Pgf3surv4zvw+KaW3doUU7pGjF0BPU8/sj7eglWJjzni46U/DDW8pu3nZY0QgQKUcICDXRkq8jZmq0y6KhxM3Q==" - }, "node_modules/@readme/syntax-highlighter/node_modules/codemirror-graphql": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/codemirror-graphql/-/codemirror-graphql-1.0.2.tgz", @@ -8669,8 +8664,7 @@ "node_modules/codemirror": { "version": "5.65.16", "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.16.tgz", - "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg==", - "dev": true + "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg==" }, "node_modules/collapse-white-space": { "version": "1.0.6", @@ -27436,9 +27430,9 @@ } }, "node_modules/trim": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", - "integrity": "sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-1.0.1.tgz", + "integrity": "sha512-3JVP2YVqITUisXblCDq/Bi4P9457G/sdEamInkyvCsjbTcXLXIiG7XCb4kGMFWh6JGXesS3TKxOPtrncN/xe8w==", "deprecated": "Use String.prototype.trim() instead" }, "node_modules/trim-newlines": { @@ -32386,21 +32380,16 @@ } }, "@readme/syntax-highlighter": { - "version": "12.1.3", - "resolved": "https://registry.npmjs.org/@readme/syntax-highlighter/-/syntax-highlighter-12.1.3.tgz", - "integrity": "sha512-HnSse7YTFDIm3bAd+NlqsFSyz/7ac/EH7SYhieazYP0NHs+qTFl4noJ4AJwXmBD6QqC4XLmx0SLryoP4ltNEmg==", + "version": "12.1.5", + "resolved": "https://registry.npmjs.org/@readme/syntax-highlighter/-/syntax-highlighter-12.1.5.tgz", + "integrity": "sha512-8xYfWNqVcQAu0wyCjteJlbbshHHzTACqpOReCU2047tFCKku5nc38m0XIg6WbRQW/cc35DmQFd67hY90y1zNhg==", "requires": { - "codemirror": "5.54.0", + "codemirror": "^5.54.0", "codemirror-graphql": "1.0.2", "prop-types": "^15.7.2", "react-codemirror2": "^7.2.1" }, "dependencies": { - "codemirror": { - "version": "5.54.0", - "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.54.0.tgz", - "integrity": "sha512-Pgf3surv4zvw+KaW3doUU7pGjF0BPU8/sj7eglWJjzni46U/DDW8pu3nZY0QgQKUcICDXRkq8jZmq0y6KhxM3Q==" - }, "codemirror-graphql": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/codemirror-graphql/-/codemirror-graphql-1.0.2.tgz", @@ -35378,8 +35367,7 @@ "codemirror": { "version": "5.65.16", "resolved": "https://registry.npmjs.org/codemirror/-/codemirror-5.65.16.tgz", - "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg==", - "dev": true + "integrity": "sha512-br21LjYmSlVL0vFCPWPfhzUCT34FM/pAdK7rRIZwa0rrtrIdotvP4Oh4GUHsu2E3IrQMCfRkL/fN3ytMNxVQvg==" }, "collapse-white-space": { "version": "1.0.6", @@ -46838,7 +46826,7 @@ "parse-entities": "^2.0.0", "repeat-string": "^1.5.4", "state-toggle": "^1.0.0", - "trim": "0.0.1", + "trim": "^1", "trim-trailing-lines": "^1.0.0", "unherit": "^1.0.4", "unist-util-remove-position": "^2.0.0", @@ -49061,9 +49049,9 @@ "dev": true }, "trim": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz", - "integrity": "sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ==" + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim/-/trim-1.0.1.tgz", + "integrity": "sha512-3JVP2YVqITUisXblCDq/Bi4P9457G/sdEamInkyvCsjbTcXLXIiG7XCb4kGMFWh6JGXesS3TKxOPtrncN/xe8w==" }, "trim-newlines": { "version": "3.0.1", diff --git a/package.json b/package.json index 502e5b983..a1fd17967 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "@readme/emojis": "^5.1.0", - "@readme/syntax-highlighter": "^12.1.3", + "@readme/syntax-highlighter": "^12.1.5", "copy-to-clipboard": "^3.3.3", "emoji-regex": "^10.3.0", "hast-util-sanitize": "^4.0.0", @@ -148,5 +148,8 @@ "upper-case" ] } + }, + "overrides": { + "trim": "^1" } }