fix: doc viewer and xlsx fixes (#19427) (#20113)

## Description
Updated versions of mammoth and execljs to browser versions. Earlier
versions used were compatible in a node js environment and expected
certain base libraries which were missing in the browser env. Hence
caused errors which prevented the app from loading the base encoded
versions.
This commit is contained in:
Vemparala Surya Vamsi 2023-02-08 15:22:51 +05:30 committed by GitHub
parent 8fb6abfa12
commit af356c4715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 199 additions and 143 deletions

View File

@ -0,0 +1,95 @@
import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
import { encodedWordDoc, encodedXlsxDoc } from "./exampleEncodedDocs";
const ee = ObjectsRegistry.EntityExplorer,
locator = ObjectsRegistry.CommonLocators,
deployMode = ObjectsRegistry.DeployMode,
propPane = ObjectsRegistry.PropertyPane;
describe("DocumentViewer Widget Functionality", () => {
it("1. Add new DocumentViewer and verify in canvas", () => {
ee.DragDropWidgetNVerify("documentviewerwidget", 300, 300);
});
it("2. Modify visibility & Publish app & verify", () => {
ee.NavigateToSwitcher("explorer");
ee.SelectEntityByName("DocumentViewer1", "Widgets");
propPane.ToggleOnOrOff("Visible", "Off");
deployMode.DeployApp();
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"not.exist",
);
deployMode.NavigateBacktoEditor();
});
it("3. Change visibility & Publish app & verify again", () => {
ee.SelectEntityByName("DocumentViewer1", "Widgets");
propPane.ToggleOnOrOff("Visible", "On");
deployMode.DeployApp();
cy.get(locator._widgetInDeployed("documentviewerwidget")).should("exist");
deployMode.NavigateBacktoEditor();
});
it("4. Should show a word document correctly", () => {
ee.SelectEntityByName("DocumentViewer1", "Widgets");
propPane.UpdatePropertyFieldValue("Document Link", encodedWordDoc);
deployMode.DeployApp();
//"Some doc content" is pressent in the encoded word doc
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"contain",
"Some doc content",
);
deployMode.NavigateBacktoEditor();
});
it("5. Should show an errored state when a malformed docx input is provided", () => {
ee.SelectEntityByName("DocumentViewer1", "Widgets");
const someGarbageString = "+dsds";
// previously the document is set as "Some doc content"
// give a corrupted docx string
propPane.UpdatePropertyFieldValue(
"Document Link",
encodedWordDoc + someGarbageString,
);
deployMode.DeployApp();
// now the doc should not contain "Some doc content" after a malformed input is provided
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"not.contain",
"Some doc content",
);
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"contain",
"invalid base64 data",
);
deployMode.NavigateBacktoEditor();
});
it("6. Should show a xlsx document correctly", () => {
ee.SelectEntityByName("DocumentViewer1", "Widgets");
propPane.UpdatePropertyFieldValue("Document Link", encodedXlsxDoc);
deployMode.DeployApp();
//"456" is pressent in the encoded xlsx doc
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"contain",
"456",
);
deployMode.NavigateBacktoEditor();
});
it("7. Should show an errored state when a malformed xlsx input is provided", () => {
ee.SelectEntityByName("DocumentViewer1", "Widgets");
// previously the document contains the number "456"
const someGarbageString = "+dsds";
//give a corrupted xlsx doc string
propPane.UpdatePropertyFieldValue(
"Document Link",
encodedXlsxDoc + someGarbageString,
);
deployMode.DeployApp();
// now the doc should not contain "456" after a malformed input is provided
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"not.contain",
"456",
);
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"contain",
"invalid base64 data",
);
});
});

View File

@ -1,30 +0,0 @@
import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
let ee = ObjectsRegistry.EntityExplorer,
locator = ObjectsRegistry.CommonLocators,
deployMode = ObjectsRegistry.DeployMode,
propPane = ObjectsRegistry.PropertyPane;
describe("DocumentViewer Widget Functionality", () => {
it("1. Add new DocumentViewer and verify in canvas", () => {
ee.DragDropWidgetNVerify("documentviewerwidget", 300, 300);
});
it("2. Modify visibility & Publish app & verify", () => {
ee.NavigateToSwitcher("explorer");
ee.SelectEntityByName("DocumentViewer1", "Widgets");
propPane.ToggleOnOrOff("Visible", "Off");
deployMode.DeployApp();
cy.get(locator._widgetInDeployed("documentviewerwidget")).should(
"not.exist",
);
deployMode.NavigateBacktoEditor();
});
it("3. Change visibility & Publish app & verify again", () => {
ee.SelectEntityByName("DocumentViewer1", "Widgets");
propPane.ToggleOnOrOff("Visible", "On");
deployMode.DeployApp();
cy.get(locator._widgetInDeployed("documentviewerwidget")).should("exist");
});
});

View File

@ -52,7 +52,7 @@
"design-system-old": "npm:@appsmithorg/design-system-old@1.0.48",
"downloadjs": "^1.4.7",
"draft-js": "^0.11.7",
"exceljs-lightweight": "^1.14.0",
"exceljs": "^4.3.0",
"fast-deep-equal": "^3.1.3",
"fast-xml-parser": "^3.17.5",
"fastdom": "^1.0.11",
@ -80,7 +80,7 @@
"lodash-es": "4.17.21",
"loglevel": "^1.7.1",
"lottie-web": "^5.7.4",
"mammoth": "^1.4.19",
"mammoth": "^1.5.1",
"marked": "^4.0.18",
"memoize-one": "^5.2.1",
"micro-memoize": "^4.0.10",

View File

@ -1,5 +1,5 @@
import React, { useEffect, useState } from "react";
import mammoth from "mammoth";
import mammoth from "mammoth/mammoth.browser";
import styled from "styled-components";
import Interweave from "interweave";
@ -24,7 +24,7 @@ export default function DocViewer(props: { blob?: Blob }) {
{ arrayBuffer: buffer },
{ includeEmbeddedStyleMap: true, includeDefaultStyleMap: true },
)
.then((result) => {
.then((result: { value: string }) => {
setState({ isLoading: false, isError: false });
setHtmlContent(result.value);
})

View File

@ -1,6 +1,6 @@
import React, { useEffect, useState, useRef, useCallback } from "react";
import styled from "styled-components";
import Excel from "exceljs-lightweight";
import Excel from "exceljs";
import { useTable, Column } from "react-table";
import _ from "lodash";

View File

@ -71,7 +71,7 @@ class DocumentViewerWidget extends BaseWidget<
children: [
{
helpText:
"Document url for preview. for URL, supported extensions are txt, pdf, docx, ppt, pptx, xlsx. ppt is currently not supported by base64.",
"Preview document URL supports txt, pdf, docx, ppt, pptx, xlsx file formats, but base64 ppt/pptx are not supported.",
propertyName: "docUrl",
label: "Document Link",
controlType: "INPUT_TEXT",

1
app/client/typings/mammoth/index.d.ts vendored Normal file
View File

@ -0,0 +1 @@
declare module "mammoth/mammoth.browser";

View File

@ -4359,18 +4359,18 @@ archiver-utils@^2.1.0:
normalize-path "^3.0.0"
readable-stream "^2.0.0"
archiver@^3.0.0:
version "3.1.1"
resolved "https://registry.npmjs.org/archiver/-/archiver-3.1.1.tgz"
integrity sha512-5Hxxcig7gw5Jod/8Gq0OneVgLYET+oNHcxgWItq4TbhOzRLKNAFUb9edAftiMKXvXfCB0vbGrJdZDNq0dWMsxg==
archiver@^5.0.0:
version "5.3.1"
resolved "https://registry.yarnpkg.com/archiver/-/archiver-5.3.1.tgz#21e92811d6f09ecfce649fbefefe8c79e57cbbb6"
integrity sha512-8KyabkmbYrH+9ibcTScQ1xCJC/CGcugdVIwB+53f5sZziXgwUh3iXlAlANMxcZyDEfTHMe6+Z5FofV8nopXP7w==
dependencies:
archiver-utils "^2.1.0"
async "^2.6.3"
async "^3.2.3"
buffer-crc32 "^0.2.1"
glob "^7.1.4"
readable-stream "^3.4.0"
tar-stream "^2.1.0"
zip-stream "^2.1.2"
readable-stream "^3.6.0"
readdir-glob "^1.0.0"
tar-stream "^2.2.0"
zip-stream "^4.1.0"
are-we-there-yet@~1.1.2:
version "1.1.7"
@ -4496,13 +4496,6 @@ async-limiter@~1.0.0:
version "1.0.1"
resolved "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz"
async@^2.6.3:
version "2.6.4"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==
dependencies:
lodash "^4.17.14"
async@^3.2.0, async@^3.2.3:
version "3.2.3"
resolved "https://registry.npmjs.org/async/-/async-3.2.3.tgz"
@ -4947,7 +4940,7 @@ buffer-indexof-polyfill@~1.0.0:
resolved "https://registry.npmjs.org/buffer-indexof-polyfill/-/buffer-indexof-polyfill-1.0.2.tgz"
integrity sha512-I7wzHwA3t1/lwXQh+A5PbNvJxgfo5r3xulgpYDB5zckTu/Z9oUK9biouBKQUjEqzaz3HnAT6TYoovmE+GqSf7A==
buffer@^5.1.0, buffer@^5.5.0, buffer@^5.6.0:
buffer@^5.5.0, buffer@^5.6.0:
version "5.7.1"
resolved "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz"
integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
@ -5455,15 +5448,15 @@ commondir@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz"
compress-commons@^2.1.1:
version "2.1.1"
resolved "https://registry.npmjs.org/compress-commons/-/compress-commons-2.1.1.tgz"
integrity sha512-eVw6n7CnEMFzc3duyFVrQEuY1BlHR3rYsSztyG32ibGMW722i3C6IizEGMFmfMU+A+fALvBIwxN3czffTcdA+Q==
compress-commons@^4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/compress-commons/-/compress-commons-4.1.1.tgz#df2a09a7ed17447642bad10a85cc9a19e5c42a7d"
integrity sha512-QLdDLCKNV2dtoTorqgxngQCMA+gWXkM/Nwu7FpeBhk/RdkzimqC3jueb/FDmaZeXh+uby1jkBqE3xArsLBE5wQ==
dependencies:
buffer-crc32 "^0.2.13"
crc32-stream "^3.0.1"
crc32-stream "^4.0.2"
normalize-path "^3.0.0"
readable-stream "^2.3.6"
readable-stream "^3.6.0"
compressible@~2.0.16:
version "2.0.18"
@ -5688,20 +5681,18 @@ craco-alias@^2.1.1:
version "2.1.1"
resolved "https://registry.npmjs.org/craco-alias/-/craco-alias-2.1.1.tgz"
crc32-stream@^3.0.1:
version "3.0.1"
resolved "https://registry.npmjs.org/crc32-stream/-/crc32-stream-3.0.1.tgz"
integrity sha512-mctvpXlbzsvK+6z8kJwSJ5crm7yBwrQMTybJzMw1O4lLGJqjlDCXY2Zw7KheiA6XBEcBmfLx1D88mjRGVJtY9w==
dependencies:
crc "^3.4.4"
readable-stream "^3.4.0"
crc-32@^1.2.0:
version "1.2.2"
resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff"
integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==
crc@^3.4.4:
version "3.8.0"
resolved "https://registry.npmjs.org/crc/-/crc-3.8.0.tgz"
integrity sha512-iX3mfgcTMIq3ZKLIsVFAbv7+Mc10kxabAGQb8HvjA1o3T1PIYprbakQ65d3I+2HGHt6nSKkM9PYjgoJO2KcFBQ==
crc32-stream@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/crc32-stream/-/crc32-stream-4.0.2.tgz#c922ad22b38395abe9d3870f02fa8134ed709007"
integrity sha512-DxFZ/Hk473b/muq1VJ///PMNLj0ZMnzye9thBpmjpJKCc5eMgB95aK8zCGrGfQ90cWo561Te6HK9D+j4KPdM6w==
dependencies:
buffer "^5.1.0"
crc-32 "^1.2.0"
readable-stream "^3.4.0"
create-react-context@^0.3.0:
version "0.3.0"
@ -6119,10 +6110,10 @@ dayjs@^1.10.4, dayjs@^1.10.6:
version "1.10.6"
resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.10.6.tgz"
dayjs@^1.8.15:
version "1.10.7"
resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.10.7.tgz"
integrity sha512-P6twpd70BcPK34K26uJ1KT3wlhpuOAPoMwJzpsIWUxHZ7wpmbdZL/hQqBDfz7hGurYSa5PhzdhDHtt319hL3ig==
dayjs@^1.8.34:
version "1.11.7"
resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2"
integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ==
debug@2.6.9, debug@^2.2.0, debug@^2.6.0, debug@^2.6.9:
version "2.6.9"
@ -6773,11 +6764,6 @@ es6-error@^4.1.1:
version "4.1.1"
resolved "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz"
es6-promise@^3.0.2:
version "3.3.1"
resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz"
integrity sha1-oIzd6EzNvzTQJ6FFG8kdS80ophM=
escalade@^3.1.1:
version "3.1.1"
resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz"
@ -7189,19 +7175,20 @@ events@^3.2.0, events@^3.3.0:
version "3.3.0"
resolved "https://registry.npmjs.org/events/-/events-3.3.0.tgz"
exceljs-lightweight@^1.14.0:
version "1.14.0"
resolved "https://registry.npmjs.org/exceljs-lightweight/-/exceljs-lightweight-1.14.0.tgz"
integrity sha512-piaCFqJVC4d/8iaiH4RhGmRHDMf5cDDe4DZT8dwoIb2fxH0sYzQ4NsdgyTZ713A9rt2I3XM2G20m+Or37vmfxA==
exceljs@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/exceljs/-/exceljs-4.3.0.tgz#939bc0d4c59c200acadb7051be34d25c109853c4"
integrity sha512-hTAeo5b5TPvf8Z02I2sKIT4kSfCnOO2bCxYX8ABqODCdAjppI3gI9VYiGCQQYVcBaBSKlFDMKlAQRqC+kV9O8w==
dependencies:
archiver "^3.0.0"
dayjs "^1.8.15"
fast-csv "^2.4.1"
jszip "^3.1.5"
promish "^5.1.1"
sax "^1.2.4"
tmp "^0.1.0"
unzipper "^0.9.12"
archiver "^5.0.0"
dayjs "^1.8.34"
fast-csv "^4.3.1"
jszip "^3.5.0"
readable-stream "^3.6.0"
saxes "^5.0.1"
tmp "^0.2.0"
unzipper "^0.10.11"
uuid "^8.3.0"
execa@4.1.0:
version "4.1.0"
@ -7368,7 +7355,7 @@ factory.ts@^0.5.1:
clone-deep "^4.0.1"
source-map-support "^0.5.9"
fast-csv@4.3.6, fast-csv@^2.4.1:
fast-csv@4.3.6, fast-csv@^4.3.1:
version "4.3.6"
resolved "https://registry.yarnpkg.com/fast-csv/-/fast-csv-4.3.6.tgz#70349bdd8fe4d66b1130d8c91820b64a21bc4a63"
integrity sha512-2RNSpuwwsJGP0frGsOmTb9oUF+VkFSM4SyLTDgwf2ciHWTarN0lQTC+F2f/t5J9QjW+c65VFIAAu85GsvMIusw==
@ -8116,16 +8103,16 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0,
version "4.2.4"
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz"
graceful-fs@^4.2.2, graceful-fs@^4.2.9:
version "4.2.10"
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
graceful-fs@^4.2.6:
version "4.2.8"
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz"
integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==
graceful-fs@^4.2.9:
version "4.2.10"
resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz"
integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
graphql-language-service@^5.0.6:
version "5.0.6"
resolved "https://registry.yarnpkg.com/graphql-language-service/-/graphql-language-service-5.0.6.tgz#7fd1e6479e5c3074b070c760fa961d9ad1ed7c72"
@ -9812,7 +9799,7 @@ jsx-ast-utils@^3.2.1:
array-includes "^3.1.4"
object.assign "^4.1.2"
jszip@^3.1.3, jszip@^3.1.5, jszip@^3.7.1:
jszip@^3.1.3, jszip@^3.5.0, jszip@^3.7.1:
version "3.10.1"
resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.10.1.tgz#34aee70eb18ea1faec2f589208a157d1feb091c2"
integrity sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==
@ -10167,7 +10154,7 @@ lodash.uniq@^4.5.0:
version "4.5.0"
resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz"
lodash@4.x, lodash@^4, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0, lodash@~4.17.21:
lodash@4.x, lodash@^4, lodash@^4.17.11, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.7.0, lodash@~4.17.21:
version "4.17.21"
resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz"
@ -10292,10 +10279,10 @@ makeerror@1.0.x:
dependencies:
tmpl "1.0.x"
mammoth@^1.4.19:
version "1.4.19"
resolved "https://registry.npmjs.org/mammoth/-/mammoth-1.4.19.tgz"
integrity sha512-VgqsTvBeA1JrNDYMLp+QX5LQPkVPOgl+TKCDklRBedb9Kuv2i7jT+Tgwst8k6mqzH3AchuViiHmBd875Msfivg==
mammoth@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/mammoth/-/mammoth-1.5.1.tgz#ef979dfc9ea411e5f2841a989f5ba70e115f0536"
integrity sha512-7ZioZBf/1HjYrm1qZJOO+DD+rYxLvwrHS+HVOwW89hwIp+r6ZqJ/Eq2rXSS+8ezZ3/DuW6FUUp2Dfz6e7B2pBQ==
dependencies:
argparse "~1.0.3"
bluebird "~3.4.0"
@ -10486,7 +10473,7 @@ minimalistic-assert@^1.0.0:
version "1.0.1"
resolved "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz"
minimatch@3.0.4, minimatch@4.2.1, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.1.2, minimatch@^5.0.0, minimatch@^5.0.1, minimatch@~3.0.2:
minimatch@3.0.4, minimatch@4.2.1, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.1.2, minimatch@^5.0.0, minimatch@^5.0.1, minimatch@^5.1.0, minimatch@~3.0.2:
version "5.1.0"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7"
integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==
@ -12129,13 +12116,6 @@ promise@^8.0.3, promise@^8.1.0:
dependencies:
asap "~2.0.6"
promish@^5.1.1:
version "5.1.1"
resolved "https://registry.npmjs.org/promish/-/promish-5.1.1.tgz"
integrity sha512-37xEzvSas6JIYI/BcKh5TwhaqWepI44u/hC+tQStkX1sxMf+L756beESPgSWirxRCPqtXHzosoNzpjLnTnP8FA==
dependencies:
es6-promise "^3.0.2"
prompts@^2.0.1:
version "2.4.0"
resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.0.tgz"
@ -13039,7 +13019,7 @@ readable-stream@1.1:
isarray "0.0.1"
string_decoder "~0.10.x"
readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.3.6, readable-stream@~2.3.6:
readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@~2.3.6:
version "2.3.7"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
@ -13052,15 +13032,22 @@ readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable
string_decoder "~1.1.1"
util-deprecate "~1.0.1"
readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0:
readable-stream@^3.0.6, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0:
version "3.6.0"
resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
dependencies:
inherits "^2.0.3"
string_decoder "^1.1.1"
util-deprecate "^1.0.1"
readdir-glob@^1.0.0:
version "1.1.2"
resolved "https://registry.yarnpkg.com/readdir-glob/-/readdir-glob-1.1.2.tgz#b185789b8e6a43491635b6953295c5c5e3fd224c"
integrity sha512-6RLVvwJtVwEDfPdn6X6Ille4/lxGl0ATOY4FN/B9nxQcgOazvvI0nodiD19ScKq0PvA/29VpaOQML36o5IzZWA==
dependencies:
minimatch "^5.1.0"
readdirp@~3.6.0:
version "3.6.0"
resolved "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz"
@ -13519,16 +13506,16 @@ sass-loader@^12.3.0:
klona "^2.0.4"
neo-async "^2.6.2"
sax@^1.2.4, sax@~1.2.4:
version "1.2.4"
resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
sax@~1.1.1:
version "1.1.6"
resolved "https://registry.npmjs.org/sax/-/sax-1.1.6.tgz"
integrity sha1-XWFr6KXmB9VOEUr65Vt+ry/MMkA=
sax@~1.2.4:
version "1.2.4"
resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
saxes@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz"
@ -14410,9 +14397,9 @@ tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0:
resolved "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz"
integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
tar-stream@^2.1.0:
tar-stream@^2.2.0:
version "2.2.0"
resolved "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz"
resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287"
integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==
dependencies:
bl "^4.0.3"
@ -14551,16 +14538,10 @@ tmp@^0.0.33:
dependencies:
os-tmpdir "~1.0.2"
tmp@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz"
integrity sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw==
dependencies:
rimraf "^2.6.3"
tmp@~0.2.1:
tmp@^0.2.0, tmp@~0.2.1:
version "0.2.1"
resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz"
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"
integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==
dependencies:
rimraf "^3.0.0"
@ -14968,10 +14949,10 @@ untildify@^4.0.0:
version "4.0.0"
resolved "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz"
unzipper@^0.9.12:
version "0.9.15"
resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.9.15.tgz#97d99203dad17698ee39882483c14e4845c7549c"
integrity sha512-2aaUvO4RAeHDvOCuEtth7jrHFaCKTSXPqUkXwADaLBzGbgZGzUDccoEdJ5lW+3RmfpOZYNx0Rw6F6PUzM6caIA==
unzipper@^0.10.11:
version "0.10.11"
resolved "https://registry.yarnpkg.com/unzipper/-/unzipper-0.10.11.tgz#0b4991446472cbdb92ee7403909f26c2419c782e"
integrity sha512-+BrAq2oFqWod5IESRjL3S8baohbevGcVA+teAIOYWM3pDVdseogqbzhhvvmiyQrUNKFUnDMtELW3X8ykbyDCJw==
dependencies:
big-integer "^1.6.17"
binary "~0.3.0"
@ -14979,6 +14960,7 @@ unzipper@^0.9.12:
buffer-indexof-polyfill "~1.0.0"
duplexer2 "~0.1.4"
fstream "^1.0.12"
graceful-fs "^4.2.2"
listenercount "~1.0.1"
readable-stream "~2.3.6"
setimmediate "~1.0.4"
@ -15058,9 +15040,10 @@ uuid@^3.2.1:
version "3.4.0"
resolved "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz"
uuid@^8.3.2:
uuid@^8.3.0, uuid@^8.3.2:
version "8.3.2"
resolved "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz"
resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2"
integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==
v8-compile-cache-lib@^3.0.1:
version "3.0.1"
@ -15818,14 +15801,14 @@ yn@3.1.1:
resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"
integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==
zip-stream@^2.1.2:
version "2.1.3"
resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-2.1.3.tgz#26cc4bdb93641a8590dd07112e1f77af1758865b"
integrity sha512-EkXc2JGcKhO5N5aZ7TmuNo45budRaFGHOmz24wtJR7znbNqDPmdZtUauKX6et8KAVseAMBOyWJqEpXcHTBsh7Q==
zip-stream@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/zip-stream/-/zip-stream-4.1.0.tgz#51dd326571544e36aa3f756430b313576dc8fc79"
integrity sha512-zshzwQW7gG7hjpBlgeQP9RuyPGNxvJdzR8SUM3QhxCnLjWN2E7j3dOvpeDcQoETfHx0urRS7EtmVToql7YpU4A==
dependencies:
archiver-utils "^2.1.0"
compress-commons "^2.1.1"
readable-stream "^3.4.0"
compress-commons "^4.1.0"
readable-stream "^3.6.0"
zipcelx@^1.6.2:
version "1.6.2"